-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
107 lines (103 loc) · 4.54 KB
/
index.html
File metadata and controls
107 lines (103 loc) · 4.54 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Register & Login</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="https://rex1671.github.io/SmartMed/Authentication/auth.css">
<script type="module" src="https://rex1671.github.io/SmartMed/Authentication/firebaseauth.js"></script>
</head>
<body>
<div class="container" id="signup" style="display:none;">
<h1 class="form-title">Register</h1>
<form method="post" action="">
<div id="signUpMessage" class="messageDiv" style="display:none;"></div>
<div class="input-group">
<i class="fas fa-user"></i>
<input type="text" id="fName" placeholder="First Name" required>
<label for="fName">First Name</label>
</div>
<div class="input-group">
<i class="fas fa-user"></i>
<input type="text" id="lName" placeholder="Last Name" required>
<label for="lName">Last Name</label>
</div>
<div class="input-group">
<i class="fas fa-calendar"></i>
<input type="date" id="dob" required>
<label for="dob">Date of Birth</label>
</div>
<div class="input-group emergencyContact">
<i class="fas fa-phone"></i>
<input type="text" id="emergencyContact" placeholder="Emergency Contact" required>
<label for="emergencyContact">Emergency Contact</label>
</div>
<div class="input-group">
<label>Gender:</label>
<label>
<input type="radio" name="gender" value="Male" required> Male
</label>
<label>
<input type="radio" name="gender" value="Female"> Female
</label>
</div>
<div class="input-group">
<i class="fas fa-arrows-alt-v"></i>
<input type="number" id="height" placeholder="Height (cm)" required>
<label for="height">Height</label>
</div>
<div class="input-group">
<i class="fas fa-phone"></i>
<input type="text" id="phone" placeholder="Phone Number" required>
<label for="phone">Phone Number</label>
</div>
<div class="input-group">
<i class="fas fa-balance-scale"></i>
<input type="number" id="weight" placeholder="Weight (kg)" required>
<label for="weight">Weight</label>
</div>
<div class="input-group">
<i class="fas fa-envelope"></i>
<input type="email" id="rEmail" placeholder="Email" required>
<label for="rEmail">Email</label>
</div>
<div class="input-group">
<i class="fas fa-lock"></i>
<input type="password" id="rPassword" placeholder="Password" required>
<label for="rPassword">Password</label>
</div>
<button class="btn" id="submitSignUp">Sign Up</button>
</form>
<div class="links">
<p>Already Have Account?</p>
<button id="signInButton">Sign In</button>
</div>
</div>
<div class="container" id="signIn">
<h1 class="form-title">Sign In</h1>
<form method="post" action="">
<div id="signInMessage" class="messageDiv" style="display:none;"></div>
<div class="input-group">
<i class="fas fa-envelope"></i>
<input type="email" id="email" placeholder="Email" required>
<label for="email">Email</label>
</div>
<div class="input-group">
<i class="fas fa-lock"></i>
<input type="password" id="password" placeholder="Password" required>
<label for="password">Password</label>
</div>
<p class="recover">
<a href="#">Recover Password</a>
</p>
<button class="btn" id="submitSignIn">Sign In</button>
</form>
<div class="links">
<p>Don't have an account yet?</p>
<button id="signUpButton">Sign Up</button>
</div>
</div>
<script src="https://rex1671.github.io/SmartMed/Authentication/script.js"></script>
</body>
</html>