-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearchBook.jsp
More file actions
89 lines (80 loc) · 2.44 KB
/
searchBook.jsp
File metadata and controls
89 lines (80 loc) · 2.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>KL Library Management System - Search</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
h1 {
font-size: 2.5em;
font-weight: bold;
color: #333;
text-align: center;
background-color: #007bff;
color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 80%;
margin-bottom: 30px;
}
.form-container {
width: 300px;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.form-container h2 {
font-size: 1.5em;
color: #333;
text-align: center;
margin-bottom: 20px;
}
.form-container input[type="text"] {
width: 100%;
padding: 10px;
margin: 8px 0;
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
}
.form-container button {
width: 100%;
padding: 10px;
margin-top: 15px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 4px;
font-size: 1em;
cursor: pointer;
}
.form-container button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<h1>Welcome to the KL Library Management System</h1>
<div class="form-container">
<h2>Search for a Book</h2>
<form action="searchBook" method="get">
<input type="text" name="title" placeholder="Enter book title">
<input type="text" name="author" placeholder="Enter author name">
<input type="text" name="genre" placeholder="Enter genre">
<button type="submit">Search</button>
</form>
</div>
</body>
</html>