Request focus on first input on login page
This commit is contained in:
parent
5e9c410e98
commit
958f6eaabf
@ -4,7 +4,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<div class="form-floating">
|
<div class="form-floating">
|
||||||
<input name="login" type="text" required class="form-control" id="floatingName" placeholder="unsername"
|
<input name="login" type="text" required class="form-control" id="floatingName" placeholder="unsername"
|
||||||
value="{{ login }}">
|
value="{{ login }}" autofocus>
|
||||||
<label for="floatingName">Email address or username</label>
|
<label for="floatingName">Email address or username</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="code" class="form-label mt-4">Generated code</label>
|
<label for="code" class="form-label mt-4">Generated code</label>
|
||||||
<input type="text" name="code" minlength="6" maxlength="6" class="form-control" id="code"
|
<input type="text" name="code" minlength="6" maxlength="6" class="form-control" id="code"
|
||||||
placeholder="XXXXXX">
|
placeholder="XXXXXX" autofocus>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button class="w-100 btn btn-primary" type="submit" style="margin: 20px 0px;">Login</button>
|
<button class="w-100 btn btn-primary" type="submit" style="margin: 20px 0px;">Login</button>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<div class="form-floating">
|
<div class="form-floating">
|
||||||
<input name="password" type="password" required class="form-control" id="pass1"
|
<input name="password" type="password" required class="form-control" id="pass1"
|
||||||
placeholder="Password"/>
|
placeholder="Password" autofocus/>
|
||||||
<label for="pass1">New password</label>
|
<label for="pass1">New password</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user