InvMan/templates/ui/quantities.html

27 lines
645 B
HTML
Raw Normal View History

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