mod_http_oauth2/html/login.html
author Kim Alvefur <zash@zash.se>
Thu, 23 Mar 2023 16:19:09 +0100
changeset 5274 7acf73d2ebb5
parent 5231 0dcd956d7bc5
child 5276 acab61ba7f02
permissions -rw-r--r--
mod_http_oauth2: Use <fieldset> in templates because it looks nice Removes some CSS as well

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{site_name} - Sign in</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
	<main>
	<h1>{site_name}</h1>
	<fieldset>
	<legend>Sign in</legend>
	<p>Sign in to your account to continue.</p>
	{state.error&<div class="error">
		<p>{state.error}</p>
	</div>}
	<form method="post">
		<input type="text" name="username" placeholder="Username" aria-label="Username" required><br/>
		<input type="password" name="password" placeholder="Password" aria-label="Password" autocomplete="current-password" required><br/>
		<input type="submit" value="Sign in">
	</form>
	</fieldset>
	</main>
</body>
</html>