-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcatalogue.html
121 lines (107 loc) · 2.83 KB
/
catalogue.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Catalogue</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
}
header {
background-color: #1a237e;
color: white;
padding: 20px;
text-align: center;
}
.container {
max-width: 700px;
margin: 50px auto;
padding: 20px;
background-color: #e8eaf6;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h2 {
color: #1a237e;
text-align: center;
margin-bottom: 20px;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 10px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #3949ab;
color: white;
}
input[type="submit"] {
background-color: #3949ab;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
display: block;
margin-top: 20px;
}
input[type="submit"]:hover {
background-color: #5c6bc0;
}
</style>
</head>
<body>
<header>
<h1>Library Catalogue</h1>
</header>
<div class="container">
<h2>Available Books</h2>
<table>
<thead>
<tr>
<th>Book Title</th>
<th>Author</th>
<th>Category</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<tr>
<td>Introduction to Algorithms</td>
<td>Thomas H. Cormen</td>
<td>CSE</td>
<td>5</td>
</tr>
<tr>
<td>Digital Signal Processing</td>
<td>John G. Proakis</td>
<td>ECE</td>
<td>3</td>
</tr>
<tr>
<td>Electric Machines</td>
<td>Charles Kingsley</td>
<td>EE</td>
<td>7</td>
</tr>
<tr>
<td>Advanced Control Systems</td>
<td>B. C. Kuo</td>
<td>M.Tech</td>
<td>4</td>
</tr>
</tbody>
</table>
<form action="submit_catalogue.php" method="POST">
<input type="submit" value="Request a Book">
</form>
</div>
</body>
</html>