summaryrefslogtreecommitdiffstats
path: root/templates/register.html
diff options
context:
space:
mode:
authorGeorg2021-09-01 12:55:44 +0200
committerGeorg2021-09-01 12:55:44 +0200
commitd2e8fcd2b5949c7836feaf559cd65c5062a7748c (patch)
treea46305087626f5362e4719f255f296e77056b010 /templates/register.html
downloadwebreg-d2e8fcd2b5949c7836feaf559cd65c5062a7748c.tar.gz
webreg-d2e8fcd2b5949c7836feaf559cd65c5062a7748c.tar.bz2
webreg-d2e8fcd2b5949c7836feaf559cd65c5062a7748c.zip
Init + SSO registration
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'templates/register.html')
-rw-r--r--templates/register.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/templates/register.html b/templates/register.html
new file mode 100644
index 0000000..9c535e3
--- /dev/null
+++ b/templates/register.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+ <meta charset="UTF-8">
+ <title>Register</title>
+<style>
+ body {
+ background-color: black;
+ color: white;
+ }
+</style>
+</head>
+
+<body>
+ {% for message in get_flashed_messages() %}
+ {{ message }}
+ {% endfor %}
+<pre>
+┬ ┌┬┐ ┬─┐ ┬─┐ ┬─┐ ┌┐┐ ┬─┐
+│ │ │─│ │─ │┬┘ │ │─┤
+┘─┘ └┴┘ │─┘ ┴─┘ │└┘ ┘ ┘ │
+
+┌─┐ ┬─┐ ┐─┐ ┬─┐
+│ │─┤ └─┐ │─┤
+└─┘ ┘ │ ──┘ ┘ │
+
+<form method="POST" action="/register">
+ {{ form.hidden_tag() }}
+ <fieldset>
+ <legend>Sign Up</legend>
+ {{ form.username.label }}
+ {{ form.username }}
+ {{ form.email.label }}
+ {{ form.email }}
+ {{ form.password.label }}
+ {{ form.password }}
+ {{ form.confirm_password.label }}
+ {{ form.confirm_password }}
+ </fieldset>
+ {{ form.submit }}
+</form>
+
+If you already have an account please login to the IRC using SASL.