mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
* namespace things * kmip * init and mount-info: * ssh sign * replication and remove type button * fix learn more on replication mode summary * use dropdown. * clean up * Update ui/lib/kv/addon/components/kv-version-dropdown.hbs Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com> * pr comments * Update replication-mode-summary.hbs * blah * fix * Update replication-mode-summary.hbs * add back mount-info --------- Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
46 lines
1.3 KiB
Handlebars
46 lines
1.3 KiB
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
{{#if @isActive}}
|
|
<Hds::Modal id="confirmation-modal" @onClose={{@onClose}} @color="critical" as |M|>
|
|
<M.Header data-test-confirmation-modal-title @icon="alert-triangle">
|
|
{{@title}}
|
|
</M.Header>
|
|
<M.Body>
|
|
{{yield}}
|
|
<div class="has-top-padding-m">
|
|
<p class="has-text-weight-semibold is-size-6">
|
|
Confirm
|
|
</p>
|
|
<p class="sub-text has-top-bottom-margin-xxs">Type
|
|
<strong>{{this.confirmText}}</strong>
|
|
to confirm
|
|
{{@toConfirmMsg}}
|
|
</p>
|
|
<Input
|
|
@type="text"
|
|
@value={{this.confirmationInput}}
|
|
name="confirmationInput"
|
|
class="input has-margin-top"
|
|
autocomplete="off"
|
|
spellcheck="false"
|
|
data-test-confirmation-modal-input={{@title}}
|
|
/>
|
|
</div>
|
|
</M.Body>
|
|
<M.Footer>
|
|
<Hds::ButtonSet>
|
|
<Hds::Button
|
|
@color="critical"
|
|
disabled={{not-eq this.confirmationInput this.confirmText}}
|
|
{{on "click" @onConfirm}}
|
|
data-test-confirm-button={{@title}}
|
|
@text={{or @buttonText "Confirm"}}
|
|
/>
|
|
<Hds::Button @text="Cancel" @color="secondary" {{on "click" @onClose}} data-test-cancel-button />
|
|
</Hds::ButtonSet>
|
|
</M.Footer>
|
|
</Hds::Modal>
|
|
{{/if}} |