felt/templates/registered.html

21 lines
585 B
HTML
Raw 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 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>
<p class="error">Something went wrong; please try a different username or obtain a new registration code.</p>
{{end}}
</main>
</body>
</html>