static: change login input type to email

This commit modifies the type of the login username input field from
`text` to `email`. This is an important usability feature for mobile
devices. You can still input a username instead of an email; it just
makes the `@` key easier to get to.
This commit is contained in:
Lucas Serven 2016-12-01 19:43:22 -08:00
parent 376578115f
commit 2ba1dcb4dc

View file

@ -1,5 +1,5 @@
<div class="signin-form-element" style="position: relative">
<form class="form-signin" ng-submit="signin();">
<form class="form-signin" ng-submit="signin();" novalidate>
<h4 quay-show="!Features.DIRECT_LOGIN && EXTERNAL_LOGINS.length > 2">
Login via service
@ -25,7 +25,7 @@
</div>
<div quay-show="Features.DIRECT_LOGIN">
<input type="text" class="form-control" id="signin-username" name="username"
<input type="email" class="form-control" id="signin-username" name="username"
placeholder="Username or E-mail Address" ng-model="signInUser.username"
ng-disabled="tryAgainSoon > 0 || signingIn" autofocus>