From 84a882c651f2729cb60c89482b71e6899d311735 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 8 Nov 2013 14:58:24 +0100 Subject: [PATCH] LDAP Wizard: make 'Configuration OK' and 'Help' texts grey so they don't take too much awareness --- apps/user_ldap/css/settings.css | 4 ++++ apps/user_ldap/js/settings.js | 3 +++ 2 files changed, 7 insertions(+) diff --git a/apps/user_ldap/css/settings.css b/apps/user_ldap/css/settings.css index 127ce817ac..490c3e9592 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 4ae85dc0e0..2fa0ed066c 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'); }