From e8295dd4b0fe40134824a1c971aae63579505e44 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 16 Apr 2013 12:46:44 -0700 Subject: [PATCH] Add primary 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 2a18eed1f42..46dd6045840 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(); + } + } + }) } } }