summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates
diff options
context:
space:
mode:
authorSimon Rettberg2020-10-20 11:01:44 +0200
committerSimon Rettberg2020-10-20 11:01:44 +0200
commit6e3ddb4d23d8740fa6b6ce8920717a3cd2bb090c (patch)
treeb8f09b9c7612a9bce32b6dca2c9e07c4f575e4cd /modules-available/locationinfo/templates
parent[systemstatus] Add main-warning hook for low disk space (diff)
downloadslx-admin-6e3ddb4d23d8740fa6b6ce8920717a3cd2bb090c.tar.gz
slx-admin-6e3ddb4d23d8740fa6b6ce8920717a3cd2bb090c.tar.xz
slx-admin-6e3ddb4d23d8740fa6b6ce8920717a3cd2bb090c.zip
[baseconfig_bwlp/locationinfo] Add SLX_TTY_SWITCH
This will be used (to be implemented client side) to diallow tty switching from within the X session, as the exam mode currently already does. References #3793
Diffstat (limited to 'modules-available/locationinfo/templates')
-rw-r--r--modules-available/locationinfo/templates/page-config-panel-url.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/modules-available/locationinfo/templates/page-config-panel-url.html b/modules-available/locationinfo/templates/page-config-panel-url.html
index 86915729..8d4d7148 100644
--- a/modules-available/locationinfo/templates/page-config-panel-url.html
+++ b/modules-available/locationinfo/templates/page-config-panel-url.html
@@ -71,6 +71,33 @@
<div class="list-group-item">
<div class="row">
<div class="col-sm-3">
+ <label>{{lang_allowTtySwitch}}</label>
+ </div>
+ <div class="col-sm-7">
+ <div class="radio">
+ <input id="tty1" type="radio" name="allow-tty" {{allow-tty__checked}} value="">
+ <label for="tty1">{{lang_useDefault}}</label>
+ </div>
+ <div class="radio">
+ <input id="tty2" type="radio" name="allow-tty" {{allow-tty_yes_checked}} value="yes">
+ <label for="tty2">{{lang_yes}}</label>
+ </div>
+ <div class="radio">
+ <input id="tty3" type="radio" name="allow-tty" {{allow-tty_no_checked}} value="no">
+ <label for="tty3">{{lang_no}}</label>
+ </div>
+ </div>
+ <div class="col-sm-2">
+ <p class="btn btn-static helptext" title="{{lang_allowTtySwitchTooltip}}">
+ <span class="glyphicon glyphicon-question-sign"></span>
+ </p>
+ </div>
+ </div>
+ </div>
+
+ <div class="list-group-item">
+ <div class="row">
+ <div class="col-sm-3">
<label for="input-reload">{{lang_reloadIntervalMins}}</label>
</div>
<div class="col-sm-7">