-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
76 lines (65 loc) · 2.91 KB
/
index.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Login Form</title>
<link rel="stylesheet" href="main.css" />
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<script src="https://www.gstatic.com/firebasejs/live/3.1/firebase.js"></script>
<script src="addDistrict.js"></script>
<script>
function showLogin(){
var x = document.getElementById('login_div');
x.style.display = 'block';
var x = document.getElementById('signup_div');
x.style.display = 'none';
}
function showSignUp(){
var x = document.getElementById('login_div');
x.style.display = 'none';
var x = document.getElementById('signup_div');
x.style.display = 'block';
}
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body>
<div class="logInPage">
<div id="login_div" class="login" style="display: block">
<input id="txtEmail_login" type="email" placeholder="Enter your Email">
<i class="fa fa-envelope" aria-hidden="true" ></i>
<input id="txtPassword_login" type="password" placeholder=" Enter Your Password">
<i class="fa fa-unlock" aria-hidden="true"></i>
<a href="#" type="submit" id="btnLogin" class="btn-primary"name=""/>Log In</a>
<h5>Don't have any account?</h5>
<a href="#" type="submit" class="btn-primary2" onclick="showSignUp()" name=""/>Sign Up</a>
</div>
</div>
<!-- End of Log in portion -->
<!-- This is for Sign Up portion -->
<div class="SignUpPage">
<div id="signup_div" class="signUp" style="display: none">
<input id="txtEmail_signup" type="email" placeholder="Enter Your Email">
<input id="txtPassword_signup" type="password" placeholder="Enter Your Password">
<input id="txtAge" type="number" placeholder="Enter Your Age">
Gender: <select id="txtGender" class="btn btn-secondary">
<option value="male">Male</option>
<option value="female">Female</option>
</select><br>
District: <select id="txtEthnicity" class="btn btn-secondary">
</select></br>
<script>addDistrict();</script>
<div>
</br>
<a href="#" type="submit" id="btnSignUp" class="btn-SignUp"name=""/>Sign Up</a>
</br>
</br>
<h6>Already have an account?</h6>
<a href="#" type="submit" id="btnSignUp" class="btn-LogIn" onclick="showLogin()" name=""/>Log In</a>
</div>
</div>
</div>
<!-- End of sign Up portion -->
<script src="app.js"></script>
</body>
</html>