-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (81 loc) · 3.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Login Page</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<link rel="stylesheet" href="login.css">
</head>
<body>
<form class="container col-3" style="padding-top: 50px;" id="login_form">
<!-- Email input -->
<div class="form-outline mb-4 pt-5" >
<label class="form-label" for="email">* Email address</label>
<input type="email" id="email-address" class="form-control" />
</div>
<!-- Password input -->
<div class="form-outline mb-4">
<label class="form-label" for="Password" >* Password</label>
<input type="password" id="Password" class="form-control" />
</div>
<!-- 2 column grid layout for inline styling -->
<div class="row mb-4">
<div class="col d-flex justify-content-center">
<!-- Checkbox -->
<div class="form-check pl-5">
<input class="form-check-input" type="checkbox" value="" id="" checked />
<label class="form-check-label" for="rememberMe"> Remember me </label>
</div>
</div>
<div class="col">
<!-- Simple link -->
<a href="#!" style="font-size: 15px;">Forgot password?</a>
</div>
</div>
<!-- Submit button -->
<div class="button-container">
<button type="submit" id="btn-login" class="btn btn-primary btn-block mb-4">Login</button>
</div>
<!-- Register buttons -->
<div class="text-center">
<p>Not a member? <a href="/Sign up/signup.html">Register</a></p>
<button type="button" class="btn btn-link btn-floating mx-1">
<i class="fab fa-facebook-f"></i>
</button>
<button type="button" class="btn btn-link btn-floating mx-1">
<i class="fab fa-google"></i>
</button>
<button type="button" class="btn btn-link btn-floating mx-1">
<i class="fab fa-twitter"></i>
</button>
<button type="button" class="btn btn-link btn-floating mx-1">
<i class="fab fa-github"></i>
</button>
</div>
</form>
<section>
<div class="air air1 d-none d-md-block"></div>
<div class="air air2 d-none d-md-block"></div>
<div class="air air3 d-none d-md-block"></div>
<div class="air air4 d-none d-md-block"></div>
</section>
<script src="login.js"></script>
<!-- <script>
document.addEventListener("DOMContentLoaded", () => {
if (
localStorage.getItem("Token") &&
window.location.pathname === "/login.html"
) {
return (window.location.href = "Homepage.html");
} else if (
!localStorage.getItem("Token") &&
window.location.pathname !== "/login.html"
) {
return (window.location.href = "login.html");
}
});
</script> -->
</body>
</html>