From 019e8cd0ff8fe45d0e867a42e9643c8b571c1725 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 16 Apr 2013 12:41:20 -0700 Subject: [PATCH] Add zone-level granular settings UI --- ui/scripts/system.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index a9054125774..11ae1f20e47 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -5381,6 +5381,28 @@ } } } + }, + + // Granular settings for zone + 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) { + debugger; + // call updateZoneLevelParamter + args.response.success(); + } + } + }) } } }