diff options
author | RedMatrix <info@friendica.com> | 2014-04-12 07:20:24 +1000 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2014-04-12 07:20:24 +1000 |
commit | aa1f5ce7535d4cf17dbdafb4b780a538f35ef05f (patch) | |
tree | f56796a4410464c7f4211e2c4d5260a44c944ae1 /view/tpl/acl_selector.tpl | |
parent | 0a871c3f14fb326efa033d89a8e413ad693c1341 (diff) | |
parent | 3197ccbf5edf51eab49623c7c21e63af7de7f127 (diff) | |
download | volse-hubzilla-aa1f5ce7535d4cf17dbdafb4b780a538f35ef05f.tar.gz volse-hubzilla-aa1f5ce7535d4cf17dbdafb4b780a538f35ef05f.tar.bz2 volse-hubzilla-aa1f5ce7535d4cf17dbdafb4b780a538f35ef05f.zip |
Merge pull request #404 from git-marijus/master
bootstrapify aclselector
Diffstat (limited to 'view/tpl/acl_selector.tpl')
-rwxr-xr-x | view/tpl/acl_selector.tpl | 46 |
1 files changed, 31 insertions, 15 deletions
diff --git a/view/tpl/acl_selector.tpl b/view/tpl/acl_selector.tpl index d869562e2..c98350843 100755 --- a/view/tpl/acl_selector.tpl +++ b/view/tpl/acl_selector.tpl @@ -1,18 +1,34 @@ -<div id="acl-wrapper"> - <input id="acl-search"> - <a href="#" id="acl-showall">{{$showall}}</a> - <div id="acl-list"> - <div id="acl-list-content"> - </div> - </div> - <span id="acl-fields"></span> -</div> - -<div class="acl-list-item" rel="acl-template" style="display:none"> - <img src="{0}"><p>{1}</p> - <a href="#" class='acl-button-show'></a> - <a href="#" class='acl-button-hide'></a> -</div> +<div class="modal" id="aclModal"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> + <h4 class="modal-title">{{$aclModalTitle}}</h4> + </div> + <div class="modal-body"> + <div id="acl-wrapper"> + <button id="acl-showall" class="btn btn-block btn-default"><i class="icon-globe"></i> {{$showall}}</button> + <input type="text" id="acl-search" placeholder=""> + <div id="acl-list"> + <div id="acl-list-content"></div> + </div> + <span id="acl-fields"></span> + </div> + <div class="acl-list-item" rel="acl-template" style="display:none"> + <img src="{0}"><p>{1}</p> + <button class="acl-button-hide btn btn-xs btn-default"><i class="icon-remove"></i> {{$hide}}</button> + <button class="acl-button-show btn btn-xs btn-default"><i class="icon-ok"></i> {{$show}}</button> + </div> + {{if $jotnets}} + {{$jotnets}} + {{/if}} + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">{{$aclModalDismiss}}</button> + </div> + </div><!-- /.modal-content --> + </div><!-- /.modal-dialog --> +</div><!-- /.modal --> <script> $(document).ready(function() { |