From 9130cd04995a0262bde5347c5a7f750fa33615ba Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 16 Apr 2013 12:46:58 -0700 Subject: [PATCH] Add seondary storage-level parameters UI --- ui/scripts/system.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 46dd6045840..23822b26972 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(); + } + } + }) } } }