diff options
-rw-r--r-- | apps/user_ldap/css/settings.css | 4 | ||||
-rw-r--r-- | apps/user_ldap/js/settings.js | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/apps/user_ldap/css/settings.css b/apps/user_ldap/css/settings.css index 127ce817ac1..490c3e95926 100644 --- a/apps/user_ldap/css/settings.css +++ b/apps/user_ldap/css/settings.css @@ -123,3 +123,7 @@ select[multiple=multiple] + button { .ldap_config_state_indicator_sign.error { background: #ce3702; } + +.ldap_grey { + color: #777; +}
\ No newline at end of file diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js index 4ae85dc0e01..2fa0ed066c4 100644 --- a/apps/user_ldap/js/settings.js +++ b/apps/user_ldap/js/settings.js @@ -673,6 +673,7 @@ var LdapWizard = { $('.ldap_config_state_indicator').text(t('user_ldap', 'Configuration OK' )); + $('.ldap_config_state_indicator').addClass('ldap_grey'); $('.ldap_config_state_indicator_sign').removeClass('error'); $('.ldap_config_state_indicator_sign').addClass('success'); }, @@ -681,6 +682,7 @@ var LdapWizard = { $('.ldap_config_state_indicator').text(t('user_ldap', 'Configuration incorrect' )); + $('.ldap_config_state_indicator').removeClass('ldap_grey'); $('.ldap_config_state_indicator_sign').addClass('error'); $('.ldap_config_state_indicator_sign').removeClass('success'); } @@ -689,6 +691,7 @@ var LdapWizard = { $('.ldap_config_state_indicator').text(t('user_ldap', 'Configuration incomplete' )); + $('.ldap_config_state_indicator').removeClass('ldap_grey'); $('.ldap_config_state_indicator_sign').removeClass('error'); $('.ldap_config_state_indicator_sign').removeClass('success'); } |