summaryrefslogtreecommitdiffstats
path: root/modules-available/permissionmanager/templates/locationstable.html
diff options
context:
space:
mode:
authorUdo Walter2017-04-07 15:49:54 +0200
committerUdo Walter2017-04-07 15:49:54 +0200
commitd033483d3ed9e05f1109a3713ec6a3df883a1dae (patch)
tree13df2276d6c137901d87ea5daf23464e5c7bb869 /modules-available/permissionmanager/templates/locationstable.html
parent[permission-manager] added possibility to select all permissions (diff)
downloadslx-admin-d033483d3ed9e05f1109a3713ec6a3df883a1dae.tar.gz
slx-admin-d033483d3ed9e05f1109a3713ec6a3df883a1dae.tar.xz
slx-admin-d033483d3ed9e05f1109a3713ec6a3df883a1dae.zip
[permission-manager] renamed some files, moved html generation to templates,
using bind variables in mysql code, changed order of modules in role editor
Diffstat (limited to 'modules-available/permissionmanager/templates/locationstable.html')
-rw-r--r--modules-available/permissionmanager/templates/locationstable.html25
1 files changed, 25 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..e170cd02
--- /dev/null
+++ b/modules-available/permissionmanager/templates/locationstable.html
@@ -0,0 +1,25 @@
+<div class="row">
+ <div class="col-md-12">
+ <table id="locationsTable" class="table table-condensed table-hover">
+ <thead>
+ <tr>
+ <th data-sort="string">{{lang_Locations}}</th>
+ <th>{{lang_Roles}}</th>
+ </tr>
+ </thead>
+
+ <tbody>
+ {{#location}}
+ <tr>
+ <td>{{name}}</td>
+ <td>
+ {{#role}}
+ <span class="label label-default customSpanMargin">{{.}}</span>
+ {{/role}}
+ </td>
+ </tr>
+ {{/location}}
+ </tbody>
+ </table>
+ </div>
+</div> \ No newline at end of file