diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-09-05 23:26:28 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-11-13 16:33:21 +0100 |
commit | 57eb046836f1c878a9011a52a7f9e6757d0a9e83 (patch) | |
tree | 31461d04658fd6700c38dd0b98cfd62c270da9f4 /apps | |
parent | 5603d9a5ea39d5945b555d186753c752418b616b (diff) | |
download | nextcloud-server-57eb046836f1c878a9011a52a7f9e6757d0a9e83.tar.gz nextcloud-server-57eb046836f1c878a9011a52a7f9e6757d0a9e83.zip |
Use primary class also for ui-button elements
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/css/settings.css | 8 | ||||
-rw-r--r-- | apps/user_ldap/js/wizard/wizardTabElementary.js | 2 | ||||
-rw-r--r-- | apps/user_ldap/js/wizard/wizardTabGeneric.js | 4 | ||||
-rw-r--r-- | apps/user_ldap/templates/part.wizardcontrols.php | 2 |
4 files changed, 4 insertions, 12 deletions
diff --git a/apps/user_ldap/css/settings.css b/apps/user_ldap/css/settings.css index 4288bdc2c24..54d0e2dbb0c 100644 --- a/apps/user_ldap/css/settings.css +++ b/apps/user_ldap/css/settings.css @@ -209,14 +209,6 @@ select[multiple=multiple] + button { color: #777; } -.ldap_primary { - border: 1px solid #0082c9 !important; - background-color: rgba(0, 130, 201, .7) !important; - background-image: none !important; - color: #fff !important; - cursor: pointer; -} - #ldapSettings { background-color: white; padding: 0; diff --git a/apps/user_ldap/js/wizard/wizardTabElementary.js b/apps/user_ldap/js/wizard/wizardTabElementary.js index ea40b7682af..3c6eb1adc45 100644 --- a/apps/user_ldap/js/wizard/wizardTabElementary.js +++ b/apps/user_ldap/js/wizard/wizardTabElementary.js @@ -214,7 +214,7 @@ OCA = OCA || {}; onConfigSwitch: function(view, configuration) { this.baseDNTestTriggered = false; view.disableElement(view.managedItems.ldap_port.$relatedElements); - view.managedItems.ldap_dn.$saveButton.removeClass('ldap_primary'); + view.managedItems.ldap_dn.$saveButton.removeClass('primary'); view.onConfigLoaded(view, configuration); }, diff --git a/apps/user_ldap/js/wizard/wizardTabGeneric.js b/apps/user_ldap/js/wizard/wizardTabGeneric.js index 375ec45066f..9997d6e1b04 100644 --- a/apps/user_ldap/js/wizard/wizardTabGeneric.js +++ b/apps/user_ldap/js/wizard/wizardTabGeneric.js @@ -359,10 +359,10 @@ OCA = OCA || {}; item.$saveButton.click(function(event) { event.preventDefault(); view._requestSave(item.$element); - item.$saveButton.removeClass('ldap_primary'); + item.$saveButton.removeClass('primary'); }); item.$element.change(function () { - item.$saveButton.addClass('ldap_primary'); + item.$saveButton.addClass('primary'); }); })(this.managedItems[id]); } diff --git a/apps/user_ldap/templates/part.wizardcontrols.php b/apps/user_ldap/templates/part.wizardcontrols.php index 8ef6e888407..bd84b23c76d 100644 --- a/apps/user_ldap/templates/part.wizardcontrols.php +++ b/apps/user_ldap/templates/part.wizardcontrols.php @@ -5,7 +5,7 @@ type="button"> <?php p($l->t('Back'));?> </button> - <button class="ldap_action_continue ldap_primary" name="ldap_action_continue" type="button"> + <button class="ldap_action_continue primary" name="ldap_action_continue" type="button"> <?php p($l->t('Continue'));?> </button> <a href="<?php p(link_to_docs('admin-ldap')); ?>" |