Prześlij pliki do 'templates'
This commit is contained in:
parent
cc62bad523
commit
837a4a57b1
27
templates/remove.html
Normal file
27
templates/remove.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user