chore(webui): remove autofocus attributes in the redesigned pages
This commit is contained in:
parent
c69e323f9e
commit
5e033b5f14
3 changed files with 3 additions and 6 deletions
|
@ -10,8 +10,7 @@
|
|||
<legend>New User Account</legend>
|
||||
<div class="grid-2">
|
||||
<label for="username" style="min-width:92px;">Username</label>
|
||||
<input autofocus
|
||||
{{ if or .UsernameDuplicate .UsernameInvalid }}class="error"{{ end }}
|
||||
<input {{ if or .UsernameDuplicate .UsernameInvalid }}class="error"{{ end }}
|
||||
id="username"
|
||||
name="username"
|
||||
required
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
<legend>Account Settings</legend>
|
||||
<div style="align-items:center; display:grid; grid-template-columns:1fr 1fr;">
|
||||
<label for="dark-mode">Dark mode</label>
|
||||
<input autofocus
|
||||
{{ if not .Settings.LightMode }}checked{{ end }}
|
||||
<input {{ if not .Settings.LightMode }}checked{{ end }}
|
||||
id="dark-mode"
|
||||
name="dark-mode"
|
||||
type="checkbox"
|
||||
|
|
|
@ -11,8 +11,7 @@
|
|||
<legend>New State</legend>
|
||||
<div class="grid-2">
|
||||
<label for="path">Path</label>
|
||||
<input autofocus
|
||||
{{ if or .PathDuplicate .PathError }}class="error"{{ end }}
|
||||
<input {{ if or .PathDuplicate .PathError }}class="error"{{ end }}
|
||||
id="path"
|
||||
name="path"
|
||||
required
|
||||
|
|
Loading…
Add table
Reference in a new issue