vault/ui/app/components/wizard/methods/methods-wizard.hbs
Vault Automation 561a757ade
UI: Intro Page Style Updates + Fixes (#12488) (#12619)
* update styles and casing

* fix check for default secret engines

* show content behind intro modal

* revert header changes

* update alert and test

* add test coverage and update flash message

* update doc link style class and update test

* update tests

* update test to avoid state mismatches

* update test

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-03-05 17:52:36 +00:00

33 lines
916 B
Handlebars

{{!
Copyright IBM Corp. 2016, 2025
SPDX-License-Identifier: BUSL-1.1
}}
<Wizard @wizardId={{this.wizardId}} @isModal={{@isIntroModal}} @title="Authentication methods" @onDismiss={{this.onDismiss}}>
<:intro>
<Wizard::Methods::Intro />
</:intro>
<:introActions>
<Hds::ButtonSet>
<Hds::Button
@icon="plus"
@text="Enable a new method"
@route="vault.cluster.settings.auth.enable"
data-test-button="Enable a new method"
/>
<Hds::Button
@color="secondary"
@text={{if @isIntroModal "Close" "Skip"}}
{{on "click" this.onDismiss}}
data-test-button="Skip"
/>
<Hds::Link::Standalone
@icon="docs-link"
@iconPosition="trailing"
@text="View documentation"
@href={{doc-link "/vault/docs/auth"}}
class="margin-left-auto"
/>
</Hds::ButtonSet>
</:introActions>
</Wizard>