-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathissueBook.jsp
More file actions
71 lines (67 loc) · 2.68 KB
/
issueBook.jsp
File metadata and controls
71 lines (67 loc) · 2.68 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
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Issue Book</title>
<link rel="stylesheet" href="dashboard.css">
<link rel="stylesheet" href="userStyle.css">
<style>
.form-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 50vh;
background: rgba(0, 0, 0, 0.5);
/* Dark background with transparency */
padding: 30px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
width: 80%;
max-width: 300px;
margin: auto;
}
.toolbar .active {
background-color: #d9c8c8;
color: rgb(18, 18, 18);
border-radius: 10px;
}
</style>
</head>
<body style="background-image: url('admin-background.jpg'); background-size: cover; background-position: center;">
<div class="toolbar">
<a href="adminDashboard.jsp">Admin Dashboard</a>
<a href="addBook.jsp">Add Books</a>
<a href="selectBookId.jsp">Update Book</a>
<a href="deleteBook.jsp">Delete Book</a>
<a href="issueBook.jsp">Issue Book</a>
<a href="returnBook.jsp">Return Book</a>
</div>
<h1>Issue Book</h1>
<div class="form-container">
<h1>Issue Book</h1>
<form action="issueBookAction.jsp" method="POST" class="book-form">
<div class="form-group">
<label for="userId">Student ID:</label>
<input type="text" id="userId" name="userId" required>
</div>
<div class="form-group">
<label for="bookId">Book ID:</label>
<input type="text" id="bookId" name="bookId" required>
</div>
<div class="form-group">
<label for="issueDate">Issue Date:</label>
<input type="date" id="issueDate" name="issueDate" required>
</div>
<div class="form-group">
<label for="returnDate">Return Date:</label>
<input type="date" id="returnDate" name="returnDate" required>
</div>
<button type="submit" class="submit-btn">Issue Book</button>
</form>
</div>
<script src="script.js"></script>
</body>
</html>