forked from shubham7298/FireTuT
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
77 lines (63 loc) · 2.39 KB
/
Copy pathindex.html
File metadata and controls
77 lines (63 loc) · 2.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css" />
<!-- jQuery
-->
</head>
<body>
<nav>
<a href="#home">Home</a>
<a href="#news">Polls</a>
<a href="#contact">Trending</a>
<a href="signup.html">SignUp</a>
<button id="log-button" onclick="document.getElementById('id01').style.display='block'">Login</button>
</nav>
<!-- The Modal -->
<div id="id01" class="modal">
<span onclick="document.getElementById('id01').style.display='none'"
class="close" title="Close Modal">×</span>
<!-- Modal Content -->
<form class="modal-content animate" >
<div class="imgcontainer">
<img src="images.png" alt="Avatar" class="avatar">
</div>
<div class="container">
<label for="e-mail"><b>Email</b></label>
<input type="email" placeholder="Enter Email" name="e-mail" required>
<label for="psw"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw" required>
<button onclick="login()" type="submit">Login</button>
<label>
<input type="checkbox" checked="checked" name="remember"> Remember me
</label>
</div>
<div class="container" style="background-color:#f1f1f1">
<button type="button" onclick="document.getElementById('id01').style.display='none'" class="cancelbtn">Cancel</button>
<span class="psw">Forgot <a href="#">password?</a></span>
</div>
</form>
</div>
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5 -->
<script src="js/index.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.3.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.3.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.4.2/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyDkZO278pS_S9fySKVP6FPL0dQH5Mv_4hQ",
authDomain: "my-pro-fc06e.firebaseapp.com",
databaseURL: "https://my-pro-fc06e.firebaseio.com",
projectId: "my-pro-fc06e",
storageBucket: "my-pro-fc06e.appspot.com",
messagingSenderId: "33292002728"
};
firebase.initializeApp(config);
</script>
</body>
</html>