-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (51 loc) · 2.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Authentication Page</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/3.5.0/mdb.min.css" rel="stylesheet" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/3.5.0/mdb.min.js"></script>
<link href="./index.css" rel="stylesheet" />
</head>
<body class="d-flex justify-content-center p-5">
<div class="card">
<div class="card-header">
<center>
<h3>Sign in</h3>
</center>
</div>
<form onsubmit="login()" id="loginForm" class="card-body px-5 py-4">
<center>
<small><span id="error" style="color: red"></span></small>
</center>
<center>
<label class="custom-field"><input id="email" type="text" class="input" required />
<span class="placeholder">Email Id</span>
</label>
<br />
<label class="custom-field">
<input id="password" type="password" class="input" pattern="^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{6,}$" title="Minimum six characters, at least one letter, one number and one special character" required />
<span class="placeholder">Password</span>
</label>
</center>
<br />
<center>
<button type="submit" class="btn btn-primary">Login</button>
<button onclick="signUp()" class="btn btn-secondary">Sign Up</button>
</center>
</form>
</div>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.6.7/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.6.7/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.7/firebase-auth.js"></script>
<script src="firebase.js"></script>
<script src="index.js"></script>
</body>
</html>