Update pages

This commit is contained in:
Evan Niederwerfer 2025-01-26 22:38:06 -05:00
parent c4383e2550
commit 15e81f1a8c
4 changed files with 127 additions and 0 deletions

18
pages/fail.html Normal file
View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<header></header>
<main>
<h1>Account has failed registration</h1>
<p>This could be due to an incorrect email or an invalid/expired code. Contact site admin Evan for any difficulties.</p>
<p>Click <a>here</a> to retry</p>
</main>
<footer></footer>
</body>
</html>

69
pages/index.php Normal file
View File

@ -0,0 +1,69 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<header></header>
<main>
<div class="content">
<h1>UWP Community Verification Process</h1>
<h3>Registration</h3>
<form method="post" action="otp.php">
<center>
<div style="display: block;">
<label for="email">Email:</label>
<input type="text" name="email" id="email" style="width: 350px;">
</div>
<div style="display: block;">
<label for="passwd">Password:</label>
<input type="text" name="passwd" id="Password">
</div>
</center>
<button type="submit">Register</button>
<center>
<a>Already registered? Click to login</a>
</center>
</form>
</div>
</main>
<footer></footer>
</body>
<style>
.content {
position: relative;
text-align: center;
top: 30vh;
font-size: 30px;
}
a {
font-size: 15px;
position: relative;
top: 20px;
display: block;
}
input {
text-align: center;
}
.content h1 {
color: orange;
}
input {
padding: 5px;
width: 300px;
}
</style>
</html>

23
pages/otp.php Normal file
View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<header></header>
<main>
<form method="post">
<h1>Verification sent to <!-- PREFILL_EMAIL --></h1>
<p>Your code expires in 5 minutes. Click <a>here</a> to resend.</p>
<input type="hidden" name="verifEmail" id="email" value="<!-- PREFILL_EMAIL -->">
<label for="email">OTP Code:</label>
<input type="number" name="verifOtp" id="otp">
<button type="submit">Submit</button>
<br>
<br>
</form>
</main>
<footer></footer>
</body>
</html>

17
pages/success.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<header></header>
<main>
<h1>Account was successfully registered</h1>
<p>Click <a>here</a> to go to the login page</p>
</main>
<footer></footer>
</body>
</html>