From 1e6c16e294bab998c6b34e25a06705b23dc14ba4 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 30 Dec 2010 13:13:44 -0800 Subject: [PATCH] physical resource - (1) always show host node and storage node even the cluster doesn't have any host/storage. (2) host page - remove Add Primary Storage option. (3) Primary Storage page - remove Add Host option. --- ui/index.jsp | 6 +- ui/jsp/host.jsp | 113 +-------------------- ui/jsp/primarystorage.jsp | 125 +----------------------- ui/scripts/cloud.core.cluster.js | 1 + ui/scripts/cloud.core.host.js | 7 +- ui/scripts/cloud.core.pod.js | 2 +- ui/scripts/cloud.core.primarystorage.js | 13 +-- ui/scripts/cloud.core.resource.js | 102 +------------------ 8 files changed, 16 insertions(+), 353 deletions(-) diff --git a/ui/index.jsp b/ui/index.jsp index 3ea66faabda..510493ccf98 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -841,14 +841,14 @@
-
+
:
- - + -
-
-
-
- Add Host
- -
-
+
@@ -209,120 +200,6 @@
- - -