From 94ed94c3fb214c923b84e34884dbc10d824dfeb7 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Wed, 14 Dec 2011 14:55:50 -0800 Subject: [PATCH] Implement dashboard capacity section --- ui/css/cloudstack3.css | 6 +- ui/index-test.html | 40 ++++++++----- ui/index.jsp | 32 +++++------ ui/scripts-test/dashboard.js | 60 ++++++++++++++++++-- ui/scripts/dashboard.js | 107 +++++++++++++++++++++++++++++++---- 5 files changed, 195 insertions(+), 50 deletions(-) diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css index 4335b98d9c3..4e41c2159f8 100644 --- a/ui/css/cloudstack3.css +++ b/ui/css/cloudstack3.css @@ -3128,15 +3128,15 @@ Dialogs*/ } .dashboard.admin .dashboard-container .stats ul li .name { - width: 132px; + width: 121px; float: left; - margin: 19px 40px 0 0; + margin: 19px 15px 0 0; } .dashboard.admin .dashboard-container .stats ul li div.value { float: left; background: url(../images/bg-gradients.png) 0px -51px; - width: 179px; + width: 212px; height: 100%; border-left: 1px solid #C8C2C2; border-right: 1px solid #C8C2C2; diff --git a/ui/index-test.html b/ui/index-test.html index 0e78c496aa7..388bdab7785 100644 --- a/ui/index-test.html +++ b/ui/index-test.html @@ -510,6 +510,16 @@ + +
+
+ Network domain +
+
+ +
+
+
@@ -524,7 +534,7 @@
-
+
Public
@@ -535,7 +545,7 @@
-
+
Domain
@@ -889,7 +899,7 @@
System-wide capacity
-
+ - +
@@ -518,8 +518,8 @@
-
- +
+
@@ -899,7 +899,7 @@
System-wide capacity
-
+