felt/templates/registered.html

23 lines
No EOL
722 B
HTML

{{ $success := ((.Context).Value "success") }}
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<title>Felt &mdash; Registration Complete</title>
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" href="/table/favicon.png"/>
<link href="/table/style.css?v=0.1.0" rel="stylesheet" />
</head>
<body>
<main id="registration">
{{ if $success }}
<h1>Registration Complete</h1>
<p>Success! <a href="/table">Let's game!</a></p>
{{ else }}
<h1>Error</h1>
<span class="error">Something went wrong; please try a different username or obtain a new registration code.</span>
{{end}}
</main>
</body>
<script src="./util.js?v=0.1.0" type="text/javascript"></script>
</html>