cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/ui-vpc-redesign to 034c21b
Date Mon, 20 May 2013 20:32:50 GMT
Updated Branches:
  refs/heads/ui-vpc-redesign a1614a5f8 -> 034c21b6f


ACL multi-edit: add 'action' field to specify rule as allow/deny


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/034c21b6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/034c21b6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/034c21b6

Branch: refs/heads/ui-vpc-redesign
Commit: 034c21b6fc173deeb003d1ef2473c4c47c5bad4a
Parents: a1614a5
Author: Brian Federle <bfederle@gmail.com>
Authored: Mon May 20 13:32:46 2013 -0700
Committer: Brian Federle <bfederle@gmail.com>
Committed: Mon May 20 13:32:46 2013 -0700

----------------------------------------------------------------------
 ui/scripts/vpc.js |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/034c21b6/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 08cf82d..ce2334c 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -36,6 +36,17 @@
     },
     fields: {
       'cidrlist': { edit: true, label: 'label.cidr' },
+      action: {
+        label: 'Action',
+        select: function(args) {
+          args.response.success({
+            data: [
+              { name: 'Allow', description: 'Allow' },
+              { name: 'Deny', description: 'Deny' }
+            ]
+          });
+        }
+      },
       'protocol': {
         label: 'label.protocol',
         select: function(args) {


Mime
View raw message