-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_del.html
More file actions
112 lines (102 loc) · 3.39 KB
/
add_del.html
File metadata and controls
112 lines (102 loc) · 3.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Add & Delete Books – SmartLib Admin</title>
<link rel="stylesheet" href="add_del.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
<header class="header">
<div class="logo">
<img src="images/logo.jpg" alt="SmartLib Logo">
<div class="logo-text">
<h1>PVGCOET</h1>
<p class="subtitle">Admin Panel – Add/Delete Book</p>
</div>
</div>
<div class="header-right">
<div class="dark-toggle">
<input type="checkbox" id="themeToggle" />
<span>🌙</span>
</div>
<div class="admin-status">
<i class="fas fa-user-shield"></i> Logged in as <strong>Admin</strong>
</div>
<div class="language-dropdown">
<select>
<option value="en">English</option>
<option value="hi">हिंदी</option>
</select>
</div>
</div>
</header>
<main class="main-content">
<div class="form-container">
<h2>Add a New Book</h2>
<form class="book-form">
<input type="text" placeholder="Book Title" required>
<input type="text" placeholder="Author" required>
<input type="text" placeholder="ISBN" required>
<input type="text" placeholder="Department" required>
<input type="number" placeholder="Quantity" required>
<input type="text" placeholder="Shelf Location">
<button type="submit"><i class="fas fa-plus-circle"></i> Add Book</button>
</form>
</div>
<div class="table-container">
<h2>Existing Books </h2>
<input type="text" class="search-bar" placeholder="Search by title, author or department...">
<table>
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>ISBN</th>
<th>Department</th>
<th>Qty</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>Electrical Machines</td>
<td>B.L. Theraja</td>
<td>9788121920830</td>
<td>Electrical</td>
<td>6</td>
<td><button class="delete-btn"><i class="fas fa-trash"></i></button></td>
</tr>
<tr>
<td>Introduction to Programming</td>
<td>Yashavant Kanetkar</td>
<td>9789352130641</td>
<td>IT</td>
<td>8</td>
<td><button class="delete-btn"><i class="fas fa-trash"></i></button></td>
</tr>
<tr>
<td>Signals and Systems</td>
<td>Alan V. Oppenheim</td>
<td>9780138147570</td>
<td>E&TC</td>
<td>5</td>
<td><button class="delete-btn"><i class="fas fa-trash"></i></button></td>
</tr>
<tr>
<td>Thermodynamics</td>
<td>R.S. Khurmi</td>
<td>9788121925736</td>
<td>Mechanical</td>
<td>4</td>
<td><button class="delete-btn"><i class="fas fa-trash"></i></button></td>
</tr>
</tbody>
</table>
</div>
</main>
<footer class="footer">
© 2025 SmartLib – PVGCOET Library System. All rights reserved.
</footer>
</body>
</html>