style and lighthouse score
This commit is contained in:
parent
a93a178b57
commit
c66efb985a
|
@ -8,10 +8,12 @@
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="/static/buckler.js"></script>
|
<script type="text/javascript" src="/static/buckler.js"></script>
|
||||||
<script>window.onload = load;</script>
|
<script>window.onload = load;</script>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=0.8">
|
||||||
|
<meta name="description" content="A small shield for web applications.">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<object id="logo" data="/static/buckler_icon.svg"></object>
|
<object id="logo" title="Buckler logo" data="/static/buckler_icon.svg"></object>
|
||||||
<h1>Buckler</h1>
|
<h1>Buckler</h1>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -2,12 +2,17 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>Buckler - Login</title>
|
<title>Buckler - Login</title>
|
||||||
|
<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.">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
<object id="logo" title="Buckler logo" data="/static/buckler_icon.svg"></object>
|
||||||
<h1>Buckler Login</h1>
|
<h1>Buckler Login</h1>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
<section>
|
||||||
<form action="{{ request.app.router['login'].url_for() }}" method="post" enctype="application/x-www-form-urlencoded">
|
<form action="{{ request.app.router['login'].url_for() }}" method="post" enctype="application/x-www-form-urlencoded">
|
||||||
<label for="username">Username</label>
|
<label for="username">Username</label>
|
||||||
<input id="username" name="username" type="text"><br>
|
<input id="username" name="username" type="text"><br>
|
||||||
|
@ -18,6 +23,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<input type="submit" value="Login">
|
<input type="submit" value="Login">
|
||||||
</form>
|
</form>
|
||||||
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -7,9 +7,12 @@
|
||||||
<script type="text/javascript" src="/static/buckler-auth.js"></script>
|
<script type="text/javascript" src="/static/buckler-auth.js"></script>
|
||||||
<script>const url_prefix = '{{ url_prefix }}';</script>
|
<script>const url_prefix = '{{ url_prefix }}';</script>
|
||||||
<script>window.onload = login;</script>
|
<script>window.onload = login;</script>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=0.8">
|
||||||
|
<meta name="description" content="A small shield for web applications.">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
<object id="logo" title="Buckler logo" data="/static/buckler_icon.svg"></object>
|
||||||
<h1>Buckler Login</h1>
|
<h1>Buckler Login</h1>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -2,9 +2,17 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>Buckler - Register</title>
|
<title>Buckler - Register</title>
|
||||||
|
<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.">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<header>
|
||||||
|
<object id="logo" title="Buckler logo" data="/static/buckler_icon.svg"></object>
|
||||||
<h1>Buckler Register</h1>
|
<h1>Buckler Register</h1>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<section>
|
||||||
<form method="POST" enctype="application/x-www-form-urlencoded">
|
<form method="POST" enctype="application/x-www-form-urlencoded">
|
||||||
<label for="username">Username</label>
|
<label for="username">Username</label>
|
||||||
<input id="username" name="username" type="text" minlength="3" maxlength="20"><br>
|
<input id="username" name="username" type="text" minlength="3" maxlength="20"><br>
|
||||||
|
@ -37,5 +45,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<input type="submit" value="Register">
|
<input type="submit" value="Register">
|
||||||
</form>
|
</form>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -6,17 +6,21 @@
|
||||||
<script type="text/javascript" src="/static/cbor.js"></script>
|
<script type="text/javascript" src="/static/cbor.js"></script>
|
||||||
<script type="text/javascript" src="/static/buckler-auth.js"></script>
|
<script type="text/javascript" src="/static/buckler-auth.js"></script>
|
||||||
<script>const url_prefix = '{{ url_prefix }}';</script>
|
<script>const url_prefix = '{{ url_prefix }}';</script>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=0.8">
|
||||||
|
<meta name="description" content="A small shield for web applications.">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<header>
|
||||||
<div id="devices">
|
<object id="logo" title="Buckler logo" data="/static/buckler_icon.svg"></object>
|
||||||
<div class="device">
|
|
||||||
<h1>Register Security Key</h1>
|
<h1>Register Security Key</h1>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<section>
|
||||||
<p>Upon clicking submit, your security key will begin flashing. Have it ready.
|
<p>Upon clicking submit, your security key will begin flashing. Have it ready.
|
||||||
<p><label for="security_key_nick">Security key nick</label> <input id="security_key_nick" type="text" minlength="1" maxlength="64" required>
|
<p><label for="security_key_nick">Security key nick</label>
|
||||||
|
<input id="security_key_nick" type="text" minlength="1" maxlength="64" required>
|
||||||
<p><input type="button" value="Submit" onclick="register()">
|
<p><input type="button" value="Submit" onclick="register()">
|
||||||
</div>
|
</section>
|
||||||
</div>
|
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -2,8 +2,19 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>Buckler - Register</title>
|
<title>Buckler - Register</title>
|
||||||
|
<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.">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<header>
|
||||||
|
<object id="logo" title="Buckler logo" data="/static/buckler_icon.svg"></object>
|
||||||
|
<h1>Buckler Register</h1>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<section>
|
||||||
{{ message }}
|
{{ message }}
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user