diff --git a/client/WEB-INF/classes/resources/resource.properties b/client/WEB-INF/classes/resources/resource.properties
index 9b282a5732f..848823ebffd 100644
--- a/client/WEB-INF/classes/resources/resource.properties
+++ b/client/WEB-INF/classes/resources/resource.properties
@@ -51,6 +51,8 @@ snapshot.limit = Snapshot Limit
template.limit = Template Limit
URL = URL
zone = Zone
+pod = Pod
+cluster = Cluster
bootable = Bootable
group = Group
storage.type = Storage Type
@@ -79,6 +81,10 @@ active.sessions = Active Sessions
public.ip = Public IP
private.ip = Private IP
host = Host
+state = State
+os.preference = OS Preference
+last.disconnected = Last Disconnected
+
disk.offering = Disk Offering
copy.ISO.to = Copy ISO to
diff --git a/ui/new/jsp/resource.jsp b/ui/new/jsp/resource.jsp
index 42303d0b8c7..0b4d170d037 100644
--- a/ui/new/jsp/resource.jsp
+++ b/ui/new/jsp/resource.jsp
@@ -307,7 +307,116 @@
- Host page
+
+
+ <%=t.t("details")%>
+
+
+
+
+
+
+
+
+
+
+
+
+ <%=t.t("cluster")%>:
+
+
+
+
+
+
+ <%=t.t("ip.address")%>:
+
+
+
+
+
+
+ <%=t.t("version")%>:
+
+
+
+
+
+
+ <%=t.t("os.preference")%>:
+
+
+
+
+
+
+ <%=t.t("last.disconnected")%>:
+
+
+
+
+
+
Primary Storage Page
diff --git a/ui/new/scripts/cloud.core2.resource.js b/ui/new/scripts/cloud.core2.resource.js
index 09a70bf50f2..0e8f4e70bf0 100644
--- a/ui/new/scripts/cloud.core2.resource.js
+++ b/ui/new/scripts/cloud.core2.resource.js
@@ -249,7 +249,7 @@ function afterLoadResourceJSP() {
target.parent().parent().parent().addClass("selected");
showPage($hostPage);
var jsonObj = target.data("jsonObj");
- //hostObjectToRightPanel(jsonObj);
+ hostJsonToDetailsTab(jsonObj);
break;
@@ -345,6 +345,23 @@ function afterLoadResourceJSP() {
}
//***** cluster page (end) ****************************************************************************************************
+ //***** host page (bgein) *****************************************************************************************************
+ function hostJsonToDetailsTab(jsonObj) {
+ var $detailsTab = $hostPage.find("#tab_content_details");
+ $detailsTab.data("jsonObj", jsonObj);
+ $detailsTab.find("#id").text(fromdb(jsonObj.id));
+ $detailsTab.find("#name").text(fromdb(jsonObj.name));
+ $detailsTab.find("#state").text(fromdb(jsonObj.state));
+ $detailsTab.find("#zonename").text(fromdb(jsonObj.zonename));
+ $detailsTab.find("#podname").text(fromdb(jsonObj.podname));
+ $detailsTab.find("#clustername").text(fromdb(jsonObj.clustername));
+ $detailsTab.find("#ipaddress").text(fromdb(jsonObj.ipaddress));
+ $detailsTab.find("#version").text(fromdb(jsonObj.version));
+ $detailsTab.find("#oscategoryname").text(fromdb(jsonObj.oscategoryname));
+ $detailsTab.find("#disconnected").text(fromdb(jsonObj.disconnected));
+ }
+ //***** host page (end) *******************************************************************************************************
+
//***** systemVM page (begin) *************************************************************************************************
function systemvmJsonToDetailsTab(jsonObj) {
var $detailsTab = $systemvmPage.find("#tab_content_details");