You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/04/16 21:51:25 UTC
[4/7] git commit: updated refs/heads/ui-granular-settings to b54f643
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/ui-granular-settings
Commit: e8295dd4b0fe40134824a1c971aae63579505e44
Parents: 59d0541
Author: Brian Federle <br...@citrix.com>
Authored: Tue Apr 16 12:46:44 2013 -0700
Committer: Brian Federle <br...@citrix.com>
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();
+ }
+ }
+ })
}
}
}