comparison mod_http_oauth2/html/login.html @ 5653:62c6e17a5e9d

Merge
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Mon, 18 Sep 2023 08:24:19 -0500
parents 401356232e1b
children
comparison
equal deleted inserted replaced
5652:eade7ff9f52c 5653:62c6e17a5e9d
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html lang="en">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1" /> 5 <meta name="viewport" content="width=device-width, initial-scale=1" />
6 <title>{site_name} - Sign in</title> 6 <title>{site_name} - Sign in</title>
7 <link rel="stylesheet" href="style.css"> 7 <link rel="stylesheet" href="style.css" />
8 </head> 8 </head>
9 <body> 9 <body>
10 {state.error&
11 <dialog open="" class="error">
12 <p>{state.error}</p>
13 <form method="dialog"><button>dismiss</button></form>
14 </dialog>}
15 <header>
16 <h1>{site_name}</h1>
17 </header>
10 <main> 18 <main>
11 <h1>{site_name}</h1>
12 <fieldset> 19 <fieldset>
13 <legend>Sign in</legend> 20 <legend>Sign in</legend>
14 <p>Sign in to your account to continue.</p> 21 <p>Sign in to your account to continue.</p>
15 {state.error&<div class="error">
16 <p>{state.error}</p>
17 </div>}
18 <form method="post"> 22 <form method="post">
19 <input type="text" name="username" placeholder="Username" aria-label="Username" required autofocus><br/> 23 <input type="text" name="username" placeholder="Username" aria-label="Username"
20 <input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required><br/> 24 autocomplete="username" required="" {extra.username_hint~autofocus=""} {extra.username_hint&value="{extra.username_hint?}"} /><br/>
21 <input type="submit" value="Sign in"> 25 <input type="password" name="password" placeholder="Password" aria-label="Password"
26 autocomplete="current-password" required="" {extra.username_hint&autofocus=""} /><br />
27 <input type="submit" value="Sign in" />
22 </form> 28 </form>
23 </fieldset> 29 </fieldset>
24 </main> 30 </main>
25 </body> 31 </body>
26 </html> 32 </html>