From be2712827e4bec519a5704551832acb419f9ec3b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 16 Feb 2018 14:45:16 +0100 Subject: [webinterface] Use permission helpers; disable inputs individually --- .../webinterface/templates/customization.html | 11 ++- .../webinterface/templates/heading.html | 20 +++- .../webinterface/templates/https.html | 102 +++++++++++---------- .../webinterface/templates/passwords.html | 23 +++-- 4 files changed, 91 insertions(+), 65 deletions(-) (limited to 'modules-available/webinterface/templates') diff --git a/modules-available/webinterface/templates/customization.html b/modules-available/webinterface/templates/customization.html index ad57eea7..ea59d562 100644 --- a/modules-available/webinterface/templates/customization.html +++ b/modules-available/webinterface/templates/customization.html @@ -1,21 +1,21 @@
-
+
{{lang_customization}}

{{lang_customizationDesc}}

- +
diff --git a/modules-available/webinterface/templates/heading.html b/modules-available/webinterface/templates/heading.html index d68360f1..59a8cf6b 100644 --- a/modules-available/webinterface/templates/heading.html +++ b/modules-available/webinterface/templates/heading.html @@ -1 +1,19 @@ -

{{lang_moduleHeading}}

\ No newline at end of file + + \ No newline at end of file diff --git a/modules-available/webinterface/templates/https.html b/modules-available/webinterface/templates/https.html index a212cce3..ad36e9e5 100644 --- a/modules-available/webinterface/templates/https.html +++ b/modules-available/webinterface/templates/https.html @@ -1,7 +1,7 @@ -
+
{{lang_httpsSettings}}

{{lang_httpsDescription}}

@@ -25,46 +25,45 @@

{{lang_suppliedSelected}}

{{/suppliedSelected}}
- {{#httpsEnabled}} -
- -
- - -
-
- - {{lang_noHttps}} - -
- {{/httpsEnabled}} -
- -
- - -
-
- - {{lang_randomCert}} - -
-
- -
- - -
-
- - {{lang_customCert}} - +
+ {{#httpsEnabled}} +
+ + + + + + + + {{lang_noHttps}} + +
+ {{/httpsEnabled}} +
+ + + + + + + + {{lang_randomCert}} + +
+
+ + + + + + + + {{lang_customCert}} + +
-