diff options
author | Simon Rettberg | 2018-02-12 17:18:45 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-02-12 17:18:45 +0100 |
commit | af5c4258439341fd2153a951fb871269bd754e58 (patch) | |
tree | b7d7c8633caa5dc28a93e3c2daf47a536112cdf8 /modules-available/permissionmanager/templates/rolestable.html | |
parent | [default.css] Fix panel heading bg-img being applied for all panel styles (diff) | |
download | slx-admin-af5c4258439341fd2153a951fb871269bd754e58.tar.gz slx-admin-af5c4258439341fd2153a951fb871269bd754e58.tar.xz slx-admin-af5c4258439341fd2153a951fb871269bd754e58.zip |
[permissionmanager] Tweak style, fix role filtering (and make it AND), minor cleanups
Diffstat (limited to 'modules-available/permissionmanager/templates/rolestable.html')
-rw-r--r-- | modules-available/permissionmanager/templates/rolestable.html | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/modules-available/permissionmanager/templates/rolestable.html b/modules-available/permissionmanager/templates/rolestable.html index b121a9e0..944ab3ae 100644 --- a/modules-available/permissionmanager/templates/rolestable.html +++ b/modules-available/permissionmanager/templates/rolestable.html @@ -1,15 +1,8 @@ <form method="post" action="?do=permissionmanager"> <input type="hidden" name="token" value="{{token}}"> - <div class="row"> - <div class="col-md-4"> - </div> - <div class="col-md-4"> - <input type="text" class="form-control" id="roleNameSearchField" onkeyup="searchFieldFunction()" placeholder="{{lang_searchPlaceholder}}"> - </div> - <div class="col-md-4 text-right"> - <a href="?do=permissionmanager&show=roleEditor" class="btn btn-success"><span class="glyphicon glyphicon-plus"></span> {{lang_newRole}}</a> - </div> + <div> + <input type="text" class="form-control" id="roleNameSearchField" onkeyup="searchFieldFunction()" placeholder="{{lang_searchPlaceholder}}"> </div> <div class="row"> @@ -18,8 +11,8 @@ <thead> <tr> <th data-sort="string">{{lang_roles}}</th> - <th class="text-center">{{lang_edit}}</th> - <th class="text-center">{{lang_delete}}</th> + <th class="text-center slx-smallcol">{{lang_edit}}</th> + <th class="text-center slx-smallcol">{{lang_delete}}</th> </tr> </thead> @@ -40,7 +33,6 @@ </div> </div> - <!-- Modals --> <div class ="modal fade" id="deleteModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> @@ -63,6 +55,10 @@ </form> +<div class="text-right"> + <a href="?do=permissionmanager&show=roleEditor" class="btn btn-success"><span class="glyphicon glyphicon-plus"></span> {{lang_newRole}}</a> +</div> + <script> function deleteRole($roleid) { $(".modal-footer #deleteId").val($roleid); |