consul/ui-v2/app/templates/application.hbs

24 lines
549 B
Handlebars

<HeadLayout />
{{title 'Consul' separator=' - '}}
{{#if (not-eq router.currentRouteName 'application')}}
<HashicorpConsul
id="wrapper"
@permissions={{permissions}}
@dcs={{dcs}}
@dc={{or dc dcs.firstObject}}
@nspaces={{nspaces}}
@nspace={{or nspace nspaces.firstObject}}
@onchange={{action "reauthorize"}}
>
{{#if (not loading)}}
{{outlet}}
{{else}}
<AppView @class="loading show">
<BlockSlot @name="content">
<ConsulLoader />
</BlockSlot>
</AppView>
{{/if}}
</HashicorpConsul>
{{/if}}