summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/page-config-panel-default.html
diff options
context:
space:
mode:
authorSimon Rettberg2020-11-03 13:45:37 +0100
committerSimon Rettberg2020-11-03 13:45:37 +0100
commit77f9f9d9e975bd14083656f987b426e81908dd9e (patch)
treef98263140b353ea2a3c9c6a2e19d2eec66fd5115 /modules-available/locationinfo/templates/page-config-panel-default.html
parent[locationinfo] Clean up styling a bit more (diff)
downloadslx-admin-77f9f9d9e975bd14083656f987b426e81908dd9e.tar.gz
slx-admin-77f9f9d9e975bd14083656f987b426e81908dd9e.tar.xz
slx-admin-77f9f9d9e975bd14083656f987b426e81908dd9e.zip
[locationinfo] Remove unused javascript
Most javascript was needed for editing the opening times of locations. Some javascript was still used to fill the now disabled input forms for display only. This is now done server-side, and the input fields have been replaced by a simple table.
Diffstat (limited to 'modules-available/locationinfo/templates/page-config-panel-default.html')
-rw-r--r--modules-available/locationinfo/templates/page-config-panel-default.html20
1 files changed, 16 insertions, 4 deletions
diff --git a/modules-available/locationinfo/templates/page-config-panel-default.html b/modules-available/locationinfo/templates/page-config-panel-default.html
index 1ffef408..447a8834 100644
--- a/modules-available/locationinfo/templates/page-config-panel-default.html
+++ b/modules-available/locationinfo/templates/page-config-panel-default.html
@@ -60,7 +60,10 @@
<label for="input-eco">{{lang_ecoMode}}</label>
</div>
<div class="col-sm-8">
- <input id="input-eco" type="checkbox" name="eco" {{eco_checked}}>
+ <div class="checkbox">
+ <input id="input-eco" type="checkbox" name="eco" {{eco_checked}}>
+ <label></label>
+ </div>
</div>
<div class="col-sm-12 small text-muted spacebottop">
{{lang_ecoTooltip}}
@@ -74,7 +77,10 @@
<label for="input-prettytime">{{lang_prettytime}}</label>
</div>
<div class="col-sm-8">
- <input id="input-prettytime" type="checkbox" name="prettytime" {{prettytime_checked}}>
+ <div class="checkbox">
+ <input id="input-prettytime" type="checkbox" name="prettytime" {{prettytime_checked}}>
+ <label></label>
+ </div>
</div>
<div class="col-sm-12 small text-muted spacebottop">
{{lang_prettytimeTooltip}}
@@ -198,7 +204,10 @@
<label for="scaledaysauto">{{lang_autoScale}}</label>
</div>
<div class="col-sm-8">
- <input id="scaledaysauto" class="btstrpCheckbox" type="checkbox" name="scaledaysauto" {{scaledaysauto_checked}}>
+ <div class="checkbox">
+ <input id="scaledaysauto" class="btstrpCheckbox" type="checkbox" name="scaledaysauto" {{scaledaysauto_checked}}>
+ <label></label>
+ </div>
</div>
<div class="col-sm-12 small text-muted spacebottop">
{{lang_autoscaleTooltip}}
@@ -253,7 +262,10 @@
<label for="show-hostname">{{lang_showHostname}}</label>
</div>
<div class="col-sm-8">
- <input id="show-hostname" class="btstrpCheckbox" type="checkbox" name="hostname" {{hostname_checked}}>
+ <div class="checkbox">
+ <input id="show-hostname" class="btstrpCheckbox" type="checkbox" name="hostname" {{hostname_checked}}>
+ <label></label>
+ </div>
</div>
<div class="col-sm-12 small text-muted spacebottop">
{{lang_hostnameTooltip}}