diff --git a/ui/app/templates/servers.hbs b/ui/app/templates/servers.hbs index a2bdbc84d..321325ca1 100644 --- a/ui/app/templates/servers.hbs +++ b/ui/app/templates/servers.hbs @@ -1,46 +1,41 @@ -
- {{#global-header class="page-header"}} - {{app-breadcrumbs}} - {{/global-header}} - {{#gutter-menu class="page-body"}} -
- {{#if isForbidden}} - {{partial "partials/forbidden-message"}} - {{else}} - {{#list-pagination - source=sortedAgents - size=pageSize - page=currentPage as |p|}} - {{#list-table - source=p.list - sortProperty=sortProperty - sortDescending=sortDescending - class="with-foot" as |t|}} - {{#t.head}} - {{#t.sort-by prop="name"}}Name{{/t.sort-by}} - {{#t.sort-by prop="status"}}Status{{/t.sort-by}} - {{#t.sort-by prop="isLeader"}}Leader{{/t.sort-by}} - {{#t.sort-by prop="address"}}Address{{/t.sort-by}} - {{#t.sort-by prop="serfPort"}}port{{/t.sort-by}} - {{#t.sort-by prop="datacenter"}}Datacenter{{/t.sort-by}} - {{/t.head}} - {{#t.body as |row|}} - {{server-agent-row data-test-server-agent-row agent=row.model}} - {{/t.body}} - {{/list-table}} -
- -
- {{/list-pagination}} - {{outlet}} - {{/if}} -
- {{/gutter-menu}} -
+{{#page-layout}} +
+ {{#if isForbidden}} + {{partial "partials/forbidden-message"}} + {{else}} + {{#list-pagination + source=sortedAgents + size=pageSize + page=currentPage as |p|}} + {{#list-table + source=p.list + sortProperty=sortProperty + sortDescending=sortDescending + class="with-foot" as |t|}} + {{#t.head}} + {{#t.sort-by prop="name"}}Name{{/t.sort-by}} + {{#t.sort-by prop="status"}}Status{{/t.sort-by}} + {{#t.sort-by prop="isLeader"}}Leader{{/t.sort-by}} + {{#t.sort-by prop="address"}}Address{{/t.sort-by}} + {{#t.sort-by prop="serfPort"}}port{{/t.sort-by}} + {{#t.sort-by prop="datacenter"}}Datacenter{{/t.sort-by}} + {{/t.head}} + {{#t.body as |row|}} + {{server-agent-row data-test-server-agent-row agent=row.model}} + {{/t.body}} + {{/list-table}} +
+ +
+ {{/list-pagination}} + {{outlet}} + {{/if}} +
+{{/page-layout}}