felt/templates/registered.html
2023-07-11 00:34:13 -06:00

22 lines
No EOL
653 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 href="/table/style.css" 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="/table/util.js" type="text/javascript"></script>
</html>