cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtutkow...@apache.org
Subject [13/50] git commit: updated refs/heads/sf-plugins to bcf1c72
Date Tue, 28 Jul 2015 20:14:59 GMT
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/7755061e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7755061e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7755061e

Branch: refs/heads/sf-plugins
Commit: 7755061ed4d1f32e3e30479bf43dd3c1643347f5
Parents: 6d4ea19
Author: Mike Tutkowski <mike.tutkowski@solidfire.com>
Authored: Mon Jul 6 20:22:36 2015 -0600
Committer: CloudStack <cloudstack@cloudstack-virtual-machine.(none)>
Committed: Tue Jul 28 13:42:41 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/7755061e/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';
-            }
-          }
-        }
       }
     });
   };


Mime
View raw message