summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod/templates/userlist.html
diff options
context:
space:
mode:
authorChristian Hofmaier2017-09-14 15:57:36 +0200
committerChristian Hofmaier2017-09-14 15:57:36 +0200
commitd7efef285bfef24739cc56cf7fad2bedf5fcd9dd (patch)
tree1334603c7466a97ebbd70b97fa863899888bd482 /modules-available/dozmod/templates/userlist.html
parent[locations] fixed inconsistencies + small design changes (diff)
downloadslx-admin-d7efef285bfef24739cc56cf7fad2bedf5fcd9dd.tar.gz
slx-admin-d7efef285bfef24739cc56cf7fad2bedf5fcd9dd.tar.xz
slx-admin-d7efef285bfef24739cc56cf7fad2bedf5fcd9dd.zip
[dozmod] fixed inconsistencies + some issues in [internetaccess] and [news]
Diffstat (limited to 'modules-available/dozmod/templates/userlist.html')
-rw-r--r--modules-available/dozmod/templates/userlist.html34
1 files changed, 25 insertions, 9 deletions
diff --git a/modules-available/dozmod/templates/userlist.html b/modules-available/dozmod/templates/userlist.html
index a4f415e1..29f55708 100644
--- a/modules-available/dozmod/templates/userlist.html
+++ b/modules-available/dozmod/templates/userlist.html
@@ -1,4 +1,4 @@
-<h2 id="users">{{lang_userList}}</h2>
+<h1>{{lang_bwlehrpoolsuite}}</h1>
<div class="panel panel-default">
<div class="panel-heading">
@@ -7,13 +7,13 @@
<div class="panel-body">
<p>{{lang_userListDescription}}</p>
<div class="table-responsive">
- <table class="table table-stripped table-condensed">
+ <table class="table table-stripped table-condensed stupidtable">
<thead>
<tr>
- <th>{{lang_user}}</th>
- <th>{{lang_organization}}</th>
- <th>{{lang_lastLogin}}</th>
- <th>{{lang_email}}</th>
+ <th data-sort="string">{{lang_user}}</th>
+ <th data-sort="string">{{lang_organization}}</th>
+ <th data-sort="int">{{lang_lastLogin}}</th>
+ <th data-sort="string">{{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-ok" title="{{lang_canLoginUser}}"></span></th>
@@ -26,9 +26,24 @@
<td class="text-left text-nowrap">{{orgname}}</td>
<td class="text-left text-nowrap">{{lastlogin}}</td>
<td class="text-left text-nowrap"><a href="mailto:{{email}}">{{email}}</a></td>
- <td><input onclick="setu('setmail', this, '{{userid}}')" type="checkbox" {{{emailnotifications}}}></td>
- <td><input onclick="setu('setsu', this, '{{userid}}')" type="checkbox" {{{issuperuser}}}></td>
- <td><input onclick="setu('setlogin', this, '{{userid}}')" type="checkbox" {{{canlogin}}}></td>
+ <td>
+ <div class="checkbox">
+ <input onclick="setu('setmail', this, '{{userid}}')" type="checkbox" {{{emailnotifications}}}>
+ <label></label>
+ </div>
+ </td>
+ <td>
+ <div class="checkbox">
+ <input onclick="setu('setsu', this, '{{userid}}')" type="checkbox" {{{issuperuser}}}>
+ <label></label>
+ </div>
+ </td>
+ <td>
+ <div class="checkbox">
+ <input onclick="setu('setlogin', this, '{{userid}}')" type="checkbox" {{{canlogin}}}>
+ <label></label>
+ </div>
+ </td>
</tr>
{{/users}}
</tbody>
@@ -41,6 +56,7 @@
function setu(action, el, uid) {
var box = $(el);
+ box = box.parent();
var v = el.checked ? '1' : '0';
var old = el.checked == true;
box.css('display', 'none');