From a25dda8ac14546ba8a72dec206513fc3949050bb Mon Sep 17 00:00:00 2001 From: Matt Scott Date: Fri, 17 Mar 2023 15:50:08 -0400 Subject: [PATCH] Made some formatting tweaks to the authentication settings view to unify section header styling. Corrected improper markup introduced by recent PR for password complexity requirements. --- .../admin_setting_authentication.html | 199 ++++++++++-------- 1 file changed, 115 insertions(+), 84 deletions(-) diff --git a/powerdnsadmin/templates/admin_setting_authentication.html b/powerdnsadmin/templates/admin_setting_authentication.html index 9ae899b..a4c0288 100644 --- a/powerdnsadmin/templates/admin_setting_authentication.html +++ b/powerdnsadmin/templates/admin_setting_authentication.html @@ -78,89 +78,99 @@

Basic Settings

-
-
-
- - -
-
- - -
+
+
+ +
+
+ +
-
-
- PASSWORD REQUIREMENTS -
+
+ + +
+
+ Password Requirements
+ name="pwd_enforce_characters" + class="checkbox" + {% if SETTING.get('pwd_enforce_characters') %}checked{% endif %}>
- + + name="pwd_min_len" id="pwd_min_len" + data-error="Please enter a minimum password length" + value="{{ SETTING.get('pwd_min_len') }}">
- + + name="pwd_min_lowercase" + id="pwd_min_lowercase" + data-error="Please enter the minimum number of lowercase letters required" + value="{{ SETTING.get('pwd_min_lowercase') }}">
- + + name="pwd_min_uppercase" + id="pwd_min_uppercase" + data-error="Please enter the minimum number of uppercase letters required" + value="{{ SETTING.get('pwd_min_uppercase') }}">
- + + name="pwd_min_digits" id="pwd_min_digits" + data-error="Please enter the minimum number of digits required" + value="{{ SETTING.get('pwd_min_digits') }}">
- + + name="pwd_min_special" id="pwd_min_special" + data-error="Please enter the minimum number of special characters required" + value="{{ SETTING.get('pwd_min_special') }}">
+ name="pwd_enforce_complexity" + class="checkbox" + {% if SETTING.get('pwd_enforce_complexity') %}checked{% endif %}>
- + + name="pwd_min_complexity" + id="pwd_min_complexity" + data-error="Please enter the minimum password complexity required" + value="{{ SETTING.get('pwd_min_complexity') }}">
-
-
+ +
- ADMINISTRATOR INFO + Administrator Info
- FILTERS + Filters
- GROUP SECURITY + Group Security
@@ -738,7 +766,8 @@
- +
- +
- +
- GROUP SECURITY + Group Security
@@ -1129,7 +1160,7 @@
- AZURE GROUP ACCOUNT SYNC/CREATION + Azure Group Account Sync / Creation