From 66ff3426e035122cd943b370710cbf8af967399f Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Wed, 8 Jan 2020 23:23:40 +0100 Subject: [PATCH] :ok_hand: Update LDAP selection flip Signed-off-by: mathieu.brunot --- .../admin_setting_authentication.html | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/powerdnsadmin/templates/admin_setting_authentication.html b/powerdnsadmin/templates/admin_setting_authentication.html index ffc0726..7006bcc 100644 --- a/powerdnsadmin/templates/admin_setting_authentication.html +++ b/powerdnsadmin/templates/admin_setting_authentication.html @@ -17,9 +17,11 @@ function ldapSelection() { if (document.getElementById('ldap').checked) { document.getElementById('ldap_openldap_fields').style.display = 'block'; + document.getElementById('ldap_openldap_group_filters').style.display = 'block'; document.getElementById('ldap_ad_fields').style.display = 'none'; } else { document.getElementById('ldap_openldap_fields').style.display = 'none'; + document.getElementById('ldap_openldap_group_filters').style.display = 'none'; document.getElementById('ldap_ad_fields').style.display = 'block'; } } @@ -141,15 +143,17 @@ -
- - - -
-
- - - +
+
+ + + +
+
+ + + +