summaryrefslogtreecommitdiffstats
path: root/modules-available/permissionmanager/templates/locationstable.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/permissionmanager/templates/locationstable.html')
-rw-r--r--modules-available/permissionmanager/templates/locationstable.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/modules-available/permissionmanager/templates/locationstable.html b/modules-available/permissionmanager/templates/locationstable.html
new file mode 100644
index 00000000..dcfefa94
--- /dev/null
+++ b/modules-available/permissionmanager/templates/locationstable.html
@@ -0,0 +1,37 @@
+<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>
+
+<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}}
+ <span class="label label-default customSpanMargin roleid-{{roleid}}">{{rolename}}</span>
+ {{/roles}}
+ </td>
+ </tr>
+ {{/location}}
+ </tbody>
+ </table>
+ </div>
+</div> \ No newline at end of file