LDAP Wizard: make 'Configuration OK' and 'Help' texts grey so they don't take too much awareness
This commit is contained in:
parent
7a61dcadd2
commit
84a882c651
2 changed files with 7 additions and 0 deletions
|
@ -123,3 +123,7 @@ select[multiple=multiple] + button {
|
|||
.ldap_config_state_indicator_sign.error {
|
||||
background: #ce3702;
|
||||
}
|
||||
|
||||
.ldap_grey {
|
||||
color: #777;
|
||||
}
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue