summaryrefslogtreecommitdiffstats
path: root/modules-available/webinterface/templates
diff options
context:
space:
mode:
authorSimon Rettberg2017-05-04 16:50:35 +0200
committerSimon Rettberg2017-05-04 16:50:35 +0200
commit71baea4fa255912113ad3067b74de72d2f09ce7f (patch)
tree8cf6300b48b56cfc1c0274e1bd7d94c30325882a /modules-available/webinterface/templates
parent[systemstatus] Put logs in tabbed view (diff)
downloadslx-admin-71baea4fa255912113ad3067b74de72d2f09ce7f.tar.gz
slx-admin-71baea4fa255912113ad3067b74de72d2f09ce7f.tar.xz
slx-admin-71baea4fa255912113ad3067b74de72d2f09ce7f.zip
[webinterface] Add separate option to enable HSTS
Diffstat (limited to 'modules-available/webinterface/templates')
-rw-r--r--modules-available/webinterface/templates/https.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules-available/webinterface/templates/https.html b/modules-available/webinterface/templates/https.html
index 77585ddf..ecfe5f5d 100644
--- a/modules-available/webinterface/templates/https.html
+++ b/modules-available/webinterface/templates/https.html
@@ -78,6 +78,12 @@ MIIFfTCCA...
{{lang_httpsRedirect}}
</span>
</div>
+ <div class="input-group">
+ <span class="input-group-addon"><input id="usehsts" type="checkbox" name="usehsts" value="on" {{hsts_checked}}></span>
+ <span class="form-control" onclick="$('#usehsts').prop('checked', !$('#usehsts').prop('checked'))">
+ {{lang_useHsts}}
+ </span>
+ </div>
<br>
<div class="pull-right">