mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-18 12:37:02 +02:00
47 lines
1.3 KiB
Handlebars
47 lines
1.3 KiB
Handlebars
<PageHeader as |p|>
|
|
<p.levelLeft>
|
|
<h1 class="title is-3">
|
|
{{titleize (pluralize this.identityType)}}
|
|
</h1>
|
|
</p.levelLeft>
|
|
</PageHeader>
|
|
<div class="tabs-container box is-sideless is-fullwidth is-paddingless is-marginless">
|
|
<nav class="tabs">
|
|
<ul>
|
|
<LinkTo @route="vault.cluster.access.identity.index" @model={{pluralize this.identityType}}>
|
|
{{capitalize (pluralize this.identityType)}}
|
|
</LinkTo>
|
|
<LinkTo @route="vault.cluster.access.identity.aliases.index" @model={{pluralize this.identityType}}>
|
|
Aliases
|
|
</LinkTo>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
<Toolbar>
|
|
{{#if this.model.meta.total}}
|
|
<ToolbarFilters>
|
|
<Identity::LookupInput @type={{this.identityType}} />
|
|
</ToolbarFilters>
|
|
{{/if}}
|
|
<ToolbarActions>
|
|
{{#if (eq this.identityType "entity")}}
|
|
<ToolbarLink
|
|
@route={{"vault.cluster.access.identity.merge"}}
|
|
@model={{pluralize this.identityType}}
|
|
data-test-entity-merge-link={{true}}
|
|
>
|
|
Merge
|
|
{{pluralize this.identityType}}
|
|
</ToolbarLink>
|
|
{{/if}}
|
|
<ToolbarLink
|
|
@route="vault.cluster.access.identity.create"
|
|
@model={{pluralize this.identityType}}
|
|
@type="add"
|
|
data-test-entity-create-link={{true}}
|
|
>
|
|
Create
|
|
{{this.identityType}}
|
|
</ToolbarLink>
|
|
</ToolbarActions>
|
|
</Toolbar> |