increase user table height, add but disable autocomplete attribute

- missing autocomplete attribute was logged as warning in chrome console
This commit is contained in:
Christoph Kluge 2025-02-05 15:18:42 +01:00
parent f2e85306ca
commit c4b98ade53
2 changed files with 6 additions and 1 deletions

View File

@ -59,6 +59,7 @@
method="post" method="post"
action="/config/users/" action="/config/users/"
class="card-body" class="card-body"
autocomplete="off"
on:submit|preventDefault={handleUserSubmit} on:submit|preventDefault={handleUserSubmit}
> >
<CardTitle class="mb-3">Create User</CardTitle> <CardTitle class="mb-3">Create User</CardTitle>
@ -70,6 +71,7 @@
id="username" id="username"
name="username" name="username"
aria-describedby="usernameHelp" aria-describedby="usernameHelp"
autocomplete="username"
/> />
<div id="usernameHelp" class="form-text">Must be unique.</div> <div id="usernameHelp" class="form-text">Must be unique.</div>
</div> </div>
@ -81,6 +83,7 @@
id="password" id="password"
name="password" name="password"
aria-describedby="passwordHelp" aria-describedby="passwordHelp"
autocomplete="new-password"
/> />
<div id="passwordHelp" class="form-text"> <div id="passwordHelp" class="form-text">
Only API users are allowed to have a blank password. Users with a blank Only API users are allowed to have a blank password. Users with a blank
@ -109,6 +112,7 @@
id="name" id="name"
name="name" name="name"
aria-describedby="nameHelp" aria-describedby="nameHelp"
autocomplete="name"
/> />
<div id="nameHelp" class="form-text">Optional, can be blank.</div> <div id="nameHelp" class="form-text">Optional, can be blank.</div>
</div> </div>
@ -120,6 +124,7 @@
id="email" id="email"
name="email" name="email"
aria-describedby="emailHelp" aria-describedby="emailHelp"
autocomplete="email"
/> />
<div id="emailHelp" class="form-text">Optional, can be blank.</div> <div id="emailHelp" class="form-text">Optional, can be blank.</div>
</div> </div>

View File

@ -57,7 +57,7 @@
style="float: right;">Reload</Button style="float: right;">Reload</Button
> >
</p> </p>
<div style="width: 100%; max-height: 500px; overflow-y: scroll;"> <div style="width: 100%; max-height: 725px; overflow-y: scroll;">
<Table hover> <Table hover>
<thead> <thead>
<tr> <tr>