-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from DLSU-CCAPDEV/register
Register
- Loading branch information
Showing
3 changed files
with
135 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" dark> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Forum - Register</title> | ||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" | ||
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/hung1001/font-awesome-pro@4cac1a6/css/all.css"> | ||
<link rel="stylesheet" href="../css/styles.css"> | ||
<script src="https://code.jquery.com/jquery-3.7.0.min.js"></script> | ||
<script src="../js/scripts.js"></script> | ||
|
||
</head> | ||
<body> | ||
|
||
|
||
|
||
|
||
<div id="register-wrapper"> | ||
<h1 id="main-branding">Forum Registration</h1> | ||
|
||
<div id="register-container"> | ||
|
||
|
||
<form action="login.html" method="POST" enctype="multipart/form-data" onsubmit="return validateForm()"> | ||
<h2>Account Information</h2> | ||
|
||
|
||
<label for="username" class="form-label">Username:</label> | ||
<input type="text" id="username" name="username" class="form-control" required> | ||
<br><br> | ||
|
||
<label for="email" class="form-label">Email:</label> | ||
<input type="email" id="email" name="email" class="form-control" required> | ||
<br><br> | ||
|
||
<label for="password" class="form-label">Password:</label> | ||
<input type="password" id="password" name="password" class="form-control" required> | ||
<br><br> | ||
|
||
<label for="confirm_password" class="form-label">Confirm Password:</label> | ||
<input type="password" id="confirm_password" name="confirm_password" class="form-control" required> | ||
<span id="password_error" style="color:red"></span> | ||
<br><br> | ||
|
||
|
||
<h2>Avatar Preference</h2> | ||
|
||
<div id="avatars"> | ||
<img class="avatar-selection" src="https://api.dicebear.com/6.x/avataaars/svg?seed=davidmiller" > | ||
<img class="avatar-selection" src="https://api.dicebear.com/6.x/avataaars/svg?seed=davidmay" > | ||
<img class="avatar-selection" src="https://api.dicebear.com/6.x/avataaars/svg?seed=Sarahg" > | ||
<img class="avatar-selection" src="https://api.dicebear.com/6.x/avataaars/svg?seed=May" > | ||
<img class="avatar-selection" src="https://api.dicebear.com/6.x/avataaars/svg?seed=Mayssw" > | ||
<img class="avatar-selection" src="https://api.dicebear.com/6.x/avataaars/svg?seed=May23" > | ||
<img class="avatar-selection" src="https://api.dicebear.com/6.x/avataaars/svg?seed=Mayasd" > | ||
|
||
</div> | ||
<span id="avatar_error" style="color:red"></span> | ||
|
||
<h2>Terms and Conditions</h2> | ||
<input type="checkbox" id="terms" name="terms" required> | ||
<label for="terms">I agree to the terms and conditions</label><br><br> | ||
|
||
<input type="submit" value="Submit" class="btn" id="submit-register" onclick="matchPassword()"> | ||
<input type="reset" value="Cancel" class="btn" id="cancel-register" onclick="location.href='login.html'"> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<script src="../js/register.js"></script> | ||
</body> | ||
</html> |