mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-12 14:21:10 +01:00
* replace confirm-action dropdown with button+modal * add modal frame to sidebar * fix weird paragraph indent * pass button text as arg * add warning color to rotate modals * update seal action and config ssh * cleanup confirm action * edit form * add dropdown arg * put back seal text * put back confirm button text * fix toolbar stylinggp * popup member group * move up title * finish popup- components * keymgmt * fix modal button logic * remaining app template components * add period for angel * vault cluster items * add button text assertion * remaining instances * remove arg for passing confirm text * contextual confirm action components * delete old components * update docs * ammend dropdown loading states, add getter for confirm button color * address feedback * remove @disabled arg and add @disabledMessage * add changelog; * mfa tests * update test selectors * lol cleanup selectors * start confirm action tests WIP * move dropdown class directly to component * add default color of isInDropdown * final cleanup * add tests * remove @buttonColor as arg for dropdown * update confirm action tests * updae modals with disabled message * refactor provider edit test
46 lines
1.2 KiB
Handlebars
46 lines
1.2 KiB
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<PageHeader as |p|>
|
|
<p.top>
|
|
<Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
|
|
</p.top>
|
|
<p.levelLeft>
|
|
<h1 class="title is-3" data-test-header-title>
|
|
{{@model.name}}
|
|
</h1>
|
|
</p.levelLeft>
|
|
</PageHeader>
|
|
|
|
<div class="tabs-container box is-bottomless is-marginless is-paddingless">
|
|
<nav class="tabs" aria-label="ldap tabs">
|
|
<ul>
|
|
<LinkTo @route="libraries.library.details.accounts" data-test-tab="accounts">Accounts</LinkTo>
|
|
<LinkTo @route="libraries.library.details.configuration" data-test-tab="config">Configuration</LinkTo>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
<Toolbar>
|
|
<ToolbarActions>
|
|
{{#if @model.canDelete}}
|
|
<ConfirmAction
|
|
@buttonText="Delete library"
|
|
class="toolbar-button"
|
|
@buttonColor="secondary"
|
|
@onConfirmAction={{this.delete}}
|
|
data-test-delete
|
|
/>
|
|
{{#if @model.canEdit}}
|
|
<div class="toolbar-separator"></div>
|
|
{{/if}}
|
|
{{/if}}
|
|
{{#if @model.canEdit}}
|
|
<ToolbarLink @route="libraries.library.edit" data-test-edit>
|
|
Edit library
|
|
</ToolbarLink>
|
|
{{/if}}
|
|
</ToolbarActions>
|
|
</Toolbar> |