2024-01-06 01:14:20 +00:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/products.css') }}">
|
|
|
|
|
2023-12-31 19:03:29 +00:00
|
|
|
<div class="product-container">
|
2024-01-05 18:20:56 +00:00
|
|
|
{% if products != None %}
|
|
|
|
{% for product in products %}
|
|
|
|
<div class="product">
|
|
|
|
<div class="product-title">{{product.name}}</div>
|
|
|
|
<div class="product-information">
|
|
|
|
<div class="product-image">
|
|
|
|
<img src="{{url_for('static', filename=product.image)}}" alt="Brake Disks"/>
|
|
|
|
</div>
|
|
|
|
<div class="product-details">
|
|
|
|
<div class="product-price">£{{product.cost}}</div>
|
2024-01-06 01:14:20 +00:00
|
|
|
<div class="product-description">{{product.description}}</div>
|
2024-01-05 18:20:56 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="product-add-to-cart"></div>
|
2023-12-31 19:03:29 +00:00
|
|
|
</div>
|
2024-01-05 18:20:56 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2023-12-31 19:03:29 +00:00
|
|
|
</div>
|