2019-09-14 18:36:23 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Buckler - Login</title>
|
2019-09-25 15:12:58 -04:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/buckler.css">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.8">
|
|
|
|
<meta name="description" content="A small shield for web applications.">
|
2019-09-14 18:36:23 -04:00
|
|
|
</head>
|
|
|
|
<body>
|
2019-09-20 19:24:12 -04:00
|
|
|
<header>
|
2019-09-25 15:12:58 -04:00
|
|
|
<object id="logo" title="Buckler logo" data="/static/buckler_icon.svg"></object>
|
2019-09-20 19:24:12 -04:00
|
|
|
<h1>Buckler Login</h1>
|
|
|
|
</header>
|
|
|
|
<main>
|
2019-09-25 15:12:58 -04:00
|
|
|
<section>
|
|
|
|
<form action="{{ request.app.router['login'].url_for() }}" method="post" enctype="application/x-www-form-urlencoded">
|
|
|
|
<label for="username">Username</label>
|
|
|
|
<input id="username" name="username" type="text"><br>
|
|
|
|
<label for="password">Password</label>
|
|
|
|
<input id="password" name="password" type="password"><br>
|
|
|
|
{% if login_failed %}
|
|
|
|
<ul><li>Username and/or password incorrect</li></ul>
|
|
|
|
{% endif %}
|
|
|
|
<input type="submit" value="Login">
|
|
|
|
</form>
|
|
|
|
</section>
|
2019-09-20 19:24:12 -04:00
|
|
|
</main>
|
2019-09-14 18:36:23 -04:00
|
|
|
</body>
|
|
|
|
</html>
|