diff options
author | Simon Rettberg | 2017-04-20 14:54:34 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-04-20 14:54:34 +0200 |
commit | 1a594e5059f2d9dc064bbbd392b9f5fc4e567852 (patch) | |
tree | 74302346cc74cbf7e1f00124aec1774a71413680 /modules-available | |
parent | [locationinfo] style.css not needed anymore (diff) | |
download | slx-admin-1a594e5059f2d9dc064bbbd392b9f5fc4e567852.tar.gz slx-admin-1a594e5059f2d9dc064bbbd392b9f5fc4e567852.tar.xz slx-admin-1a594e5059f2d9dc064bbbd392b9f5fc4e567852.zip |
[locationinfo] Remove URL from server list, style checkboxes
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/locationinfo/templates/location-info.html | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/modules-available/locationinfo/templates/location-info.html b/modules-available/locationinfo/templates/location-info.html index bd3ea077..c2242241 100644 --- a/modules-available/locationinfo/templates/location-info.html +++ b/modules-available/locationinfo/templates/location-info.html @@ -3,11 +3,10 @@ <h4>{{lang_serverTable}}</h4> - <table class="table table-condensed table-hover"> + <table class="table table-hover"> <tr> <th width="1">{{lang_serverType}}</th> <th>{{lang_locationName}}</th> - <th>{{lang_serverUrl}}</th> <th width="1"></th> <th width="1"></th> </tr> @@ -18,7 +17,6 @@ <tr> <td nowrap>{{typename}}</td> <td nowrap>{{servername}}</td> - <td nowrap>{{serverurl}}</td> <td align="center" nowrap> <button class="btn btn-sm {{^autherror}}btn-success{{/autherror}}{{#autherror}}btn-danger{{/autherror}}" @@ -69,7 +67,10 @@ <a href="modules/locationinfo/frontend/doorsign.html?id={{locationid}}">{{locationname}}</a> </td> <td align="center"> - <input class="hidden-toggle" type="checkbox" data-locationid="{{locationid}}" {{hidden_checked}}> + <div class="checkbox" style="margin:0"> + <input class="hidden-toggle" type="checkbox" data-locationid="{{locationid}}" {{hidden_checked}}> + <label></label> + </div> </td> <td> <a class="btn btn-sm btn-default" role="button" style="width: 100%" @@ -127,6 +128,12 @@ }).fail(function () { $input.replaceWith('ERROR'); }); + }).parent().click(function() { + $this = $(this); + $box = $this.find('input'); + if (!$this.is($box)) { + $box.click(); + } }); /** |