diff options
author | Simon Rettberg | 2019-03-27 14:43:33 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-27 14:43:33 +0100 |
commit | 4a98dbcc5ee019708dde2f2ef18bd19305d3aac2 (patch) | |
tree | 97304080889434fad6a94ec0e42c61aea61a461f /modules-available/locationinfo/templates | |
parent | [locationinfo] add nowrap to clients column (diff) | |
download | slx-admin-4a98dbcc5ee019708dde2f2ef18bd19305d3aac2.tar.gz slx-admin-4a98dbcc5ee019708dde2f2ef18bd19305d3aac2.tar.xz slx-admin-4a98dbcc5ee019708dde2f2ef18bd19305d3aac2.zip |
[locationinfo] PC counting config via combobox
Diffstat (limited to 'modules-available/locationinfo/templates')
-rw-r--r-- | modules-available/locationinfo/templates/page-config-panel-default.html | 6 | ||||
-rw-r--r-- | modules-available/locationinfo/templates/page-config-panel-summary.html | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/modules-available/locationinfo/templates/page-config-panel-default.html b/modules-available/locationinfo/templates/page-config-panel-default.html index 116c2e11..7fdeede5 100644 --- a/modules-available/locationinfo/templates/page-config-panel-default.html +++ b/modules-available/locationinfo/templates/page-config-panel-default.html @@ -114,7 +114,10 @@ <label for="input-roomplanner">{{lang_useRoomplanner}}</label> </div> <div class="col-sm-7"> - <input id="input-roomplanner" type="checkbox" name="roomplanner" {{roomplanner_checked}}> + <select class="form-control" name="roomplanner" id="input-roomplanner"> + <option value="0" id="roomplanner0">{{lang_countIp}}</option> + <option value="1" id="roomplanner1">{{lang_countRoomplan}}</option> + </select> </div> <div class="col-sm-2"> <p class="btn btn-static helptext" title="{{lang_roomplannerTooltip}}"> @@ -382,6 +385,7 @@ document.addEventListener("DOMContentLoaded", function () { $('#daystoshow option[value="{{daystoshow}}"]').attr("selected", "selected"); $('#rotation option[value="{{rotation}}"]').attr("selected", "selected"); $('#mode option[value="{{mode}}"]').attr("selected", "selected"); + $('#input-roomplanner option[value="{{roomplanner}}"]').attr("selected", "selected"); $('#daystoshow').prop('disabled', document.getElementById('scaledaysauto').checked); diff --git a/modules-available/locationinfo/templates/page-config-panel-summary.html b/modules-available/locationinfo/templates/page-config-panel-summary.html index 5ddcc904..e238edf9 100644 --- a/modules-available/locationinfo/templates/page-config-panel-summary.html +++ b/modules-available/locationinfo/templates/page-config-panel-summary.html @@ -77,7 +77,10 @@ <label for="input-roomplanner">{{lang_useRoomplanner}}</label> </div> <div class="col-sm-7"> - <input id="input-roomplanner" type="checkbox" name="roomplanner" {{roomplanner_checked}}> + <select class="form-control" name="roomplanner" id="input-roomplanner"> + <option value="0" id="roomplanner0" {{rpselected_0}}>{{lang_countIp}}</option> + <option value="1" id="roomplanner1" {{rpselected_1}}>{{lang_countRoomplan}}</option> + </select> </div> <div class="col-sm-2"> <p class="btn btn-static helptext" title="{{lang_roomplannerTooltip}}"> |