Buckler/templates/register_key.html

27 lines
1021 B
HTML
Raw Normal View History

2019-09-24 19:34:20 -04:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>Buckler - Register Security Key</title>
<link rel="stylesheet" type="text/css" href="/static/buckler.css">
<script type="text/javascript" src="/static/cbor.js"></script>
<script type="text/javascript" src="/static/buckler-auth.js"></script>
<script>const url_prefix = '{{ url_prefix }}';</script>
2019-09-25 15:12:58 -04:00
<meta name="viewport" content="width=device-width, initial-scale=0.8">
<meta name="description" content="A small shield for web applications.">
2019-09-24 19:34:20 -04:00
</head>
<body>
2019-09-25 15:12:58 -04:00
<header>
<object id="logo" title="Buckler logo" data="/static/buckler_icon.svg"></object>
<h1>Register Security Key</h1>
</header>
2019-09-24 19:34:20 -04:00
<main>
2019-09-25 15:12:58 -04:00
<section>
<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><input type="button" value="Submit" onclick="register()">
</section>
2019-09-24 19:34:20 -04:00
</main>
</body>
</html>