open-vault/ui/app/templates/vault/error.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

35 lines
934 B
Handlebars

<NavHeader data-test-header-without-nav as |Nav|>
<Nav.home>
<HomeLink @class="navbar-item splash-page-logo">
{{partial "svg/vault-edition-logo"}}
</HomeLink>
</Nav.home>
</NavHeader>
<section class="section">
<div class="container">
{{#if (eq model.httpStatus 404)}}
{{not-found model=model}}
{{else}}
<PageHeader as |p|>
<p.levelLeft>
<h1 class="title is-3 has-text-grey">
{{#if (eq model.httpStatus 403)}}
Not authorized
{{else}}
Error
{{/if}}
</h1>
</p.levelLeft>
</PageHeader>
<div class="box is-sideless has-background-white-bis has-text-grey has-text-centered">
{{#if model.message}}
<p>{{model.message}}</p>
{{/if}}
{{#each model.errors as |error|}}
<p>{{error}}</p>
{{/each}}
</div>
{{/if}}
</div>
</section>