Add a registration page.
This commit is contained in:
parent
014611a901
commit
abc9fbda2e
2 changed files with 47 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -26,3 +26,4 @@ backup
|
|||
coverage
|
||||
coverage/*
|
||||
.venv
|
||||
*.gz
|
||||
|
|
46
public/register/index.html
Normal file
46
public/register/index.html
Normal file
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="/global.css">
|
||||
<link rel="stylesheet" href="/color.css">
|
||||
<link rel="stylesheet" href="/blockstart.css">
|
||||
<title>ZedShaw's Game Thing</title>
|
||||
</head>
|
||||
|
||||
<body data-testid="register-page">
|
||||
<header>
|
||||
<a href="/">🏡</a> <span>Zed's Game Dev Website Yay</span>
|
||||
</header>
|
||||
|
||||
<blockstart style="min-height: 90vw">
|
||||
<h1>Login</h1>
|
||||
<block class="center-self" style="--w: 500px; --h: 500px;">
|
||||
<form action="/api/register" method="POST">
|
||||
<card>
|
||||
<top><h2 style="color: white">Register</h2></top>
|
||||
<middle>
|
||||
<label for="username">Username</label>
|
||||
<input id="username" name="username" placeholder="Username" type="text">
|
||||
<label for="email">Email</label>
|
||||
<input id="email" name="email" placeholder="Email" type="text">
|
||||
<label for="password">Password</label>
|
||||
<input id="password" name="password" placeholder="Password" type="password">
|
||||
</middle>
|
||||
<bottom>
|
||||
<button-group>
|
||||
<button type="button">Cancel</button>
|
||||
<button id="register-submit" type="submit">Register</button>
|
||||
</button-group>
|
||||
</bottom>
|
||||
</card>
|
||||
</form>
|
||||
<div class="center"><a href="/login/">Have an account? Click to Login.</a></div>
|
||||
</block>
|
||||
</blockstart>
|
||||
|
||||
<footer>
|
||||
<h1>Footer</h1>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue