From 8e54d17bd53fb3fbeae903e179e6366ddefebbd7 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 26 Jul 2011 17:12:26 -0700 Subject: [PATCH] bug 10631: cloudStack - Instance page - details tab - add hypervisor gridrow. --- ui/jsp/instance.jsp | 80 +++++++++++++++++-------------- ui/scripts/cloud.core.instance.js | 8 ++-- 2 files changed, 50 insertions(+), 38 deletions(-) diff --git a/ui/jsp/instance.jsp b/ui/jsp/instance.jsp index 0d3659b15ec..15f3a3d282d 100644 --- a/ui/jsp/instance.jsp +++ b/ui/jsp/instance.jsp @@ -158,8 +158,18 @@ dictionary = { - +
+
+
+ :
+
+
+
+
+
+
+
:
@@ -169,7 +179,7 @@ dictionary = {
-
+
:
@@ -181,7 +191,7 @@ dictionary = {
-
+
:
@@ -191,7 +201,7 @@ dictionary = {
-
+
:
@@ -205,36 +215,6 @@ dictionary = {
-
-
-
- :
-
-
-
-
-
-
-
-
-
- :
-
-
-
-
-
-
-
-
-
- :
-
-
-
-
-
-
@@ -266,7 +246,37 @@ dictionary = {
-
+
+
+
+
+ :
+
+
+
+
+
+
+
+
+
+ :
+
+
+
+
+
+
+
+
+
+ :
+
+
+
+
+
+
diff --git a/ui/scripts/cloud.core.instance.js b/ui/scripts/cloud.core.instance.js index 05b93cb01dd..a5dabbb1845 100644 --- a/ui/scripts/cloud.core.instance.js +++ b/ui/scripts/cloud.core.instance.js @@ -1899,8 +1899,9 @@ function vmJsonToDetailsTab(){ $thisTab.find("#vmname").text(vmName); $thisTab.find("#vmname_edit").val(fromdb(jsonObj.displayname)); - $thisTab.find("#ipaddress").text(fromdb(jsonObj.ipaddress)); - + $thisTab.find("#ipaddress").text(fromdb(jsonObj.ipaddress)); + + $thisTab.find("#hypervisor").text(fromdb(jsonObj.hypervisor)); $thisTab.find("#templateName").text(fromdb(jsonObj.templatename)); $thisTab.find("#ostypename").text(osTypeMap[fromdb(jsonObj.guestosid)]); @@ -2243,7 +2244,8 @@ function vmJsonClearDetailsTab(){ $thisTab.find("#title").text(""); $thisTab.find("#vmname").text(""); $thisTab.find("#vmname_edit").val(""); - $thisTab.find("#ipaddress").text(""); + $thisTab.find("#ipaddress").text(""); + $thisTab.find("#hypervisor").text(""); $thisTab.find("#templateName").text(""); $thisTab.find("#ostypename").text(""); $thisTab.find("#ostypename_edit").val("");