Skip to content

Commit

Permalink
Allow MRU list and autofocus of username in login (#1758)
Browse files Browse the repository at this point in the history
* May assist a little on some portables and desktops
* macOS *(Catalina)* doesn't seem to support some attributes in any tested browser
* SM doesn't seem to support some attributes

Post #1194 #1174

Auto-merge
  • Loading branch information
Martii authored Sep 11, 2020
1 parent 270b1ef commit 20c3bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/pages/loginPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h3>
<i class="fa fa-user fa-fw"></i>
</span>
<div class="form-group has-feedback has-clear">
<input class="search form-control" type="text" name="username" value="{{wantname}}" placeholder="Username" spellcheck="false" autocomplete="off" autocorrect="off" autocapitalize="off" required="required">
<input class="search form-control" type="text" name="username" value="{{wantname}}" placeholder="Username" spellcheck="false" autofocus="autofocus" autocomplete="username" autocorrect="off" autocapitalize="off" required="required">
<span class="form-control-feedback form-control-clear fa fa-times hidden"></span>
</div>
<select name="auth" class="form-control">
Expand All @@ -41,7 +41,7 @@ <h3>
</ul>
</p>
<p>
<span class="small" style="white-space: normal;"><input type="checkbox" name="consent" value="true" required="required"> I understand and agree to these binding terms and policies.</span>
<label for="consent" class="small" style="white-space: normal;"><input type="checkbox" id="consent" name="consent" value="true" required="required"> I understand and agree to these binding terms &amp; policies.</label>
</p>
</div>
<div class="input-group-addon">
Expand Down

0 comments on commit 20c3bd9

Please sign in to comment.