mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 12:26:34 +02:00
* 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>
28 lines
876 B
Handlebars
28 lines
876 B
Handlebars
{{!
|
|
Copyright IBM Corp. 2016, 2025
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
{{#if @isModal}}
|
|
<Hds::Modal id={{@title "-intro-modal"}} @size="large" @onClose={{@onDismiss}} class="modal" ...attributes as |M|>
|
|
<M.Header>Welcome to {{@title}} </M.Header>
|
|
<M.Body>
|
|
<Hds::Layout::Flex @align="start" @gap="48">
|
|
{{yield to="body"}}
|
|
</Hds::Layout::Flex>
|
|
</M.Body>
|
|
<M.Footer>
|
|
{{yield to="actions"}}
|
|
</M.Footer>
|
|
</Hds::Modal>
|
|
{{else}}
|
|
<Hds::Card::Container @level="mid" @hasBorder={{true}} class="full" ...attributes>
|
|
<Hds::Text::Display @tag="h1" @size="400" @weight="bold" class="has-bottom-margin-xs">
|
|
Welcome to
|
|
{{@title}}
|
|
</Hds::Text::Display>
|
|
<Hds::Layout::Grid @columnWidth="50%" @gap="16">
|
|
{{yield to="body"}}
|
|
</Hds::Layout::Grid>
|
|
{{yield to="actions"}}
|
|
</Hds::Card::Container>
|
|
{{/if}} |