forked from Phakulty/Villa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
60 lines (52 loc) · 2.34 KB
/
signup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
<title>Sign Up</title>
</head>
<body class="bg-dark text-warning">
<div class="container d-flex align-items-center justify-content-center" style="min-height: 100vh;">
<div class="card shadow-sm p-4 bg-dark text-warning" style="width: 100%; max-width: 400px;">
<h3 class="text-center mb-4">Sign up</h3>
<form id="signUpForm">
<!-- Email input -->
<span id="signUpError"></span>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" class="form-control" id="signUpEmail" placeholder="Enter your email">
<span id="signUpEmaiLError"></span>
</div>
<!-- Password input -->
<div class="form-group mt-4">
<label for="password">Password:</label>
<input type="password" class="form-control" id="signUpPassword" placeholder="Enter your password">
<span id="signUpPasswordError"></span>
</div>
<!-- Confirm Password -->
<div class="form-group mt-4">
<label for="password">Confirm Password:</label>
<input type="password" class="form-control" id="signUpConfirmPassword" placeholder="Confirm your password">
<span id="signUpConfirmPasswordError"></span>
</div>
<!-- Login button -->
<button type="submit" class="btn btn-warning align-items-center justify-content-center btn-block mt-5" style="width: 100%;">Sign Up</button>
<span id="signUpMessage"></span>
</form>
<p>Already have an account? <a href="login.html">login</a></p>
</div>
</section>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"
></script>
<script src="authentication.js"></script>
</body>
</html>