open-consul/ui/packages/consul-ui/app/templates/dc/show.hbs

51 lines
1.2 KiB
Handlebars

<Route
@name={{routeName}}
as |route|>
<AppView>
<BlockSlot @name="header">
<h1>
<route.Title @title={{compute (fn route.t 'title')}} />
</h1>
</BlockSlot>
<BlockSlot @name="toolbar">
</BlockSlot>
<BlockSlot @name="nav">
{{#if false}}
<TabNav @items={{
compact
(array
(hash
label=(compute (fn route.t 'serverstatus.title'))
href=(href-to "dc.show.serverstatus")
selected=(is-href "dc.show.serverstatus")
)
(if false
(hash
label=(compute (fn route.t 'cataloghealth.title'))
href=(href-to 'dc.show.cataloghealth')
selected=(is-href 'dc.show.cataloghealth')
)
'')
(if (can 'read license')
(hash
label=(compute (fn route.t 'license.title'))
href=(href-to 'dc.show.license')
selected=(is-href 'dc.show.license')
)
)
'')
}}/>
{{/if}}
</BlockSlot>
<BlockSlot @name="content">
<Outlet
@name={{routeName}}
@model={{route.model}}
as |o|>
{{outlet}}
</Outlet>
</BlockSlot>
</AppView>
</Route>