-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFineCal.html
More file actions
140 lines (134 loc) · 5.62 KB
/
FineCal.html
File metadata and controls
140 lines (134 loc) · 5.62 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!-- <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fine Calculation</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<nav>
<ul class="nav-list">
<li><a href="index.html">Home</a></li>
<li><a href="AddForm.html">Add Book</a></li>
<li><a href="UpdateForm.html">Update Book</a></li>
<li><a href="Reservation.html">Reservation</a></li>
<li><a href="ViewBook.html">View Book</a></li>
<li><a href="FineCal.html">Fine Calculation</a></li>
</ul>
</nav>
<div class="form-container">
<h1>Fine Calculation for Delayed Submission</h1>
<form action="calculateFine.php" method="POST">
<label for="submission_date">Submission Date:</label>
<input type="date" id="submission_date" name="submission_date" required><br><br>
<label for="return_date">Return Date:</label>
<input type="date" id="return_date" name="return_date" required><br><br>
<button type="submit" class="submit-btn">Calculate Fine</button>
</form>
</div>
</body>
</html> -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fine Calculation</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<style>
/* Custom Background */
body {
background-image: url('https://wallpaperaccess.com/full/418939.jpg'); /* Replace with your image path */
background-size: cover; /* Ensures the image covers the entire page */
background-repeat: no-repeat;
background-attachment: fixed; /* Keeps the background fixed while scrolling */
background-color: rgba(0, 0, 0, 0.7); /* Dark overlay color for readability */
background-blend-mode: overlay;
color: white; /* Text color for better readability on dark background */
}
.navbar {
background-color: #343a40; /* Dark background for navbar */
}
.form-container {
max-width: 600px;
margin: 50px auto;
padding: 20px;
background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent for a darkened effect */
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.card {
transition: transform 0.3s; /* Animation effect */
}
.card:hover {
transform: scale(1.05); /* Scale up on hover */
}
.get-started-btn {
display: block;
text-align: center;
margin-top: 20px;
background-color: #007bff;
color: white;
padding: 10px;
text-decoration: none;
border-radius: 5px;
}
.get-started-btn:hover {
background-color: #0056b3;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.submit-btn {
width: 100%;
}
.submit-btn {
width: 100%;
background-color: #007bff;
color: #ffffff;
}
.submit-btn:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">Library Management System</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link" href="index.html">Home</a></li>
<li class="nav-item"><a class="nav-link" href="AddForm.html">Add Book</a></li>
<li class="nav-item"><a class="nav-link" href="UpdateForm.html">Update Book</a></li>
<li class="nav-item"><a class="nav-link" href="Reservation.html">Reservation</a></li>
<li class="nav-item"><a class="nav-link" href="ViewBook.html">View Book</a></li>
<li class="nav-item"><a class="nav-link" href="FineCal.html">Fine Calculation</a></li>
<li class="nav-item"><a class="nav-link" href="Contact.html">Contact Info</a></li>
</ul>
</div>
</nav>
<div class="form-container">
<h1>Fine Calculation for Delayed Submission</h1>
<form action="calculateFine.php" method="POST">
<div class="form-group">
<label for="submission_date">Submission Date:</label>
<input type="date" id="submission_date" name="submission_date" class="form-control" required>
</div>
<div class="form-group">
<label for="return_date">Return Date:</label>
<input type="date" id="return_date" name="return_date" class="form-control" required>
</div>
<button type="submit" class="btn btn-primary submit-btn">Calculate Fine</button>
</form>
</div>
</body>
</html>