comparison mod_http_oauth2/html/login.html @ 5208:aaa64c647e12

mod_http_oauth2: Add authentication, consent and error pages
author Matthew Wild <mwild1@gmail.com>
date Mon, 06 Mar 2023 09:46:58 +0000
parents
children 0dcd956d7bc5
comparison
equal deleted inserted replaced
5207:c72e3b0914e8 5208:aaa64c647e12
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1" />
6 <title>{site_name} - Sign in</title>
7 <link rel="stylesheet" href="style.css">
8 </head>
9 <body>
10 <main>
11 <h1>{site_name}<h1>
12 <h2>Sign in</h2>
13 <p>Sign in to your account to continue.</p>
14 {state.error&<div class="error">
15 <p>{state.error}</p>
16 </div>}
17 <form method="post">
18 <input type="text" name="username" placeholder="Username" aria-label="Username" required><br/>
19 <input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required><br/>
20 <input type="submit" value="Sign in">
21 </form>
22 </main>
23 </body>
24 </html>