YARN-9600. Support self-adaption width for columns of containers table on app attempt page. Contributed by Tao Yang.
This commit is contained in:
parent
ef2da40a70
commit
433e97cd34
@ -155,7 +155,8 @@ public Collection<ContainerReport> run() throws Exception {
|
|||||||
|
|
||||||
// Container Table
|
// Container Table
|
||||||
TBODY<TABLE<Hamlet>> tbody =
|
TBODY<TABLE<Hamlet>> tbody =
|
||||||
html.table("#containers").thead().tr().th(".id", "Container ID")
|
html.table("#containers").$style("width:100%")
|
||||||
|
.thead().tr().th(".id", "Container ID")
|
||||||
.th(".node", "Node").th(".exitstatus", "Container Exit Status")
|
.th(".node", "Node").th(".exitstatus", "Container Exit Status")
|
||||||
.th(".logs", "Logs").__().__().tbody();
|
.th(".logs", "Logs").__().__().tbody();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user