@Override protected void renderData(Block html) { TBODY<TABLE<Hamlet>> tbody = html.table("#apps").thead().tr().th(".id", "ID").th(".user", "User") .th(".name", "Name").th(".type", "Application Type") .th(".queue", "Queue").th(".starttime", "StartTime") .th(".finalstatus", "FinalStatus").th(".progress", "Progress") .th(".ui", "Tracking UI").th(".blacklisted", "Blacklisted Nodes")._() ._().tbody();
thead().$class("ui-widget-header"). tr(). th().$class("ui-state-default")._("Apps Submitted")._(). th().$class("ui-state-default")._("Apps Pending")._(). th().$class("ui-state-default")._("Rebooted Nodes")._(). _(). _(). tbody().$class("ui-widget-content"). tr(). div.h3("User Metrics for " + user). table("#usermetricsoverview"). thead().$class("ui-widget-header"). tr(). th().$class("ui-state-default")._("Apps Submitted")._(). th().$class("ui-state-default")._("Apps Pending")._(). th().$class("ui-state-default")._("VCores Reserved")._(). _(). _(). tbody().$class("ui-widget-content"). tr(). thead().$class("ui-widget-header"). tr(). th().$class("ui-state-default")._("Scheduler Type")._(). th().$class("ui-state-default")._("Scheduling Resource Type")._().
thead().$class("ui-widget-header"). tr(). th().$class("ui-state-default")._("Apps Submitted")._(). th().$class("ui-state-default")._("Apps Pending")._(). th().$class("ui-state-default")._("Rebooted Nodes")._(). _(). _(). tbody().$class("ui-widget-content"). tr(). div.h3("User Metrics for " + user). table("#usermetricsoverview"). thead().$class("ui-widget-header"). tr(). th().$class("ui-state-default")._("Apps Submitted")._(). th().$class("ui-state-default")._("Apps Pending")._(). th().$class("ui-state-default")._("VCores Reserved")._(). _(). _(). tbody().$class("ui-widget-content"). tr(). thead().$class("ui-widget-header"). tr(). th().$class("ui-state-default")._("Scheduler Type")._(). th().$class("ui-state-default")._("Scheduling Resource Type")._().
String labelFilter = $(NODE_LABEL, CommonNodeLabelsManager.ANY).trim(); TBODY<TABLE<Hamlet>> tbody = html.table("#nodes").thead().tr() .th(".nodelabels", "Node Labels") .th(".rack", "Rack") .th(".vcores", "VCores Used") .th(".vcores", "VCores Avail") .th(".nodeManagerVersion", "Version")._()._().tbody(); NodeState stateFilter = null; if (type != null && !type.isEmpty()) {
table("#counters"). thead(). tr(). th(".group.ui-state-default", "Counter Group"). th(".ui-state-default", "Counters")._()._(). tbody(); for (CounterGroup g : total) { table(".dt-counters").$id(job.getID()+"."+g.getName()). thead(). tr().th(".name", "Name"); th(map == null ? "Value" : "Total")._()._(). tbody(); for (Counter counter : g) {
@Override protected void renderData(Block html) { TBODY<TABLE<Hamlet>> tbody = html.table("#apps").thead().tr().th(".id", "ID").th(".user", "User") .th(".name", "Name").th(".type", "Application Type") .th(".queue", "Queue").th(".starttime", "StartTime") .th(".finalstatus", "FinalStatus").th(".progress", "Progress") .th(".ui", "Tracking UI").th(".blacklisted", "Blacklisted Nodes")._() ._().tbody();
table("#counters"). thead(). tr(). th(".group.ui-state-default", "Counter Group"). th(".ui-state-default", "Counters")._()._(). tbody(); for (CounterGroup g : total) { table(".dt-counters").$id(job.getID()+"."+g.getName()). thead(). tr().th(".name", "Name"); th(map == null ? "Value" : "Total")._()._(). tbody(); for (Counter counter : g) {
protected void renderData(Block html) { TBODY<TABLE<Hamlet>> tbody = html.table("#apps").thead().tr().th(".id", "ID").th(".user", "User") .th(".name", "Name").th(".type", "Application Type") .th(".queue", "Queue").th(".starttime", "StartTime") .th(".finishtime", "FinishTime").th(".state", "State") .th(".finalstatus", "FinalStatus").th(".progress", "Progress") .th(".ui", "Tracking UI")._()._().tbody();
protected void renderData(Block html) { TBODY<TABLE<Hamlet>> tbody = html.table("#apps").thead().tr().th(".id", "ID").th(".user", "User") .th(".name", "Name").th(".type", "Application Type") .th(".queue", "Queue").th(".starttime", "StartTime") .th(".finishtime", "FinishTime").th(".state", "State") .th(".finalstatus", "FinalStatus").th(".progress", "Progress") .th(".ui", "Tracking UI")._()._().tbody();
protected void renderData(Block html) { TBODY<TABLE<Hamlet>> tbody = html.table("#apps").thead().tr().th(".id", "ID").th(".user", "User") .th(".name", "Name").th(".type", "Application Type") .th(".queue", "Queue").th(".priority", "Application Priority") .th(".starttime", "StartTime").th(".finishtime", "FinishTime") .th(".state", "State").th(".finalstatus", "FinalStatus") .th(".progress", "Progress").th(".ui", "Tracking UI")._()._().tbody();