summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-11-14 21:33:19 -0500
committerLLLL Colonq <llll@colonq>2024-11-14 21:33:19 -0500
commit78223d43d02d20996003e12fe2c51ae1072d55fa (patch)
treee9ac49953293050b3c77adc14933d6a46488c854 /templates
parentcf0070ac5a78d8042fa74d407fb9cb65352e2066 (diff)
Registration page
Diffstat (limited to 'templates')
-rw-r--r--templates/api/register.html39
-rw-r--r--templates/pubnix/button.html (renamed from templates/button.html)12
-rw-r--r--templates/pubnix/index.html (renamed from templates/index.html)1
-rw-r--r--templates/pubnix/obs.html (renamed from templates/obs.html)2
4 files changed, 50 insertions, 4 deletions
diff --git a/templates/api/register.html b/templates/api/register.html
new file mode 100644
index 0000000..00ccb0c
--- /dev/null
+++ b/templates/api/register.html
@@ -0,0 +1,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>LCOLONQ Elite Registration</title>
+ <link rel="icon" href="./assets/mrgreen.png">
+ <link rel="stylesheet" type="text/css" href="./main.css">
+ <script type="module">
+CONFIG_SUBST
+ globalThis.mode = 5;
+ </script>
+ <script type="module" src="./main.js"></script>
+ </head>
+ <body class="lcolonq-register">
+ <div id="lcolonq-register-container" class="lcolonq-invisible">
+ <div id="lcolonq-register-box">
+ <a id="lcolonq-register-link">click to register with twitch dot tuvalu</a>
+ </div>
+ </div>
+ <div id="lcolonq-registered-container" class="lcolonq-invisible">
+ <div id="lcolonq-registered-box">
+ <div id="lcolonq-registered-box-interior">
+ registered!
+ <div><span class="lcolonq-registered-fieldname">username:</span> <span id="lcolonq-registered-username"></span></div>
+ <div><span class="lcolonq-registered-fieldname">password:</span> <span id="lcolonq-registered-password"></span></div>
+ </div>
+ </div>
+ </div>
+ <div id="lcolonq-register-error-container" class="lcolonq-invisible">
+ <div id="lcolonq-register-error-box">
+ <div>
+ <p>some kind of error occured, unable to register</p>
+ <p>bug clonk about it idk</p>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/templates/button.html b/templates/pubnix/button.html
index e2f9fb0..17211eb 100644
--- a/templates/button.html
+++ b/templates/pubnix/button.html
@@ -3,15 +3,21 @@
<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>LCOLONQ Browser Source</title>
+ <title>The Button</title>
<link rel="icon" href="./assets/mrgreen.png">
<link rel="stylesheet" type="text/css" href="./main.css">
<script type="module">
CONFIG_SUBST
- globalThis.mode = 3;
+ globalThis.mode = 4;
</script>
<script type="module" src="./main.js"></script>
</head>
- <body class="lcolonq-button">
+ <body class="lcolonq-button-body">
+ <a id="lcolonq-button-link-green" class="lcolonq-button-link">
+ <img src="./assets/mrgreen.png" class="lcolonq-button" id="lcolonq-button-green" />
+ </a>
+ <a id="lcolonq-button-link-red" class="lcolonq-button-link">
+ <img src="./assets/mrred.png" class="lcolonq-button" id="lcolonq-button-red" />
+ </a>
</body>
</html>
diff --git a/templates/index.html b/templates/pubnix/index.html
index 8827694..bddb19f 100644
--- a/templates/index.html
+++ b/templates/pubnix/index.html
@@ -8,6 +8,7 @@
<link rel="stylesheet" type="text/css" href="./main.css">
<script type="module">
CONFIG_SUBST
+ globalThis.mode = 1;
</script>
<script type="module" src="./main.js"></script>
</head>
diff --git a/templates/obs.html b/templates/pubnix/obs.html
index 999035a..b5c3c05 100644
--- a/templates/obs.html
+++ b/templates/pubnix/obs.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" type="text/css" href="./main.css">
<script type="module">
CONFIG_SUBST
- globalThis.mode = 2;
+ globalThis.mode = 3;
</script>
<script type="module" src="./main.js"></script>
</head>