summaryrefslogtreecommitdiff
path: root/templates/auth/index.html
blob: a4ff4ac775520bc128602be742ef6d7468e9ed93 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
        <title>log in with clomq's net hooray</title>
        <link rel="icon" href="./assets/mrgreen.png">
        <link rel="stylesheet" type="text/css" href="./main.css">
        <script type="module">
CONFIG_SUBST
         globalThis.mode = "auth";
        </script>
        <script type="module" src="./main.js"></script>
    </head>
    <body>
        <div id="lcolonq-auth-login" class="lcolonq-auth lcolonq-invisible">
            <div class="lcolonq-auth-box-outer">
                <div class="lcolonq-auth-box">
                    <h1>log in</h1>
                    <form id="lcolonq-auth-form">
                        <div>
                            <label>username:</label>
                            <input id="lcolonq-auth-username" type="text">
                        </div>
                        <div>
                            <label>password:</label>
                            <input id="lcolonq-auth-password" type="password">
                        </div>
                        <input id="lcolonq-auth-submit" type="submit" value="log in now!!">
                    </form>
                </div>
                <a id="lcolonq-auth-register" href="https://api.colonq.computer/register">click here to register or reset password</a>
            </div>
            <div id="lcolonq-auth-error" class="lcolonq-invisible">
                login failed. either you used the wrong credentials or something is messed up on my end :3
            </div>
        </div>
    </body>
</html>