diff options
author | redmatrix <git@macgirvin.com> | 2016-05-05 06:29:30 +1000 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-05 06:29:30 +1000 |
commit | 8c9a773a90fc331f0b4d6ce44119abe1278fd8ea (patch) | |
tree | 4ab314c62f98317271d0351fac96f32f9029f499 /view/tpl | |
parent | 9fe33bb67df2f9cea25e3815ddfe503dfabb3fd6 (diff) | |
parent | e1e56936c971bee54f58664df3aa58796a71ead4 (diff) | |
download | volse-hubzilla-8c9a773a90fc331f0b4d6ce44119abe1278fd8ea.tar.gz volse-hubzilla-8c9a773a90fc331f0b4d6ce44119abe1278fd8ea.tar.bz2 volse-hubzilla-8c9a773a90fc331f0b4d6ce44119abe1278fd8ea.zip |
Merge pull request #366 from Treer/permissions
Refining the Permission settings dialog
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/acl_selector.tpl | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/view/tpl/acl_selector.tpl b/view/tpl/acl_selector.tpl index e57fdba12..a3fe73d0c 100755 --- a/view/tpl/acl_selector.tpl +++ b/view/tpl/acl_selector.tpl @@ -3,9 +3,15 @@ <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> + {{if $helpUrl}} + <a type="button" target="hubzilla-help" href="{{$helpUrl}}" class="contextual-help-tool" title="Help and documentation"><i class="fa fa-question"></i></a> + {{/if}} + <h4 class="modal-title"><i id="dialog-perms-icon" class="fa fa-fw"></i> {{$aclModalTitle}}</h4> </div> <div class="modal-body"> + {{if $aclModalDesc}} + <div id="acl-dialog-description">{{$aclModalDesc}}</div> + {{/if}} {{if $jotnets}} <div class="jotnets-wrapper" role="tab" id="jotnets-wrapper"> <a data-toggle="collapse" class="btn btn-block btn-default" href="#jotnets-collapse" aria-expanded="false" aria-controls="jotnets-collapse">{{$jnetModalTitle}} <span class="caret"></span></a> @@ -16,11 +22,24 @@ </div> {{/if}} <div id="acl-wrapper"> - <button id="acl-showall" class="btn btn-block btn-default"><i class="fa fa-globe"></i> {{$showall}}</button> - <input type="text" id="acl-search" placeholder=""> - <div id="acl-list"> - <div id="acl-list-content"></div> + <div id="acl-radiowrapper-showall" class="radio"> + <label> + <input id="acl-showall" type="radio" name="optionsRadios" value="option1" checked> + <i class="fa fa-globe"></i><span id=acl-showall-caption>{{$showall}}</span> + </label> </div> + <div id="acl-radiowrapper-showlimited" class="radio"> + <label> + <input id="acl-showlimited" type="radio" name="optionsRadios" style="readonly" value="option2"> + <span id=acl-showlimited-caption>{{$showlimited}}</span> + </label> + <div id="acl-list"> + <input type="text" id="acl-search" placeholder=" {{$search}}"> + <div id=acl-showlimited-description>{{$showlimitedDesc}}</div> + <div id="acl-list-content"></div> + </div> + </div> + <span id="acl-fields"></span> </div> |