summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod/templates/orglist.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/dozmod/templates/orglist.html')
-rw-r--r--modules-available/dozmod/templates/orglist.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/modules-available/dozmod/templates/orglist.html b/modules-available/dozmod/templates/orglist.html
index 21495bba..361421c5 100644
--- a/modules-available/dozmod/templates/orglist.html
+++ b/modules-available/dozmod/templates/orglist.html
@@ -1,24 +1,25 @@
-<h2>{{lang_organizationList}}</h2>
-
<div class="panel panel-default">
<div class="panel-heading">
{{lang_organizationListHeader}}
</div>
<div class="panel-body">
<div class="table-responsive">
- <table class="table table-stripped table-condensed">
+ <table class="table table-stripped table-condensed table-hover stupidtable">
<thead>
<tr>
- <th>{{lang_organization}}</th>
- <th><span class="glyphicon glyphicon-ok" title="{{lang_canLoginOrganization}}"></span></th>
+ <th width="95%" data-sort="string">{{lang_organization}}</th>
+ <th width="5%"><span class="glyphicon glyphicon-ok" title="{{lang_canLoginOrganization}}"></span></th>
</tr>
</thead>
<tbody>
{{#organizations}}
<tr>
- <td class="text-left text-nowrap">{{displayname}}</td>
- <td class="text-nowrap">
- <input onclick="seto('setorglogin', this, '{{organizationid}}')" type="checkbox" {{{canlogin}}}>
+ <td width="95%" class="text-left text-nowrap">{{displayname}}</td>
+ <td width="5%">
+ <div class="checkbox">
+ <input onclick="seto('setorglogin', this, '{{organizationid}}')" type="checkbox" {{{canlogin}}}>
+ <label></label>
+ </div>
</td>
</tr>
{{/organizations}}
@@ -32,6 +33,7 @@
function seto(action, el, orgid) {
var box = $(el);
+ box = box.parent();
var v = el.checked ? '1' : '0';
var old = el.checked == true;
box.css('display', 'none');