diff options
author | marijus <mario@mariovavti.com> | 2014-04-11 16:06:39 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-04-11 16:06:39 +0200 |
commit | 3197ccbf5edf51eab49623c7c21e63af7de7f127 (patch) | |
tree | a5b12e724e84e4329d42273dca3ab69f971ece16 /view/tpl/jot.tpl | |
parent | 93a56db3913b8023582fe4824b266988aa5a96d8 (diff) | |
download | volse-hubzilla-3197ccbf5edf51eab49623c7c21e63af7de7f127.tar.gz volse-hubzilla-3197ccbf5edf51eab49623c7c21e63af7de7f127.tar.bz2 volse-hubzilla-3197ccbf5edf51eab49623c7c21e63af7de7f127.zip |
bootstrapify aclselector
Diffstat (limited to 'view/tpl/jot.tpl')
-rwxr-xr-x | view/tpl/jot.tpl | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index e1b8dc906..c4fdba0f5 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -11,6 +11,7 @@ <input type="hidden" name="post_id" value="{{$post_id}}" /> <input type="hidden" name="webpage" value="{{$webpage}}" /> <input type="hidden" name="preview" id="jot-preview" value="0" /> + {{if $showacl}}{{$acl}}{{/if}} {{$mimeselect}} {{$layoutselect}} {{if $id_select}} @@ -75,7 +76,9 @@ </div> <div id="profile-jot-submit-right" class="btn-group pull-right"> {{if $showacl}} - <a href="#profile-jot-acl-wrapper" class="btn btn-default btn-sm jot-icons icon-{{$lockstate}}" id="jot-perms-icon" title="{{$permset}}"></a>{{$bang}} + <button class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" title="{{$permset}}" onclick="return false;"> + <i id="jot-perms-icon" class="icon-{{$lockstate}} jot-icons">{{$bang}}</i> + </button> {{/if}} {{if $preview}} <button class="btn btn-default btn-sm" onclick="preview_post();return false;" title="{{$preview}}"> @@ -88,13 +91,6 @@ <div id="profile-jot-plugin-wrapper"> {{$jotplugins}} </div> - <div style="display: none;"> - <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;"> - {{$acl}} - <hr style="clear:both"/> - {{$jotnets}} - </div> - </div> </div> <div id="profile-jot-text-loading"></div> <div id="profile-jot-end" class="clear"></div> |