Prześlij pliki do 'templates'

This commit is contained in:
Sławomir Łopata 2023-02-01 20:00:59 +01:00
parent cc62bad523
commit 837a4a57b1

27
templates/remove.html Normal file
View File

@ -0,0 +1,27 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Usuń</title>
<link rel="stylesheet" href={{url_for('static', filename='css/remove.css')}}>
</link>
</head>
<body>
<table>
{% for i in range(6) %}
<tr>
{% for row in data %}
<td>
<a href="/removeItem?productId={{row[0]}}">
{% if i == 4 %}
<img src={{ url_for('static', filename='uploads/' + row[i]) }} id="itemImage" />
{% else %}
{{row[i]}}
{% endif %}
</a>
</td>
{% endfor %}
</tr>
{% endfor %}
</table>
</body>
</html>