open-vault/ui/app/templates/components/splash-page.hbs
2018-08-28 00:03:55 -05:00

33 lines
1.1 KiB
Handlebars

<NavHeader as |Nav|>
<Nav.home>
<HomeLink @class="navbar-item splash-page-logo has-text-white">
{{partial "svg/vault-edition-logo"}}
</HomeLink>
</Nav.home>
<Nav.items>
{{#if (and activeCluster.unsealed version.isEnterprise)}}
<div class="navbar-item">
<StatusMenu @type="replication-status" @itemTag="p" />
</div>
{{/if}}
</Nav.items>
</NavHeader>
<UiWizard>
<div class="splash-page-container section is-flex-v-centered-tablet is-flex-1 is-fullwidth">
<div class="columns is-centered is-gapless is-fullwidth">
<div class="column is-4-desktop is-6-tablet">
<div class="splash-page-header">
{{yield (hash header=(component 'splash-page/splash-header'))}}
</div>
<div class="splash-page-sub-header">
{{yield (hash sub-header=(component 'splash-page/splash-header'))}}
</div>
<div class="login-form box is-paddingless is-relative">
{{yield (hash content=(component 'splash-page/splash-content'))}}
</div>
{{yield (hash footer=(component 'splash-page/splash-content')) }}
</div>
</div>
</div>
</UiWizard>