feat(xo-web): autofocus username login page (#3836)

Fixes #3835
This commit is contained in:
Enishowk 2019-01-09 09:44:38 +01:00 committed by Julien Fontanet
parent 20317448a1
commit 5d0f1c9cce
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@
- [VM/advanced] ACL management from VM view [#3040](https://github.com/vatesfr/xen-orchestra/issues/3727) (PR [#3040](https://github.com/vatesfr/xen-orchestra/pull/3774))
- [VM / snapshots] Ability to save the VM memory [#3795](https://github.com/vatesfr/xen-orchestra/issues/3795) (PR [#3812](https://github.com/vatesfr/xen-orchestra/pull/3812))
- [Backup NG / Health] Show number of lone snapshots in tab label [#3500](https://github.com/vatesfr/xen-orchestra/issues/3500) (PR [#3824](https://github.com/vatesfr/xen-orchestra/pull/3824))
- [Login] Add autofocus on username input on login page [#3835](https://github.com/vatesfr/xen-orchestra/issues/3835) (PR [#3836](https://github.com/vatesfr/xen-orchestra/pull/3836))
### Bug fixes

View File

@ -20,10 +20,11 @@ html
span.input-group-addon
i.xo-icon-user.fa-fw
input.form-control(
autofocus
name = 'username'
type = 'text'
placeholder = 'Username'
required
type = 'text'
)
.input-group.mb-1
span.input-group-addon