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:
parent
376578115f
commit
2ba1dcb4dc
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
<div class="signin-form-element" style="position: relative">
|
<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">
|
<h4 quay-show="!Features.DIRECT_LOGIN && EXTERNAL_LOGINS.length > 2">
|
||||||
Login via service
|
Login via service
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div quay-show="Features.DIRECT_LOGIN">
|
<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"
|
placeholder="Username or E-mail Address" ng-model="signInUser.username"
|
||||||
ng-disabled="tryAgainSoon > 0 || signingIn" autofocus>
|
ng-disabled="tryAgainSoon > 0 || signingIn" autofocus>
|
||||||
|
|
||||||
|
|
Reference in a new issue