Reformat code
This commit is contained in:
@ -1,25 +1,27 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user