comparison mod_http_oauth2/html/login.html @ 5270:7acf73d2ebb5

mod_http_oauth2: Use <fieldset> in templates because it looks nice Removes some CSS as well
author Kim Alvefur <zash@zash.se>
date Thu, 23 Mar 2023 16:19:09 +0100
parents 0dcd956d7bc5
children acab61ba7f02
comparison
equal deleted inserted replaced
5269:0e5a37f55440 5270:7acf73d2ebb5
7 <link rel="stylesheet" href="style.css"> 7 <link rel="stylesheet" href="style.css">
8 </head> 8 </head>
9 <body> 9 <body>
10 <main> 10 <main>
11 <h1>{site_name}</h1> 11 <h1>{site_name}</h1>
12 <h2>Sign in</h2> 12 <fieldset>
13 <legend>Sign in</legend>
13 <p>Sign in to your account to continue.</p> 14 <p>Sign in to your account to continue.</p>
14 {state.error&<div class="error"> 15 {state.error&<div class="error">
15 <p>{state.error}</p> 16 <p>{state.error}</p>
16 </div>} 17 </div>}
17 <form method="post"> 18 <form method="post">
18 <input type="text" name="username" placeholder="Username" aria-label="Username" required><br/> 19 <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="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required><br/>
20 <input type="submit" value="Sign in"> 21 <input type="submit" value="Sign in">
21 </form> 22 </form>
23 </fieldset>
22 </main> 24 </main>
23 </body> 25 </body>
24 </html> 26 </html>