diff options
author | Simon Rettberg | 2024-10-11 15:43:17 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-10-11 15:43:17 +0200 |
commit | ccc7cf78a7ca8b3349c45706b8b03e1ed6bc44d6 (patch) | |
tree | 261b535912030ac41667ce954093dbe48ea5bc85 /modules-available/webinterface/templates | |
parent | [webinterface] API: Check callbacks immediately on success (diff) | |
download | slx-admin-ccc7cf78a7ca8b3349c45706b8b03e1ed6bc44d6.tar.gz slx-admin-ccc7cf78a7ca8b3349c45706b8b03e1ed6bc44d6.tar.xz slx-admin-ccc7cf78a7ca8b3349c45706b8b03e1ed6bc44d6.zip |
[webinterface] Remove the 'off' option for HTTPS
As we always use a self-signed certificate for client communication, you
cannot really turn off HTTPS, and explicitly generating another
self-signed certificate for slx-admin is rather pointless. So
internally, we actually remove the option for a self-signed certificate,
and rename the "off" option to using a self-signed one.
Diffstat (limited to 'modules-available/webinterface/templates')
-rw-r--r-- | modules-available/webinterface/templates/https.html | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/modules-available/webinterface/templates/https.html b/modules-available/webinterface/templates/https.html index b109fa9d..a93b8fb8 100644 --- a/modules-available/webinterface/templates/https.html +++ b/modules-available/webinterface/templates/https.html @@ -9,9 +9,6 @@ <p>{{lang_youreUsingHttps}}</p> {{/httpsUsed}} <div class="text-info slx-bold"> - {{#offSelected}} - <p>{{lang_offSelected}}</p> - {{/offSelected}} {{#unknownSelected}} <p>{{lang_unknownSelected}}</p> {{/unknownSelected}} @@ -111,7 +108,7 @@ </span> </div> - {{#httpsEnabled}} + {{^generatedSelected}} <div class="input-group row-select"> <span class="input-group-addon"> <span class="radio"> @@ -123,19 +120,7 @@ {{lang_noHttps}} </span> </div> - {{/httpsEnabled}} - - <div class="input-group row-select"> - <span class="input-group-addon"> - <span class="radio"> - <input id="mrandom" type="radio" name="mode" value="random" {{perms.edit.https.disabled}}> - <label></label> - </span> - </span> - <span class="form-control"> - {{lang_randomCert}} - </span> - </div> + {{/generatedSelected}} <div class="input-group row-select"> <span class="input-group-addon"> |