open-vault/ui/app/templates/vault/cluster/settings/configure-secret-backend.hbs
Matthew Irish 924d1b4ddc
UI - code cleanup (#4699)
* use lazyCapabilities macro in models

* use expandAttributeMeta and fieldToAttrs everywhere

* add angle bracket component polyfill

* use PageHeader component throughout
2018-06-12 16:06:37 -05:00

34 lines
819 B
Handlebars

<PageHeader as |p|>
<p.top>
{{key-value-header
baseKey=model
path="vault.cluster.secrets.backend"
root=root
showCurrent=true
}}
</p.top>
<p.levelLeft>
<h1 class="title is-3">
Configure {{get (options-for-backend model.type) "displayName"}}
</h1>
</p.levelLeft>
<p.levelRight>
<div class="field is-grouped">
<div class="control">
{{#link-to
"vault.cluster.secrets.backend"
model.id
class="button has-icon-right is-ghost is-compact"
data-test-backend-view-link=true
}}
View backend
{{i-con glyph="chevron-right" size=11}}
{{/link-to}}
</div>
</div>
</p.levelRight>
</PageHeader>
{{partial (concat "partials/secret-backend-settings/" model.type)}}
{{outlet}}