2020-10-05 20:10:43 -05:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<body>
|
2020-10-05 23:16:36 -05:00
|
|
|
<form action="./quantities">
|
|
|
|
<input type="text" placeholder="Location" name="location" />
|
|
|
|
<input type="submit" />
|
2020-10-08 23:48:51 -05:00
|
|
|
<br>
|
|
|
|
<input type="reset" value="Reset" onclick="parent.location='./quantities'" />
|
2020-10-05 23:16:36 -05:00
|
|
|
</form>
|
2020-10-05 20:10:43 -05:00
|
|
|
<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>
|
|
|
|
</html>
|