Files
PasswordManager/public/register.html

44 lines
1.3 KiB
HTML
Raw Normal View History

2025-11-12 10:13:24 -05:00
<!DOCTYPE html>
<html>
<head>
<title>Register</title>
<link rel="stylesheet" href="../assets/css/style.css">
</head>
<body>
<div class="center">
<form id="registerForm">
2025-11-29 14:59:51 -05:00
<h2>Register</h2>
<hr>
<div class="input-label">
<p>Username</p>
<input type="text" id="regUser" placeholder="" required>
</div>
<div class="input-label">
<p>Password</p>
<input type="password" id="regPass" placeholder="" required>
</div>
<div class="input-label">
<p>Verify Password</p>
<input type="password" id="regVerify" placeholder="" required>
</div>
2025-11-28 19:31:04 -05:00
<select style="display: none;" id="regRole" name="Role" required>
2025-11-17 18:56:31 -05:00
<option value="user">User</option>
<option value="player">Player</option>
2025-11-12 10:13:24 -05:00
</select>
<button type="submit">Register</button>
2025-11-29 14:59:51 -05:00
<div class="register">
<a href="/login">Log In</a>
</div>
2025-11-12 10:13:24 -05:00
</form>
2025-11-28 13:54:57 -05:00
<div class="error">
<p>Error Message</p>
</div>
<div class="success">
2025-11-28 15:31:13 -05:00
<p>User registered</p>
2025-11-28 13:54:57 -05:00
</div>
2025-11-12 10:13:24 -05:00
<script type="module" src="register.js"></script>
</div>
</body>
</html>