mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-23 21:17:45 +00:00
Auto focus the username fields for the login and register webpages
This commit is contained in:
parent
7c3675aa99
commit
bcff4cd957
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
{% block loginbody %}
|
||||
<form method='post' class="mb-3">
|
||||
<label for="username" class="form-label">Username</label><br>
|
||||
<input type='text' id='username' name='username' class="form-control"/><br>
|
||||
<input type='text' id='username' name='username' class="form-control" autofocus/><br>
|
||||
<label for="password" class="form-label">Password</label><br>
|
||||
<input id='password' name='password' class="form-control" type="password"/><br>
|
||||
<button type='submit' class="btn btn-primary">Login</button>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{% block loginbody %}
|
||||
<form action='/oauth/oa/registlist' method='post' class="mb-3">
|
||||
<label for="username" class="form-label">Username:</label><br>
|
||||
<input type='text' id='username' name='username' class="form-control"/><br>
|
||||
<input type='text' id='username' name='username' class="form-control" autofocus/><br>
|
||||
<label for="password" class="form-label">Password:</label><br>
|
||||
<input id='password' name='password' class="form-control" type="password"/><br>
|
||||
<button type='submit' class="btn btn-primary">Register</button>
|
||||
|
|
Loading…
Add table
Reference in a new issue