open-vault/ui/app/templates/vault/cluster/secrets/backend/configuration.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

20 lines
701 B
Handlebars

{{secret-list-header model=model isConfigure=true backendCrumb=(hash label=model.id text=model.id path="vault.cluster.secrets.backend.list-root" model=model.id)}}
<div class="box is-fullwidth is-sideless is-paddingless is-marginless">
{{#each model.attrs as |attr|}}
{{#if (eq attr.type "object")}}
{{info-table-row
alwaysRender=true
label=(or attr.options.label (to-label attr.name))
value=(stringify (get model attr.name))
}}
{{else}}
{{info-table-row
alwaysRender=(not-eq attr.name 'options.version')
label=(or attr.options.label (to-label attr.name))
value=(get model attr.name)
}}
{{/if}}
{{/each}}
</div>