LDAP Wizard: make 'Configuration OK' and 'Help' texts grey so they don't take too much awareness

This commit is contained in:
Arthur Schiwon 2013-11-08 14:58:24 +01:00
parent 7a61dcadd2
commit 84a882c651
2 changed files with 7 additions and 0 deletions

View file

@ -123,3 +123,7 @@ select[multiple=multiple] + button {
.ldap_config_state_indicator_sign.error {
background: #ce3702;
}
.ldap_grey {
color: #777;
}

View file

@ -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');
}