open-vault/ui/lib/kmip/addon/templates/components/header-credentials.hbs
Matthew Irish 29a85fa1c5
UI kmip acceptance (#7129)
* change the story blueprint so that using -ir will generate a story in the expected place for in-repo addons and engines

* update gen-story-md script to do output md to stories folder inside of in-repo addons and engines

* update storybook config to look for story files in /lib

* add story for list-view component

* add list view page object

* add kmip page objects and tests

* update storybook commands in the README

* split tests up more

* update var name in storybook
2019-08-01 16:04:59 -05:00

27 lines
737 B
Handlebars

<PageHeader as |p|>
<p.top>
<KmipBreadcrumb @scope={{@scope}} />
</p.top>
<p.levelLeft>
<h1 class="title is-3">
{{@role}}
</h1>
</p.levelLeft>
</PageHeader>
<div class="tabs-container box is-sideless is-fullwidth is-paddingless is-marginless">
<nav class="tabs">
<ul>
{{#link-to "credentials.index" @scope @role tagName="li"}}
{{#link-to "credentials.index" @scope @role data-test-kmip-link-credentials="true"}}
Credentials
{{/link-to}}
{{/link-to}}
{{#link-to "role" @scope @role tagName="li"}}
{{#link-to "role" @scope @role data-test-kmip-link-role-details="true"}}
Details
{{/link-to}}
{{/link-to}}
</ul>
</nav>
</div>