-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (62 loc) · 2.29 KB
/
Copy pathindex.html
File metadata and controls
75 lines (62 loc) · 2.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - News Credibility Analyser</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
font-family: Arial, sans-serif;
background-image: url('https://www.liveaction.com/wp-content/uploads/2022/12/Key-Encryption-Symbol-Featured.jpg');
/* Replace this with your image URL */
background-size: cover;
background-position: center;
color: #333;
text-align: center;
padding-top: 50px;
}
.card {
width: 100%;
max-width: 500px;
margin: 0 auto;
}
.btn-primary {
background-color: #28a745;
border: none;
}
.btn-primary:hover {
background-color: #218838;
}
</style>
</head>
<body>
<div class="container">
<div class="card">
<div class="card-body">
<h3 class="card-title">Login</h3>
<form id="login-form">
<div class="mb-3">
<input type="email" class="form-control" placeholder="Email" required>
</div>
<div class="mb-3">
<input type="password" class="form-control" placeholder="Password" required>
</div>
<button type="submit" class="btn btn-primary w-100">Login</button>
</form>
<p class="mt-3">Don't have an account? <a href="signup.html">Sign Up</a></p>
</div>
</div>
</div>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
<script>
document.getElementById('login-form').addEventListener('submit', function (e) {
e.preventDefault();
alert('Logged in successfully');
// You can add further logic for actual login integration here
});
</script>
</body>
</html>