open-vault/ui/lib/kmip/addon/templates/configuration.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

36 lines
770 B
Handlebars

<HeaderScope/>
<Toolbar>
<ToolbarActions>
{{#if model}}
<ToolbarDownloadButton
@actionText="Download CA cert"
@extension="pem"
@filename={{concat model.ca.id "-ca"}}
@data={{model.ca.caPem}}
/>
{{/if}}
<ToolbarLink
@params={{array "configure"}}
data-test-kmip-link-configure
>
Configure
</ToolbarLink>
</ToolbarActions>
</Toolbar>
{{#if model}}
<FieldGroupShow @model={{model}} />
<InfoTableRow
@label="CA PEM"
@value={{model.ca.caPem}}
/>
{{else}}
<EmptyState
@title="No configuration for this secrets engine yet"
@message="We'll need to configure a few things before getting started."
>
{{#link-to "configure"}}
Configure
{{/link-to}}
</EmptyState>
{{/if}}