comparison mod_http_oauth2/html/login.html @ 5631:f889ff779571

mod_http_oauth2: Improve templates XML-ness by avoiding value-less attributes or whatever they're called Plus some Aria label tweaks
author Kim Alvefur <zash@zash.se>
date Tue, 08 Aug 2023 17:04:50 +0200
parents 2a31ee81e816
children 401356232e1b
comparison
equal deleted inserted replaced
5630:2a31ee81e816 5631:f889ff779571
18 <main> 18 <main>
19 <fieldset> 19 <fieldset>
20 <legend>Sign in</legend> 20 <legend>Sign in</legend>
21 <p>Sign in to your account to continue.</p> 21 <p>Sign in to your account to continue.</p>
22 <form method="post"> 22 <form method="post">
23 <input type="text" name="username" placeholder="Username" aria-label="Username" autocomplete="username" required {extra.username_hint~autofocus} {extra.username_hint&value="{extra.username_hint?}"} /><br/> 23 <input type="text" name="username" placeholder="Username" aria-label="Username"
24 <input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required {extra.username_hint&autofocus} /><br /> 24 autocomplete="username" required="" {extra.username_hint~autofocus=""} {extra.username_hint&value="{extra.username_hint?}"} /><br/>
25 <input type="password" name="password" placeholder="Password" aria-label="Password"
26 autocomplete="current-password" required="" {extra.username_hint&autofocus=""} /><br />
25 <input type="submit" value="Sign in" /> 27 <input type="submit" value="Sign in" />
26 </form> 28 </form>
27 </fieldset> 29 </fieldset>
28 </main> 30 </main>
29 </body> 31 </body>