aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-12-21 12:06:18 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-27 12:50:18 +0100
commit2f1aa251305be4dbe0b178ff523346a65dd3cf62 (patch)
tree519630cd3eb831283849ce3119db902e5fe5dd6c /settings/js
parentd0a6368a8bc9b03cba66c4a485aa001da187b2e3 (diff)
downloadnextcloud-server-2f1aa251305be4dbe0b178ff523346a65dd3cf62.tar.gz
nextcloud-server-2f1aa251305be4dbe0b178ff523346a65dd3cf62.zip
New button standard
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> USer menu in popover Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Multiselect fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Register menu & copyright Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Allow form and label in popover standard Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> New menu NOT in popover Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Stop autofilling user and password... SHAME TO THEM: https://bugzilla.mozilla.org/show_bug.cgi?id=956906#c100 Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Hide men by default Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/users/users.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index 0b94401941b..31f9605e48f 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -2,6 +2,7 @@
* Copyright (c) 2014, Arthur Schiwon <blizzz@owncloud.com>
* Copyright (c) 2014, Raghu Nayyar <beingminimal@gmail.com>
* Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
+ * Copyright (c) 2017, John Molakvoæ <skjnldsv@protonmail.com>
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYING-README file.
*/
@@ -31,6 +32,7 @@ var UserList = {
// initially the list might already contain user entries (not fully ajaxified yet)
// initialize these entries
this.$el.find('.quota-user').singleSelect().on('change', this.onQuotaSelect);
+ OC.registerMenu($('.app-navigation-new > button'), $('#newuser'))
},
/**
@@ -508,7 +510,7 @@ var UserList = {
checked: checked,
oncheck: addUserToGroup,
onuncheck: removeUserFromGroup,
- minWidth: 100
+ minWidth: 150
});
},
@@ -542,7 +544,7 @@ var UserList = {
checked: checked,
oncheck: checkHandler,
onuncheck: checkHandler,
- minWidth: 100
+ minWidth: 150
});
},
span class="nt">language: php php: - 5.4 env: global: - TEST_DAV=$(tests/travis/changed_app.sh dav) - TC=litmus-v2 matrix: - DB=sqlite branches: only: - master - /^stable\d+(\.\d+)?$/ addons: apt: packages: - realpath before_install: - sh -c "if [ '$TEST_DAV' = '1' ]; then bash tests/travis/before_install.sh $DB; fi" install: - sh -c "if [ '$TEST_DAV' = '1' ]; then bash tests/travis/install.sh $DB; fi" - sh -c "if [ '$TEST_DAV' = '1' ]; then bash apps/dav/tests/travis/$TC/install.sh; fi" script: - sh -c "if [ '$TC' = 'syntax' ]; then composer install && lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php .; fi" - sh -c "if [ '$TEST_DAV' != '1' ]; then echo \"Not testing DAV\"; fi" - sh -c "if [ '$TEST_DAV' = '1' ]; then echo \"Testing DAV\"; fi" - sh -c "if [ '$TEST_DAV' = '1' ]; then bash apps/dav/tests/travis/$TC/script.sh; fi" matrix: include: - php: 5.4 env: DB=pgsql;TC=litmus-v1 - php: 5.4 env: DB=sqlite;TC=carddav - php: 5.4 env: DB=sqlite;TC=caldav - php: 5.4 env: DB=sqlite;TC=syntax;TEST_DAV=0 - php: 5.5 env: DB=sqlite;TC=syntax;TEST_DAV=0 - php: 5.6 env: DB=sqlite;TC=syntax;TEST_DAV=0 - php: 7.0 env: DB=sqlite;TC=syntax;TEST_DAV=0 fast_finish: true