open-vault/ui/app/templates/components/mount-info.hbs
Madalyn 8338b9b0e3
OpenAPI CRUD views (#6702)
Dynamically generate views from OpenAPI document to List/CRUD LDAP users and groups in the UI
2019-06-21 11:18:26 -04:00

34 lines
848 B
Handlebars

<PageHeader as |p|>
<p.top>
{{key-value-header
baseKey=model
path="vault.cluster.access.method"
root=root
showCurrent=true
}}
</p.top>
<p.levelLeft>
<h1 class="title is-3">
{{capitalize model.methodType}}
</h1>
</p.levelLeft>
<p.levelRight>
{{#if (eq section "configuration")}}
<div class="field is-grouped">
<div class="control">
{{#link-to
"vault.cluster.settings.auth.configure"
model.id
class="button is-ghost has-icon-right is-compact"
data-test-configure-link=true
}}
Configure
<Chevron />
{{/link-to}}
</div>
</div>
{{/if}}
</p.levelRight>
</PageHeader>
{{section-tabs model "authShow"}}
{{component (concat "auth-method/" section) model=model}}