all repos — felt @ main

virtual tabletop for dungeons and dragons (and similar) using Go, MongoDB, and websockets

templates/registered.html (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{ $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>
  <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.6" type="text/javascript"></script>
</html>