felt/templates/registered.html

23 lines
727 B
HTML
Raw Permalink Normal View History

{{ $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.2.2" 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>
2023-07-11 06:34:13 +00:00
<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?v=0.2.1" type="text/javascript"></script>
</html>