File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 14
14
{{.CsrfTokenHtml}}
15
15
<div class="required field {{if and (.Err_UserName) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}}">
16
16
<label for="user_name">{{ctx.Locale.Tr "home.uname_holder"}}</label>
17
- <input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required>
17
+ <input id="user_name" type="text" name="user_name" value="{{.user_name}}" autofocus required tabindex="1" >
18
18
</div>
19
19
{{if or (not .DisablePassword) .LinkAccountMode}}
20
20
<div class="required field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn))}}error{{end}} form-field-content-aside-label">
21
21
<label for="password">{{ctx.Locale.Tr "password"}}</label>
22
- <a href="{{AppSubUrl}}/user/forgot_password">{{ctx.Locale.Tr "auth.forgot_password"}}</a>
23
- <input id="password" name="password" type="password" value="{{.password}}" autocomplete="current-password" required>
22
+ <div>
23
+ <a href="{{AppSubUrl}}/user/forgot_password" tabindex="4">{{ctx.Locale.Tr "auth.forgot_password"}}</a>
24
+ </div>
25
+ <input id="password" name="password" type="password" value="{{.password}}" autocomplete="current-password" required tabindex="2">
24
26
</div>
25
27
{{end}}
26
28
{{if not .LinkAccountMode}}
27
29
<div class="inline field">
28
30
<div class="ui checkbox">
29
31
<label>{{ctx.Locale.Tr "auth.remember_me"}}</label>
30
- <input name="remember" type="checkbox">
32
+ <input name="remember" type="checkbox" tabindex="5" >
31
33
</div>
32
34
</div>
33
35
{{end}}
34
36
35
37
{{template "user/auth/captcha" .}}
36
38
37
39
<div class="field">
38
- <button class="ui primary button tw-w-full">
40
+ <button class="ui primary button tw-w-full" tabindex="3" >
39
41
{{if .LinkAccountMode}}
40
42
{{ctx.Locale.Tr "auth.oauth_signin_submit"}}
41
43
{{else}}
Original file line number Diff line number Diff line change @@ -456,7 +456,6 @@ textarea:focus,
456
456
}
457
457
.form-field-content-aside-label > * : nth-child (2 ) {
458
458
text-align : right;
459
- margin-bottom : 4px ;
460
459
}
461
460
.form-field-content-aside-label input {
462
461
grid-column : span 2 ;
You can’t perform that action at this time.
0 commit comments