mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-17 12:07:02 +02:00
* removal stage 1 * remove unused roles file * more changes and glimmerize toggle * clean up * fix * fixes * remove layout
45 lines
1.3 KiB
Handlebars
45 lines
1.3 KiB
Handlebars
<PageHeader as |p|>
|
|
<p.levelLeft>
|
|
<h1 class="title is-3">
|
|
{{capitalize (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
|
|
@params={{array "vault.cluster.access.identity.merge" (pluralize this.identityType)}}
|
|
@data-test-entity-merge-link={{true}}
|
|
>
|
|
Merge
|
|
{{pluralize this.identityType}}
|
|
</ToolbarLink>
|
|
{{/if}}
|
|
<ToolbarLink
|
|
@type="add"
|
|
@params={{array "vault.cluster.access.identity.create" (pluralize this.identityType)}}
|
|
@data-test-entity-create-link={{true}}
|
|
>
|
|
Create
|
|
{{this.identityType}}
|
|
</ToolbarLink>
|
|
</ToolbarActions>
|
|
</Toolbar> |