|
@@ -65,14 +65,18 @@ class NodesPage extends RmView {
|
|
|
String type = $(NODE_STATE);
|
|
|
String labelFilter = $(NODE_LABEL, CommonNodeLabelsManager.ANY).trim();
|
|
|
TBODY<TABLE<Hamlet>> tbody =
|
|
|
- html.table("#nodes").thead().tr().th(".nodelabels", "Node Labels")
|
|
|
- .th(".rack", "Rack").th(".state", "Node State")
|
|
|
+ html.table("#nodes").thead().tr()
|
|
|
+ .th(".nodelabels", "Node Labels")
|
|
|
+ .th(".rack", "Rack")
|
|
|
+ .th(".state", "Node State")
|
|
|
.th(".nodeaddress", "Node Address")
|
|
|
.th(".nodehttpaddress", "Node HTTP Address")
|
|
|
.th(".lastHealthUpdate", "Last health-update")
|
|
|
.th(".healthReport", "Health-report")
|
|
|
- .th(".containers", "Containers").th(".mem", "Mem Used")
|
|
|
- .th(".mem", "Mem Avail").th(".vcores", "VCores Used")
|
|
|
+ .th(".containers", "Containers")
|
|
|
+ .th(".mem", "Mem Used")
|
|
|
+ .th(".mem", "Mem Avail")
|
|
|
+ .th(".vcores", "VCores Used")
|
|
|
.th(".vcores", "VCores Avail")
|
|
|
.th(".nodeManagerVersion", "Version")._()._().tbody();
|
|
|
NodeState stateFilter = null;
|
|
@@ -168,10 +172,10 @@ class NodesPage extends RmView {
|
|
|
|
|
|
private String nodesTableInit() {
|
|
|
StringBuilder b = tableInit().append(", aoColumnDefs: [");
|
|
|
- b.append("{'bSearchable': false, 'aTargets': [ 6 ]}");
|
|
|
+ b.append("{'bSearchable': false, 'aTargets': [ 7 ]}");
|
|
|
b.append(", {'sType': 'title-numeric', 'bSearchable': false, "
|
|
|
- + "'aTargets': [ 7, 8 ] }");
|
|
|
- b.append(", {'sType': 'title-numeric', 'aTargets': [ 4 ]}");
|
|
|
+ + "'aTargets': [ 8, 9 ] }");
|
|
|
+ b.append(", {'sType': 'title-numeric', 'aTargets': [ 5 ]}");
|
|
|
b.append("]}");
|
|
|
return b.toString();
|
|
|
}
|