open-vault/ui/app/templates/components/auth-form-options.hbs
Angel Garbarino 7012aab272
UI/okta duo push notification (#11442)
* initial setup

* add delay and modify message

* test

* changing to different style because unable to interrupt the yield of authentication

* cleanup

* more consitency in messssage placement

* fix test

* clean up test notification

* clean up

* remove click

* changelog

* Update 11442.txt

* revert changes so a message is delayed by not calling yield

* amend test

* remove padding-bottom as no longer needed with reposition of message location
2021-05-06 12:29:39 -06:00

32 lines
844 B
Handlebars

{{#unless this.selectedAuthIsPath}}
<div class="box has-slim-padding is-shadowless">
<ToggleButton
@toggleTarget={{this}}
@toggleAttr="isOpen"
/>
{{#if this.isOpen}}
<div class="field">
<label for="custom-path" class="is-label">
Mount path
</label>
<div class="control">
<input
type="text"
name="custom-path"
id="custom-path"
class="input"
value={{@customPath}}
oninput={{action @onPathChange value="target.value"}}
/>
</div>
<AlertInline
@sizeSmall=true
@paddingTop=true
@type="info"
@message="If this backend was mounted using a non-default path, enter it here."
/>
</div>
{{/if}}
</div>
{{/unless}}