mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-19 02:49:18 -05:00
* removes require-input-label ember-template-lint override * adds aria-label to textarea in MaskedInput component * more a11y fixes for missing labels * adds aria-label back to lookup-input * adds aria-label back to select component * ensures aria-label has value in select component * removes duplicate onchange handler from lookup-input component Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
28 lines
No EOL
800 B
Handlebars
28 lines
No EOL
800 B
Handlebars
{{!
|
|
Copyright IBM Corp. 2016, 2025
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
<div class="console-ui-input" data-test-component="console/command-input">
|
|
{{#if this.isRunning}}
|
|
<div class="control console-spinner is-loading"></div>
|
|
{{else}}
|
|
<Chevron />
|
|
{{/if}}
|
|
<input
|
|
aria-label="Web R.E.P.L."
|
|
onkeyup={{action "handleKeyUp"}}
|
|
value={{this.value}}
|
|
autocomplete="off"
|
|
spellcheck="false"
|
|
/>
|
|
<Hds::Button
|
|
class="hds-side-nav__icon-button"
|
|
{{on "click" (action "fullscreen")}}
|
|
data-test-dismiss-console-button
|
|
@icon={{if this.isFullscreen "minimize" "maximize"}}
|
|
@text={{if this.isFullscreen "Minimize window" "Maximize window"}}
|
|
@isIconOnly={{true}}
|
|
/>
|
|
</div>
|
|
<NamespaceReminder @class="console-reminder" @mode="execute" @noun="command" /> |