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/locationstable.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/locationstable.html')
-rw-r--r-- | modules-available/permissionmanager/templates/locationstable.html | 56 |
1 files changed, 20 insertions, 36 deletions
diff --git a/modules-available/permissionmanager/templates/locationstable.html b/modules-available/permissionmanager/templates/locationstable.html index 153258fe..35058387 100644 --- a/modules-available/permissionmanager/templates/locationstable.html +++ b/modules-available/permissionmanager/templates/locationstable.html @@ -1,37 +1,21 @@ -<div class="row"> - <div class="col-md-4"></div> - <div class="col-md-4"> - <select multiple name="roles[]" id="select-role"> - <option value>{{lang_selectizePlaceholder}}</option> - {{#allroles}} - <option value="{{roleid}}">{{rolename}}</option> - {{/allroles}} - </select> - </div> -</div> +<table id="locationsTable" class="table table-condensed table-hover dataTable"> + <thead> + <tr> + <th>{{lang_locations}}</th> + <th class="slx-smallcol">{{lang_roles}}</th> + </tr> + </thead> -<div class="row"> - <div class="col-md-12"> - <table id="locationsTable" class="table table-condensed table-hover stupidtable dataTable"> - <thead> - <tr> - <th data-sort="string">{{lang_locations}}</th> - <th>{{lang_roles}}</th> - </tr> - </thead> - - <tbody> - {{#location}} - <tr data-selectizeCount='0'> - <td>{{locationpad}} {{locationname}}</td> - <td> - {{#roles}} - <a href="?do=permissionmanager&show=roleEditor&cancel=locations&roleid={{roleid}}" class="label label-default customSpanMargin roleid-{{roleid}}">{{rolename}}</a> - {{/roles}} - </td> - </tr> - {{/location}} - </tbody> - </table> - </div> -</div>
\ No newline at end of file + <tbody> + {{#location}} + <tr class="{{#roles}}roleid-{{roleid}} {{/roles}}"> + <td>{{locationpad}} {{locationname}}</td> + <td class="slx-smallcol"> + {{#roles}} + <a href="?do=permissionmanager&show=roleEditor&cancel=locations&roleid={{roleid}}" class="label label-default customSpanMargin">{{rolename}}</a> + {{/roles}} + </td> + </tr> + {{/location}} + </tbody> +</table>
\ No newline at end of file |