2018-06-12 21:06:37 +00:00
|
|
|
<PageHeader as |p|>
|
|
|
|
<p.levelLeft>
|
|
|
|
<h1 class="title is-3">
|
|
|
|
Lookup Token
|
|
|
|
</h1>
|
|
|
|
</p.levelLeft>
|
|
|
|
</PageHeader>
|
2018-04-03 14:16:57 +00:00
|
|
|
|
|
|
|
{{#if (or creation_time creation_ttl)}}
|
|
|
|
<div class="box is-fullwidth is-sideless is-paddingless is-marginless">
|
2018-05-29 02:50:37 +00:00
|
|
|
{{info-table-row label="Creation path" value=creation_path data-test-tools="token-lookup-row"}}
|
2018-04-03 14:16:57 +00:00
|
|
|
{{info-table-row label="Creation time" value=creation_time data-test-tools="token-lookup-row"}}
|
|
|
|
{{info-table-row label="Creation TTL" value=creation_ttl data-test-tools="token-lookup-row"}}
|
|
|
|
{{#if expirationDate}}
|
|
|
|
{{info-table-row label="Expiration date" value=expirationDate data-test-tools="token-lookup-row"}}
|
|
|
|
{{info-table-row label="Expires in" value=(moment-from-now expirationDate interval=1000 hideSuffix=true) data-test-tools="token-lookup-row"}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="field is-grouped box is-fullwidth is-bottomless">
|
|
|
|
<div class="control">
|
|
|
|
<button {{action 'onClear'}} type="button" class="button">
|
|
|
|
Back
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
<div class="box is-sideless is-fullwidth is-marginless">
|
2018-08-16 17:48:24 +00:00
|
|
|
<NamespaceReminder @mode="perform" @noun={{selectedAction}} />
|
|
|
|
{{message-error errors=errors}}
|
2018-04-03 14:16:57 +00:00
|
|
|
<div class="field">
|
|
|
|
<label for="token" class="is-label">Wrapping token</label>
|
|
|
|
<div class="control">
|
|
|
|
{{input
|
|
|
|
value=token
|
|
|
|
class="input"
|
|
|
|
id="token"
|
|
|
|
name="token"
|
|
|
|
data-test-tools-input="wrapping-token"
|
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field is-grouped box is-fullwidth is-bottomless">
|
|
|
|
<div class="control">
|
|
|
|
<button type="submit" data-test-tools-submit="true" class="button is-primary">
|
|
|
|
Lookup Token
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|