Add products and quantities pages
This commit is contained in:
25
templates/ui/products.html
Normal file
25
templates/ui/products.html
Normal file
@ -0,0 +1,25 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
<table border=1>
|
||||
<tr>
|
||||
<th>UPC</th>
|
||||
<td>Brand</td>
|
||||
<td>Name</td>
|
||||
<td>Size</td>
|
||||
<td>Size Unit</td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
{% for upc, brand, name, size, sizeunit, description in data %}
|
||||
<tr>
|
||||
<th> {{ upc }} </th>
|
||||
<td> {{ brand }} </td>
|
||||
<td> {{ name }} </td>
|
||||
<td> {{ size }} </td>
|
||||
<td> {{ sizeunit }} </td>
|
||||
<td> {{ description }} </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
19
templates/ui/quantities.html
Normal file
19
templates/ui/quantities.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
<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