open-vault/ui/app/templates/components/page-header.hbs
Matthew Irish 23778935b0
UI - make engine list more consistent with the auth method list (#4598)
* remove expanding behavior from engines list and add a configuration route

* use page header component, secret tab component for the template on the secret engine configuration route

* move abstraction to secret-list-header and remove secret-tabs

* add attrs to secret engine model and adjust mount controller code to support that

* fix top level nav so that we can use the back button properly

* fix tests
2018-05-23 11:25:52 -05:00

16 lines
476 B
Handlebars

<header class="page-header">
{{#if hasLevel}}
{{yield (hash top=(component 'page-header-top'))}}
<div class="level">
<div class="level-left">
{{yield (hash levelLeft=(component 'page-header-level-left'))}}
</div>
<div class="level-right field is-grouped">
{{yield (hash levelRight=(component 'page-header-level-right'))}}
</div>
</div>
{{else}}
{{yield (hash top=(component 'page-header-top'))}}
{{/if}}
</header>