@Override public void renderOn(HtmlCanvas html) throws IOException { HtmlCanvas tbody = html .table(class_("table table-condensed")) .tbody(); for (File file : files) { tbody .tr() .td(class_(tdClass)).content(root.relativize(file.toPath()).toString()) ._tr(); } tbody ._tbody() ._table(); } }
@Override public void renderOn(HtmlCanvas html) throws IOException { HtmlCanvas tbody = html .table(class_("table table-condensed")) .tbody(); for (File file : files) { tbody .tr() .td(class_(tdClass)).content(root.relativize(file.toPath()).toString()) ._tr(); } tbody ._tbody() ._table(); } }
@Override public void renderOn(HtmlCanvas html) throws IOException { HtmlCanvas tbody = html .table(class_("table table-striped table-condensed")) .tbody(); int id = 0; for (Pair<File, File> file : files) { tbody .tr() .td(class_("col-md-10")).content(comparator.getSrc().relativize(file.getFirst().toPath()).toString()) .td(class_("col-md-2")) .a(class_("btn btn-primary btn-xs").href("/diff/" + id)).content("diff") .write(" ") .a(class_("btn btn-primary btn-xs").href("/mergely/" + id)).content("mergely") .write(" ") .a(class_("btn btn-primary btn-xs").href("/script/" + id)).content("script") ._td() ._tr(); id++; } tbody ._tbody() ._table(); }
@Override public void renderOn(HtmlCanvas html) throws IOException { HtmlCanvas tbody = html .table(class_("table table-striped table-condensed")) .tbody(); int id = 0; for (Pair<File, File> file : files) { tbody .tr() .td(class_("col-md-10")).content(comparator.getSrc().relativize(file.getFirst().toPath()).toString()) .td(class_("col-md-2")) .a(class_("btn btn-primary btn-xs").href("/diff/" + id)).content("diff") .write(" ") .a(class_("btn btn-primary btn-xs").href("/mergely/" + id)).content("mergely") .write(" ") .a(class_("btn btn-primary btn-xs").href("/script/" + id)).content("script") ._td() ._tr(); id++; } tbody ._tbody() ._table(); }
_tr(). _thead(). tbody();
@Override public void renderOn(HtmlCanvas html) throws IOException { html. div(class_("section")). h3(id("Lifecycle_"+this.getPackagingName())).a(href("packaging-"+this.getPackagingName()+".html")).write(this.getPackagingName())._a()._h3(). table(border("0").class_("bodyTable table table-striped table-hover")). thead(). tr(class_("a")). th().write("Phase")._th(). th().write("Goal")._th(). _tr() ._thead(). tbody(); for (t3.LifecyclesUtils.Phase phase : this.getPhases()) { ((Phase) phase).renderOn(html); } html ._tbody() ._table() ._div(); }