diff options
author | Christian Hofmaier | 2021-03-16 20:03:58 +0100 |
---|---|---|
committer | Christian Hofmaier | 2021-03-16 20:03:58 +0100 |
commit | 834b95629832fc3735756727b6c7cb1826d0e9d8 (patch) | |
tree | ff465ef0063c59d92f8c77e89f15a2a7a2405977 /modules-available/locations/templates/ajax-opening-location.html | |
parent | [sysconfig] yes -> true (diff) | |
download | slx-admin-834b95629832fc3735756727b6c7cb1826d0e9d8.tar.gz slx-admin-834b95629832fc3735756727b6c7cb1826d0e9d8.tar.xz slx-admin-834b95629832fc3735756727b6c7cb1826d0e9d8.zip |
[rebootcontrol] Handle scheduler overlaps
- Overlaps < 5 min are ignored, < 15 triggers reboot
- Database: Make 1 line out of 2
Diffstat (limited to 'modules-available/locations/templates/ajax-opening-location.html')
-rw-r--r-- | modules-available/locations/templates/ajax-opening-location.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules-available/locations/templates/ajax-opening-location.html b/modules-available/locations/templates/ajax-opening-location.html index a2bb357d..b1aea2e2 100644 --- a/modules-available/locations/templates/ajax-opening-location.html +++ b/modules-available/locations/templates/ajax-opening-location.html @@ -128,14 +128,14 @@ <div class="row wol"> <div class="col-sm-4"> <div class="checkbox checkbox-inline"> - <input id="wol-check-{{id}}" name="wol" type="checkbox" {{#wol}}checked{{/wol}}> + <input id="wol-check-{{id}}" name="wol" type="checkbox" {{#scheduler-options.wol}}checked{{/scheduler-options.wol}}> <label for="wol-check-{{id}}">{{lang_wakeonlan}}</label> </div> </div> <div class="col-sm-8"> <div class="input-group"> <input disabled type="number" id="wol-offset-{{id}}" name="wol-offset" class="form-control" - value="{{wol-options.wol-offset}}" placeholder="0" min="0" max="15"> + value="{{scheduler-options.wol-offset}}" placeholder="0" min="0" max="15"> <span class="input-group-addon slx-ga2"> <label for="wol-offset-{{id}}">{{lang_offsetEarly}}</label> </span> @@ -145,14 +145,14 @@ <div class="row shutdown"> <div class="col-sm-4"> <div class="checkbox checkbox-inline"> - <input id="sd-check-{{id}}" name="sd" type="checkbox" {{#sd}}checked{{/sd}}> + <input id="sd-check-{{id}}" name="sd" type="checkbox" {{#scheduler-options.sd}}checked{{/scheduler-options.sd}}> <label for="sd-check-{{id}}">{{lang_shutdown}}</label> </div> </div> <div class="col-sm-8"> <div class="input-group"> <input disabled type="number" id="sd-offset-{{id}}" name="sd-offset" class="form-control" - value="{{sd-options.sd-offset}}" placeholder="0" min="0" max="15"> + value="{{scheduler-options.sd-offset}}" placeholder="0" min="0" max="15"> <span class="input-group-addon slx-ga2"> <label for="sd-offset-{{id}}">{{lang_offsetLate}}</label> </span> |