cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject [10/15] git commit: Add configure icon to VPC
Date Mon, 02 Jul 2012 12:17:35 GMT
Add configure icon to VPC


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

Branch: refs/heads/rbd
Commit: f02638710344a3e8ca97818bffa4e21729292512
Parents: 3f534b8
Author: Brian Federle <brian.federle@citrix.com>
Authored: Fri Jun 29 11:50:51 2012 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Fri Jun 29 13:13:59 2012 -0700

----------------------------------------------------------------------
 ui/css/cloudstack3.css      |    7 +++++++
 ui/scripts/ui-custom/vpc.js |    4 +++-
 ui/scripts/vpc.js           |    2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/f0263871/ui/css/cloudstack3.css
----------------------------------------------------------------------
diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css
index 9d1c75e..928c4e1 100644
--- a/ui/css/cloudstack3.css
+++ b/ui/css/cloudstack3.css
@@ -8856,6 +8856,13 @@ div.panel.ui-dialog div.list-view div.fixed-header {
   color: #5F768A;
 }
 
+.vpc-chart .vpc-title .icon {
+  padding: 7px 15px;
+  background: url(../images/sprites.png) no-repeat -145px -195px;
+	margin-left: 10px;
+  cursor: pointer;
+}
+
 .vpc-chart ul.tiers {
   padding: 0 0 0 26px;
   margin: 79px 0 0 232px;

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/f0263871/ui/scripts/ui-custom/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/vpc.js b/ui/scripts/ui-custom/vpc.js
index 4e60138..c683805 100644
--- a/ui/scripts/ui-custom/vpc.js
+++ b/ui/scripts/ui-custom/vpc.js
@@ -154,7 +154,9 @@
       var $tiers = $('<ul>').addClass('tiers');
       var $router = elems.router();
       var $chart = $('<div>').addClass('vpc-chart');
-      var $title = $('<div>').addClass('vpc-title').html(vpcName);
+      var $title = $('<div>').addClass('vpc-title').html(vpcName).append(
+        $('<span>').addClass('icon').html('&nbsp')
+      );
 
       var showAddTierDialog = function() {
         if ($(this).find('.loading-overlay').size()) {

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/f0263871/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 7688946..ad0b020 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -481,7 +481,7 @@
         setTimeout(function() {
           args.response.success({
             data: {
-              tiers: []
+              tiers: tiers
             }
           });
         }, 1000);


Mime
View raw message