diff --git a/ui/new/jsp/resource.jsp b/ui/new/jsp/resource.jsp
index 8a551a229a2..42303d0b8c7 100644
--- a/ui/new/jsp/resource.jsp
+++ b/ui/new/jsp/resource.jsp
@@ -255,7 +255,56 @@
- Cluster Page
+
+
+ <%=t.t("details")%>
+
+
+
+
Host page
diff --git a/ui/new/scripts/cloud.core2.resource.js b/ui/new/scripts/cloud.core2.resource.js
index b12f7ba3481..09a70bf50f2 100644
--- a/ui/new/scripts/cloud.core2.resource.js
+++ b/ui/new/scripts/cloud.core2.resource.js
@@ -230,7 +230,7 @@ function afterLoadResourceJSP() {
target.parent().parent().parent().addClass("selected");
showPage($clusterPage);
var jsonObj = target.data("jsonObj");
- //clusterObjectToRightPanel(jsonObj);
+ clusterJsonToDetailsTab(jsonObj);
break;
@@ -334,6 +334,17 @@ function afterLoadResourceJSP() {
}
//***** pod page (end) ********************************************************************************************************
+ //***** cluster page (bgein) **************************************************************************************************
+ function clusterJsonToDetailsTab(jsonObj) {
+ var $detailsTab = $clusterPage.find("#tab_content_details");
+ $detailsTab.data("jsonObj", jsonObj);
+ $detailsTab.find("#id").text(fromdb(jsonObj.id));
+ $detailsTab.find("#name").text(fromdb(jsonObj.name));
+ $detailsTab.find("#zonename").text(fromdb(jsonObj.zonename));
+ $detailsTab.find("#podname").text(fromdb(jsonObj.podname));
+ }
+ //***** cluster page (end) ****************************************************************************************************
+
//***** systemVM page (begin) *************************************************************************************************
function systemvmJsonToDetailsTab(jsonObj) {
var $detailsTab = $systemvmPage.find("#tab_content_details");