InvMan/templates/ui/purchases.html

31 lines
767 B
HTML
Raw Normal View History

2020-10-08 23:49:14 -05:00
<!DOCTYPE HTML>
<html>
2020-10-19 10:41:40 -05:00
<body>
<form action="./purchases">
<input type="text" placeholder="Location" name="location" />
<input type="submit" />
<br>
<input type="reset" value="Reset" onclick="parent.location='./purchases'" />
</form>
<table border=1>
<tr>
<th>ID</th>
<td>UPC</td>
<td>Quantity</td>
<td>Date</td>
<td>Location</td>
</tr>
{% for id, upc, quantity, date, location in data %}
<tr>
<th> {{ id }}</th>
<th> {{ upc }} </th>
<td> {{ quantity }} </td>
<td> {{ date }}</td>
<td> {{ location }} </td>
</tr>
{% endfor %}
</table>
</body>
2020-10-08 23:49:14 -05:00
</html>