Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78BF1FC5A for ; Thu, 2 May 2013 12:08:51 +0000 (UTC) Received: (qmail 58763 invoked by uid 500); 2 May 2013 12:08:50 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 58525 invoked by uid 500); 2 May 2013 12:08:49 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 58448 invoked by uid 99); 2 May 2013 12:08:49 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 12:08:49 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id F1212885D84; Thu, 2 May 2013 12:08:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pranavs@apache.org To: commits@cloudstack.apache.org Date: Thu, 02 May 2013 12:08:51 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [04/10] git commit: updated refs/heads/master to 61f3f93 Add primary storage-level parameters UI Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e8295dd4 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e8295dd4 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e8295dd4 Branch: refs/heads/master Commit: e8295dd4b0fe40134824a1c971aae63579505e44 Parents: 59d0541 Author: Brian Federle Authored: Tue Apr 16 12:46:44 2013 -0700 Committer: Brian Federle Committed: Tue Apr 16 12:46:44 2013 -0700 ---------------------------------------------------------------------- ui/scripts/system.js | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e8295dd4/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 2a18eed..46dd604 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -10439,6 +10439,27 @@ } }); } + }, + + // Granular settings for storage pool + settings: { + title: 'label.menu.global.settings', + custom: cloudStack.uiCustom.granularSettings({ + dataProvider: function(args) { + args.response.success({ + data: [ + { name: 'config.param.1', value: 1 }, + { name: 'config.param.2', value: 2 } + ] + }); + }, + actions: { + edit: function(args) { + // call updateStorageLevelParameters + args.response.success(); + } + } + }) } } }