23778935b0
* 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
20 lines
701 B
Handlebars
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>
|