summaryrefslogtreecommitdiffstats
path: root/templates/webinterface/https.html
diff options
context:
space:
mode:
authorSimon Rettberg2015-09-30 11:52:37 +0200
committerSimon Rettberg2015-09-30 11:52:37 +0200
commitb58d051c9af46c2e3ddb831d67dfca9eed2c38b1 (patch)
tree0a2e0b3e7e7ac710823eaef6d31e70daba0278ba /templates/webinterface/https.html
parentTrigger server ip changed for all module types (diff)
downloadslx-admin-b58d051c9af46c2e3ddb831d67dfca9eed2c38b1.tar.gz
slx-admin-b58d051c9af46c2e3ddb831d67dfca9eed2c38b1.tar.xz
slx-admin-b58d051c9af46c2e3ddb831d67dfca9eed2c38b1.zip
[Webinterface/HTTPS] Only show "disable https" if it is enabled
Diffstat (limited to 'templates/webinterface/https.html')
-rw-r--r--templates/webinterface/https.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/webinterface/https.html b/templates/webinterface/https.html
index d2b4c69a..c6161cd6 100644
--- a/templates/webinterface/https.html
+++ b/templates/webinterface/https.html
@@ -5,6 +5,10 @@
<div class="panel-heading">{{lang_httpsSettings}}</div>
<div class="panel-body">
<p>{{lang_description}}</p>
+ {{^httpsEnabled}}
+ <p>{{lang_HttpsIsDisabled}}</p>
+ {{/httpsEnabled}}
+ {{#httpsEnabled}}
<div class="input-group" onclick="$('#moff').prop('checked', true);
$('#wcustom').hide()">
<span class="input-group-addon"><input id="moff" type="radio" name="mode" value="off"></span>
@@ -12,6 +16,7 @@
{{lang_noHttps}}
</span>
</div>
+ {{/httpsEnabled}}
<div class="input-group" onclick="$('#mrandom').prop('checked', true);
$('#wcustom').hide()">
<span class="input-group-addon"><input id="mrandom" type="radio" name="mode" value="random"></span>