Files
Anthony Segura 6c8e869132 Style Update
2026-08-05 10:38:20 -05:00

37 lines
990 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Admin Panel</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<div class="container">
<div class="header">
<h1>Admin Panel</h1>
<div>
Logged in as {{ session["user"] }} |
<a href="/logout">Logout</a>
</div>
</div>
<h3>Add Toner</h3>
<input id="name" placeholder="Toner Name">
<input id="qty" type="number" placeholder="Quantity">
<button onclick="addItem()">Add</button>
<h3>Inventory</h3>
<table>
<thead>
<tr>
<th>Toner</th>
<th>Quantity</th>
<th>Update</th>
</tr>
</thead>
<tbody id="adminInventory"></tbody>
</table>
</div>
<script src="{{ url_for('static', filename='script.js') }}"></script>
</body>
</html>