-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
103 lines (92 loc) · 5.35 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
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
<!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" />
<!-- Firebase -->
<script src="https://www.gstatic.com/firebasejs/9.0.2/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.0.2/firebase-auth-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.0.2/firebase-firestore-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.0.2/firebase-storage-compat.js"></script>
<!-- Css Styling -->
<link rel="stylesheet" href="./css/signup.css" />
<link rel="stylesheet" href="./css/loader.css">
<!-- Bootstrap v.5.0 -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" />
<link rel="icon" href="./images/pandaicon.png">
<title>Login | Food</title>
</head>
<body onload="validationLogin()">
<div id="loader" style="display: none;">
<div class="loader3">
<span></span>
<span></span>
</div>
</div>
<form>
<section class="h-100">
<div class="container py-5">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col-xl-6 bg-transparent-user">
<div class="card-body p-md-5 text-black shadow p-3 mb-5 bg-body rounded">
<h1 class="mb-5 text-capitalize d-flex justify-content-center text-muted fw-bold">
<img width="300px" src="./images/foodpanda-c.png" alt="">
</h1>
<h3 class="fw-bold">Welcome back!</h3>
<h6 class="mb-5">Log in by typing your email and password.</h6>
<div class="row">
<div class="form-outline mb-4">
<input type="text" id="loginnameoremail" oninput="validationLogin()"
class="form-control rounded-0 form-control-lg" required />
<div class="d-flex justify-content-between">
<label class="form-label" for="loginnameoremail">Username or Email
address</label>
<a class="link-style" href="#" style="display: none;" id="sendverfemailagain" onclick="sendEmailVerification()">Send Verification email</a>
</div>
</div>
</div>
<div class="form-outline mb-1">
<input type="password" id="loginpassword" oninput="validationLogin()"
class="form-control rounded-0 form-control-lg" required />
<div class="d-flex justify-content-between">
<label class="form-label" for="loginpassword">Password</label>
<a class="link-style" href="./forgetpassword.html">Forget Password</a>
</div>
</div>
<div class="form-check form-switch">
<input class="form-check-input shadow-remove" type="checkbox"
onclick="showloginpassword()" id="flexSwitchCheckDefault" />
<label class="form-check-label" for="flexSwitchCheckDefault">Show
Password</label>
</div>
<div id="emailHelp" class="form-text mb-4 text-center pt-4">
Dont have an account <a class="link-style" href="usersignup.html">Signup here</a>
</div>
<div class="pt-3">
<button type="button" onclick="login()" id="loginBtn"
class="btn btn-primary shadow-remove rounded-0 text-light button-style">
Login
</button>
</div>
</div>
</div>
</div>
</div>
</section>
</form>
<script src="./js/loginSignup.js"></script>
<script src="./js/sweetalert.min.js"></script>
<!-- Bootstrap v.5.0 -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js"
integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF"
crossorigin="anonymous"></script>
</body>
</html>