Repository: cloudstack Updated Branches: refs/heads/sf-plugins eb085be18 -> 157efc3e2 (forced update)
Extend plug-in functionality Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0d79e116 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0d79e116 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0d79e116 Branch: refs/heads/sf-plugins Commit: 0d79e116530edeb5a091c252673bf39a07a6a1f3 Parents: 5727c3e Author: Mike Tutkowski <[email protected]> Authored: Mon Jul 6 20:22:36 2015 -0600 Committer: Mike Tutkowski <[email protected]> Committed: Fri Sep 18 19:28:17 2015 -0600 ---------------------------------------------------------------------- ui/plugins/sfSharedVolume/sfSharedVolume.js | 35 +++++++++++++++--------- 1 file changed, 22 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0d79e116/ui/plugins/sfSharedVolume/sfSharedVolume.js ---------------------------------------------------------------------- diff --git a/ui/plugins/sfSharedVolume/sfSharedVolume.js b/ui/plugins/sfSharedVolume/sfSharedVolume.js index 70e5208..ff16c91 100644 --- a/ui/plugins/sfSharedVolume/sfSharedVolume.js +++ b/ui/plugins/sfSharedVolume/sfSharedVolume.js @@ -28,6 +28,28 @@ } }); }, + actions: { + add: { + label: 'Add Shared Volume', + preFilter: function(args) { + return true; + }, + messages: { + confirm: function(args) { + return 'Please fill in the following data to add a new shared volume.'; + }, + notification: function(args) { + return 'Add Shared Volume'; + } + }, + createForm: { + title: 'Add Shared Volume', + desc: 'Please fill in the following data to add a new shared volume.', + fields: { + } + } + } + }, detailView: { name: 'Shared volume details', isMaximized: true, @@ -41,19 +63,6 @@ } } } - }, - actions: { - add: { - label: 'Add Shared Volume', - preFilter: function(args) { - return true; - }, - messages: { - notification: function(args) { - return 'Add Shared Volume'; - } - } - } } }); };
