-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (85 loc) · 2.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="./readopia.ico" type="image/x-icon" />
<title>Readopia - Login Page</title>
<meta property="og:title" content="Readopia" />
<meta
property="og:description"
content="The collective book library | made by Anoof Abdul Kadar"
/>
<meta
property="og:image"
content="https://i.postimg.cc/9Fszm50m/Readopia.jpg"
/>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9"
crossorigin="anonymous"
/>
<script
src="https://kit.fontawesome.com/38647df40d.js"
crossorigin="anonymous"
></script>
</head>
<body class="bg-primary user-select-none">
<div
class="d-flex justify-content-center align-items-center"
style="height: 100vh"
>
<div class="bg-light shadow rounded p-3 w-50">
<h1 class="text-primary text-center my-5 display-1">Login</h1>
<form>
<input
type="text"
class="form-control mb-3"
placeholder="Username"
name="uname"
id="uname"
required
/>
<input
type="password"
class="form-control mb-3"
placeholder="Password"
name="pword"
id="pword"
required
/>
<div class="mb-3" id="alertContent"></div>
<button type="button" onclick="login()" class="btn btn-primary w-100">
Sign In
</button>
<p class="my-3 text-center">
New to our website?
<a href="./signup.html" class="">Sign Up Now</a>
</p>
<hr />
<h4 class="text-center text-muted">
<i class="fa-solid fa-book-open-reader"></i> Readopia
</h4>
<p class="text-center text-muted" style="font-size: 8pt">
Made by Anoof Abdul Kadar
</p>
</form>
</div>
</div>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"
></script>
<!-- <script>
login = () => {
const user = uname.value;
localStorage.setItem("user", user);
//redirection
window.location = "home.html";
};
</script> -->
<script src="./logic.js"></script>
</body>
</html>