]> source.dussan.org Git - nextcloud-server.git/commitdiff
LDAP Wizard: make 'Configuration OK' and 'Help' texts grey so they don't take too...
authorArthur Schiwon <blizzz@owncloud.com>
Fri, 8 Nov 2013 13:58:24 +0000 (14:58 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Wed, 13 Nov 2013 18:07:28 +0000 (19:07 +0100)
apps/user_ldap/css/settings.css
apps/user_ldap/js/settings.js

index 127ce817ac1c0a4af8226f6c75536fbbc249111d..490c3e95926a097d100a0723bb02109c9a282917 100644 (file)
@@ -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
index 4ae85dc0e01bf850d202e8b67faa0ee52ba92784..2fa0ed066c4da1e615ff5ce189bd15d75ace96fc 100644 (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');
                }