mirror of
https://github.com/hashicorp/vault.git
synced 2025-09-17 03:41:07 +02:00
* clean up selectors file and then update testButton to buttonByAttr * a lot but not really in the scheme of things * fix component test failures * fix acceptance test failures * fix namespace selector * clean up remaining tests * another test * last test * small changes, but I have test failures * a mess in custom messages, really hard to test because of test pollution. * make data-test-submit vs data-test-save * change other-methods to sign in with other methods * clean up of failing test * buttonByAttr to button * clean up test pollution on config messages * sweep of clean ups * another round of small cleanups * fix some message things, remaining oidc issue? * use a runCmd to better delete things * fix to amend for recent auth test changes * remove skip
39 lines
1.2 KiB
Handlebars
39 lines
1.2 KiB
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
<PageHeader as |p|>
|
|
<p.top>
|
|
<Hds::Breadcrumb>
|
|
<Hds::Breadcrumb::Item
|
|
@text={{@backendPath}}
|
|
@route="vault.cluster.secrets.backend"
|
|
@model={{@backendPath}}
|
|
data-test-link="role-list"
|
|
/>
|
|
<Hds::Breadcrumb::Item @text={{@keyName}} @route="vault.cluster.secrets.backend.show" @model={{@keyName}} />
|
|
<Hds::Breadcrumb::Item @text={{this.title}} @current={{true}} />
|
|
</Hds::Breadcrumb>
|
|
</p.top>
|
|
<p.levelLeft>
|
|
<h1 data-test-title class="title is-3">
|
|
{{this.title}}
|
|
</h1>
|
|
</p.levelLeft>
|
|
</PageHeader>
|
|
|
|
<div class="box is-fullwidth is-sideless is-paddingless is-marginless">
|
|
<InfoTableRow @label="Code">
|
|
<MaskedInput @name="code" @value={{this.totpCode}} @displayOnly={{true}} @allowCopy={{true}} />
|
|
<label class="has-left-padding-s">
|
|
<div>Valid for {{this.remainingTime}} seconds</div>
|
|
<progress id="code-validity" value={{this.remainingTime}} max={{@totpCodePeriod}} />
|
|
</label>
|
|
</InfoTableRow>
|
|
</div>
|
|
<div class="field is-grouped box is-fullwidth is-bottomless">
|
|
<div class="control">
|
|
<Hds::Button @text="Back" @color="secondary" {{on "click" this.redirectPreviousPage}} />
|
|
</div>
|
|
</div> |