._("Content has moved ") .a(location, "here")._() ._()._(); writer.close();
._("Content has moved ") .a(location, "here")._() ._()._(); writer.close();
._("Content has moved ") .a(location, "here")._() ._()._(); writer.close();
@Override protected void render(Block html) { TBODY<TABLE<BODY<Hamlet>>> tableBody = html .body() .table("#applications") .thead() .tr() .td()._("ApplicationId")._() .td()._("ApplicationState")._() ._() ._() .tbody(); for (Entry<ApplicationId, Application> entry : this.nmContext .getApplications().entrySet()) { AppInfo info = new AppInfo(entry.getValue()); tableBody .tr() .td().a(url("application", info.getId()), info.getId())._() .td()._(info.getState()) ._() ._(); } tableBody._()._()._(); } }
@Override protected void render(Block html) { TBODY<TABLE<BODY<Hamlet>>> tableBody = html .body() .table("#applications") .thead() .tr() .td()._("ApplicationId")._() .td()._("ApplicationState")._() ._() ._() .tbody(); for (Entry<ApplicationId, Application> entry : this.nmContext .getApplications().entrySet()) { AppInfo info = new AppInfo(entry.getValue()); tableBody .tr() .td().a(url("application", info.getId()), info.getId())._() .td()._(info.getState()) ._() ._(); } tableBody._()._()._(); } }
@Override protected void render(Block html) { TBODY<TABLE<BODY<Hamlet>>> tableBody = html.body() .table("#containers") .thead() .tr() .td()._("ContainerId")._() .td()._("ContainerState")._() .td()._("logs")._() ._() ._().tbody(); for (Entry<ContainerId, Container> entry : this.nmContext .getContainers().entrySet()) { ContainerInfo info = new ContainerInfo(this.nmContext, entry.getValue()); tableBody .tr() .td().a(url("container", info.getId()), info.getId()) ._() .td()._(info.getState())._() .td() .a(url(info.getShortLogLink()), "logs")._() ._(); } tableBody._()._()._(); }
@Override protected void render(Block html) { TBODY<TABLE<BODY<Hamlet>>> tableBody = html.body() .table("#containers") .thead() .tr() .td()._("ContainerId")._() .td()._("ContainerState")._() .td()._("logs")._() ._() ._().tbody(); for (Entry<ContainerId, Container> entry : this.nmContext .getContainers().entrySet()) { ContainerInfo info = new ContainerInfo(this.nmContext, entry.getValue()); tableBody .tr() .td().a(url("container", info.getId()), info.getId()) ._() .td()._(info.getState())._() .td() .a(url(info.getShortLogLink()), "logs")._() ._(); } tableBody._()._()._(); }
@Override protected void render(Block html) { TBODY<TABLE<BODY<Hamlet>>> tableBody = html .body() .table("#applications") .thead() .tr() .td()._("ApplicationId")._() .td()._("ApplicationState")._() ._() ._() .tbody(); for (Entry<ApplicationId, Application> entry : this.nmContext .getApplications().entrySet()) { AppInfo info = new AppInfo(entry.getValue()); tableBody .tr() .td().a(url("application", info.getId()), info.getId())._() .td()._(info.getState()) ._() ._(); } tableBody._()._()._(); } }
@Override protected void render(Block html) { TBODY<TABLE<BODY<Hamlet>>> tableBody = html.body() .table("#containers") .thead() .tr() .td()._("ContainerId")._() .td()._("ContainerState")._() .td()._("logs")._() ._() ._().tbody(); for (Entry<ContainerId, Container> entry : this.nmContext .getContainers().entrySet()) { ContainerInfo info = new ContainerInfo(this.nmContext, entry.getValue()); tableBody .tr() .td().a(url("container", info.getId()), info.getId()) ._() .td()._(info.getState())._() .td() .a(url(info.getShortLogLink()), "logs")._() ._(); } tableBody._()._()._(); }
@Override public void render(Page.HTML<_> html) { html. body(). div(). _(Sub1.class)._(). div(). i("inline text"). _(Sub2.class)._()._()._(); } }
@Override public void render(Page.HTML<_> html) { html. body(). div(). _(Sub1.class)._(). div(). i("inline text"). _(Sub2.class)._()._()._(); } }