From e681e1eec094385e2a41ea301834d6593d97ec0b Mon Sep 17 00:00:00 2001 From: raghunayyar Date: Wed, 19 Feb 2014 14:40:49 +0530 Subject: [PATCH] Initial Commit: Takes Quota Settings inside Navigation, Changes Create -> Add Group --- settings/js/users/groups.js | 9 +++++ settings/templates/users.php | 66 +++++++++++++++++++----------------- 2 files changed, 44 insertions(+), 31 deletions(-) diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index 9920f72889b..5e9f5582b5a 100644 --- a/settings/js/users/groups.js +++ b/settings/js/users/groups.js @@ -127,4 +127,13 @@ $(document).ready( function () { }); }); + // Implements Quota Settings Toggle. + $('#app-navigation').find('.settings-button').on('click', function (e) { + e.stopPropagation(); + $('#app-settings').removeClass('open'); + $('#app-settings').toggleClass('open'); + $(document).click(function() { + $('#app-settings').removeClass('open'); + }); + }); }); \ No newline at end of file diff --git a/settings/templates/users.php b/settings/templates/users.php index e9fa5df6675..1feaecd8e86 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -21,7 +21,7 @@ $_['subadmingroups'] = array_flip($items);
  • - +
  • @@ -54,37 +54,41 @@ $_['subadmingroups'] = array_flip($items); - -
    -
    - t('Default Quota'));?> - - "> + - - - - - - - - - - + t('Unlimited'));?> + + + + + + + + + + +