-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.html
62 lines (49 loc) · 1.99 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
61
62
<!DOCTYPE html>
<html lang="en">
</html>
<head>
<title>Signup</title>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link href="css/login.css" rel="stylesheet">
<!--------firebase------>
<script src="https://www.gstatic.com/firebasejs/8.6.5/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.5/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.5/firebase-database.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.5/firebase-storage.js"></script>
</head>
<body>
<div class="wrapper fadeInDown"
style="text-align:center;background-image: url(images/login.jpg);background-size: contain;">
<div id="formContent">
<!-- Icon -->
<div class="fadeIn first">
<h1>Track My Pill</h1>
</div>
<h4 class="card-title mt-3 text-center">Create Account</h4>
<form>
<input type="text" id="mail" class="fadeIn second" name="signup" placeholder="Mail ID">
<input type="text" id="password" class="fadeIn third" name="signup" placeholder="Create password"
type="password">
<input type="text" id="repassword" class="fadeIn third" name="signup" placeholder="Repeat password"
type="password">
<button class="btn btn-primary" id="btn-signup" type="button">
Create Account
</button>
</form>
<div id="formFooter">
<p class="text-center">Have an account? <a href="login.html">Log In</a> </p>
</div>
</div>
</div>
<script src="js/index.js"></script>>
<script>
firebase.auth().onAuthStateChanged(function (user) {
if (user) {
window.location.href = "home.html"
}
});
</script>
</body>