From 49aa03a8073ca97160a27b0d38f2b44bdd90d460 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Wed, 14 Dec 2011 15:44:09 -0800 Subject: [PATCH] Dashboard updates -Implement general and host alert listings -Move dashboard UI code to ui-custom/dashbaord.js --- ui/css/cloudstack3.css | 5 ++ ui/index-test.html | 1 + ui/index.jsp | 49 +++--------------- ui/scripts-test/dashboard.js | 37 +------------ ui/scripts/dashboard.js | 86 +++++++++++++++++-------------- ui/scripts/ui-custom/dashboard.js | 57 ++++++++++++++++++++ 6 files changed, 117 insertions(+), 118 deletions(-) create mode 100644 ui/scripts/ui-custom/dashboard.js diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css index 23a8b24d79b..4dace3cde97 100644 --- a/ui/css/cloudstack3.css +++ b/ui/css/cloudstack3.css @@ -3207,6 +3207,8 @@ Dialogs*/ .dashboard.admin .dashboard-container.sub.alerts { float: left; margin: 0 17px 0 0; + height: 313px; + overflow: auto; } .dashboard.admin .dashboard-container.sub.alerts.last { @@ -3214,6 +3216,9 @@ Dialogs*/ } .dashboard.admin .dashboard-container.sub.alerts ul { + width: 362px; + height: 294px; + overflow: auto; } .dashboard.admin .dashboard-container.sub.alerts ul li { diff --git a/ui/index-test.html b/ui/index-test.html index 388bdab7785..63944dbde85 100644 --- a/ui/index-test.html +++ b/ui/index-test.html @@ -1442,6 +1442,7 @@ + diff --git a/ui/index.jsp b/ui/index.jsp index 85f5a5fd117..e1dbdc021f8 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -972,29 +972,11 @@
General Alerts
view all
-