From 5e8be4a43198eb6d8408dbec1631f0fa6610d4ef Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Sat, 18 Dec 2010 17:04:17 -0800 Subject: [PATCH] Place Add XXX buttons in each related page instead of index.jsp. --- ui/index.jsp | 168 +------------------ ui/jsp/account.jsp | 23 +++ ui/jsp/diskoffering.jsp | 14 ++ ui/jsp/domain.jsp | 14 ++ ui/jsp/host.jsp | 23 +++ ui/jsp/instance.jsp | 197 ++++++++++++++--------- ui/jsp/ipaddress.jsp | 17 +- ui/jsp/iso.jsp | 14 ++ ui/jsp/network.jsp | 49 +++++- ui/jsp/pod.jsp | 31 ++++ ui/jsp/resource.jsp | 27 +++- ui/jsp/securitygroup.jsp | 14 ++ ui/jsp/serviceoffering.jsp | 14 ++ ui/jsp/template.jsp | 14 ++ ui/jsp/volume.jsp | 16 +- ui/jsp/zone.jsp | 66 +++++++- ui/scripts/cloud.core.account.js | 41 ++--- ui/scripts/cloud.core.cluster.js | 14 +- ui/scripts/cloud.core.diskoffering.js | 7 +- ui/scripts/cloud.core.domain.js | 14 +- ui/scripts/cloud.core.host.js | 4 +- ui/scripts/cloud.core.init.js | 8 +- ui/scripts/cloud.core.instance.js | 42 ++--- ui/scripts/cloud.core.ipaddress.js | 6 +- ui/scripts/cloud.core.iso.js | 6 +- ui/scripts/cloud.core.js | 40 ++--- ui/scripts/cloud.core.network.js | 27 ++-- ui/scripts/cloud.core.pod.js | 19 ++- ui/scripts/cloud.core.resource.js | 21 ++- ui/scripts/cloud.core.securitygroup.js | 6 +- ui/scripts/cloud.core.serviceoffering.js | 7 +- ui/scripts/cloud.core.template.js | 6 +- ui/scripts/cloud.core.volume.js | 6 +- ui/scripts/cloud.core.zone.js | 34 ++-- 34 files changed, 582 insertions(+), 427 deletions(-) diff --git a/ui/index.jsp b/ui/index.jsp index da77f08dc56..042fc60e976 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -167,172 +167,10 @@ - - - + + +
+
+
+
+ Add Cluster
+ +
+
+
+
+
+ Add Host
+ +
+
+
+
+
+ Add Primary Storage
+ +
+
+
+
+
+ Add Secondary Storage
+ +
+
+
+
+
+ Add pod
+ +
+
+ +
+ + +