open-vault/ui/app/templates/components/splash-page.hbs
Matthew Irish d93c92e4f5
UI - guard page redesign (#4779)
* add NavHeader component
* use NavHeader in SplashPage component and application.hbs
* let download button take a block
* add RadialProgress component
* use RadialProgress in ShamirFlow component
* style up the RadialProgress component
* update ember-basic-dropdown, ember-basic-dropdown-hover
* rework operation token generation workflow
* directly depend on ember-maybe-in-element
2018-06-26 16:35:47 -05:00

28 lines
957 B
Handlebars

<NavHeader as |Nav|>
<Nav.home>
<HomeLink @class="navbar-item splash-page-logo">
{{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>
<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="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>