-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard.html
More file actions
107 lines (97 loc) · 2.91 KB
/
Copy pathdashboard.html
File metadata and controls
107 lines (97 loc) · 2.91 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Library Dashboard</title>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<!-- Bootstrap 5.3 CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="sidebar">
<h2 id="e">Admin</h2>
<a href="home.html"><button><i class="fas fa-home"></i> Home</button></a>
<br>
<a href="dashboard.html"><button><i class="fas fa-dashboard"></i> Dashboard</button></a>
<br>
<a href="addbook.html"><button><i class="fas fa-book"></i> Add Book</button></a>
<br>
<a href="issuebook.html"><button><i class="fas fa-book-open"></i> Issue Book</button></a>
<br>
<a href="searchbook.html"><button><i class="fas fa-search"></i> Search Book</button></a>
<br>
<a href="issue1.html"><button><i class="fas fa-list"></i> Issued Books</button></a>
<br>
<a href="return.html"><button><i class="fas fa-undo"></i> Return Book</button></a>
<br>
<a href="fine.html"><button><i class="fas fa-exclamation-triangle"></i> Penalty</button></a>
<br>
<button class="logout-btn" onclick="logout()"><i class="fas fa-sign-out-alt"></i> Logout</button>
</div>
<div class="container">
<h1>Library Dashboard</h1>
<br><br><br>
<div class="card" id="issuedBooks">
<h2>Total Books Issued by Each Student</h2>
<table id="issuedTable" >
<thead>
<tr>
<th>Student Name</th>
<th>Student ID</th>
<th>Total Books Issued</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<br><br><br>
<div class="card" id="returnedBooks">
<h2>Total Books Returned by Each Student</h2>
<table id="returnedTable" >
<thead>
<tr>
<th>Student Name</th>
<th>Student ID</th>
<th>Total Books Returned</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<br><br><br>
<div class="card" id="lowStock">
<h2>Books Low on Stock</h2>
<table id="stockTable" >
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>Quantity</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<br><br><br>
<div class="card" id="penalties">
<h2>Students with Overdue Penalties</h2>
<table id="penaltyTable" >
<thead>
<tr>
<th>Student Name</th>
<th>Student ID</th>
<th>Book Name</th>
<th>Overdue Days</th>
<th>Penalty</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<script src="dashboard.js"></script>
</body>
</html>