Style Update
This commit is contained in:
@@ -1,22 +1,37 @@
|
||||
<h1>Admin Panel</h1>
|
||||
<!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>Add Toner</h3>
|
||||
<input id="name" placeholder="Toner Name">
|
||||
<input id="qty" type="number" placeholder="Quantity">
|
||||
<button onclick="addItem()">Add</button>
|
||||
|
||||
<h3>Update Inventory</h3>
|
||||
<table border="1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Quantity</th>
|
||||
<th>Update</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="adminInventory"></tbody>
|
||||
</table>
|
||||
<h3>Inventory</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Toner</th>
|
||||
<th>Quantity</th>
|
||||
<th>Update</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="adminInventory"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<a href="/logout">Logout</a>
|
||||
|
||||
<script src="/static/script.js"></script>
|
||||
<script src="{{ url_for('static', filename='script.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user