summaryrefslogtreecommitdiffstats
path: root/templates/dozmod/userlist.html
diff options
context:
space:
mode:
authorSimon Rettberg2015-09-04 19:04:11 +0200
committerSimon Rettberg2015-09-04 19:04:11 +0200
commit879ac33ee4731833dbbe609b8432b1fa1e5bd961 (patch)
tree478ab5a9fed7977742f891e8103a395a0f61b2e3 /templates/dozmod/userlist.html
parentMany changes (diff)
downloadslx-admin-879ac33ee4731833dbbe609b8432b1fa1e5bd961.tar.gz
slx-admin-879ac33ee4731833dbbe609b8432b1fa1e5bd961.tar.xz
slx-admin-879ac33ee4731833dbbe609b8432b1fa1e5bd961.zip
Add dozmod config page
Diffstat (limited to 'templates/dozmod/userlist.html')
-rw-r--r--templates/dozmod/userlist.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/dozmod/userlist.html b/templates/dozmod/userlist.html
new file mode 100644
index 00000000..addb7edf
--- /dev/null
+++ b/templates/dozmod/userlist.html
@@ -0,0 +1,34 @@
+<h2>{{lang_userList}}</h2>
+
+<div class="table-responsive">
+ <form method="post" action="?do=DozMod">
+ <input type="hidden" name="token" value="{{token}}">
+ <input type="hidden" name="action" value="setuser">
+ <table class="table table-stripped table-condensed">
+ <thead>
+ <tr>
+ <th>{{lang_user}}</th>
+ <th>{{lang_organization}}</th>
+ <th>{{lang_lastLogin}}</th>
+ <th>{{lang_email}}</th>
+ <th><span class="glyphicon glyphicon-envelope" title="{{lang_emailNotifications}}"></span></th>
+ <th><span class="glyphicon glyphicon-king" title="{{lang_superUser}}"></span></th>
+ <th><span class="glyphicon glyphicon-ban-circle" title="{{lang_isBanned}}"></span></th>
+ </tr>
+ </thead>
+ <tbody>
+ {{#users}}
+ <tr>
+ <td class="text-left slx-nowrap">{{lastname}}, {{firstname}}</td>
+ <td class="text-left slx-nowrap">{{orgname}}</td>
+ <td class="text-left slx-nowrap">{{lastlogin}}</td>
+ <td class="text-left slx-nowrap"><a href="mailto:{{email}}">{{email}}</a></td>
+ <td><input type="checkbox" {{emailnotifications}}></td>
+ <td><input type="checkbox" {{issuperuser}}></td>
+ <td><input type="checkbox" {{isbanned}}></td>
+ </tr>
+ {{/users}}
+ </tbody>
+ </table>
+ </form>
+</div> \ No newline at end of file