open-vault/ui/app/templates/components/configure-pki-secret.hbs
Arnav Palnitkar a517fe35a1
Update secret backend partial to components (#11768)
* Update secret backend partial to components

* Added jsdoc to components
2021-06-07 10:57:36 -07:00

22 lines
768 B
Handlebars

<div class="tabs-container box is-bottomless is-fullwidth is-paddingless">
<nav class="tabs">
<ul>
{{#each (array 'cert' 'urls' 'crl' 'tidy') as |section|}}
<LinkTo @route="vault.cluster.settings.configure-secret-backend.section" @model={{section}} @tagName="li" @activeClass="is-active">
<LinkTo @route="vault.cluster.settings.configure-secret-backend.section" @model={{section}}>
{{#if (eq section 'cert')}}
CA certificate
{{else if (eq section 'urls')}}
URLs
{{else if (eq section 'crl')}}
CRL
{{else if (eq section 'tidy')}}
Tidy
{{/if}}
</LinkTo>
</LinkTo>
{{/each}}
</ul>
</nav>
</div>