YARN-9600. Support self-adaption width for columns of containers table on app attempt page. Contributed by Tao Yang.

This commit is contained in:
Weiwei Yang 2019-06-05 13:55:30 +08:00
parent ef2da40a70
commit 433e97cd34
1 changed files with 2 additions and 1 deletions

View File

@ -155,7 +155,8 @@ public class AppAttemptBlock extends HtmlBlock {
// Container Table
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(".logs", "Logs").__().__().tbody();