Add seondary 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/9130cd04 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9130cd04 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9130cd04 Branch: refs/heads/internallb Commit: 9130cd04995a0262bde5347c5a7f750fa33615ba Parents: e8295dd Author: Brian Federle <[email protected]> Authored: Tue Apr 16 12:46:58 2013 -0700 Committer: Brian Federle <[email protected]> Committed: Tue Apr 16 12:46:58 2013 -0700 ---------------------------------------------------------------------- ui/scripts/system.js | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9130cd04/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 46dd604..23822b2 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -10653,6 +10653,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(); + } + } + }) } } }
