24 lines
692 B
HTML
24 lines
692 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<body>
|
|
<form action="./quantities">
|
|
<input type="text" placeholder="Location" name="location" />
|
|
<input type="submit" />
|
|
</form>
|
|
<a href="./quantities">Clear Search</a>
|
|
<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> |