summaryrefslogtreecommitdiff
path: root/src/register.html
blob: 34deb491f93d4caa7e6cca5f1867ec29b638b79a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" href="main.css">
        <script src="main.js" defer></script>
    </head>
    <body>
        <div id="content">
            <form action="javascript:register()">
                <label for="username">Username</label>
                <input type="text" id="username" minlength="1" required>
                <label for="password">Password<br><bold>DO NOT REUSE A PASSWORD.  THIS APPLICATION IS NOT SECURE</bold></label>
                <input type="password" id="password" minlength="4" required>
                <label for="id">ID (optional)<br>This is what you use to login.  Do not lose it.  One will be generated if not specified</label>
                <input type="text" id="id" minlength="4" maxlength="4" pattern="[0123456789abcedfABCDEF]{4}">
                <input type="submit" value="Register">
            </form>
        </div>
        <footer>
            <center>
                <a href="/">POKO</a>
            </center>
        </footer>
    </body>
</html>