Initial commit

This commit is contained in:
2023-12-29 18:31:43 +00:00
commit b09f0ad7bd
24 changed files with 1530 additions and 0 deletions

37
templates/register.html Normal file
View File

@@ -0,0 +1,37 @@
{% extends 'base.html' %}
{% block content %}
<h2>Register</h2>
<br>
<label for="username">Username</label><br>
<input type="text" id="username_input" name="username" />
<br><br>
<label for="email">Email</label><br>
<input type="email" id="email_input" name="email" />
<br><br>
<label for="password">Password</label><br>
<input type="password" id="password_input" name="password" />
<br><br>
<label for="passwordc">Confirm Password</label><br>
<input type="password" id="passwordc_input" name="passwordc" />
<br><br>
<button type="submit" onclick="register()">Register</button>
<br><br>
<a href="login">Already have an account? Click here to log in!</a>
<script>
if (currentUser != null) window.location.href = "/home";
</script>
{% endblock %}