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" />
|
|
|
|
</form>
|
|
|
|
<a href="./quantities">Clear Search</a>
|
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>
|