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-22 10:49:08 +00:00
|
|
|
{% if products != None %}
|
2024-01-05 18:20:56 +00:00
|
|
|
{% for product in products %}
|
2024-01-18 19:40:02 +00:00
|
|
|
<a href="/products/{{product.id}}" class="product product-link">
|
2024-01-05 18:20:56 +00:00
|
|
|
<div class="product-title">{{product.name}}</div>
|
2024-01-28 00:26:17 +00:00
|
|
|
<div class="product-content-container">
|
|
|
|
<img class="product-image-preview" src="{{url_for('static', filename='assets/img/products/' + product.image)}}" alt="Brake Disks" />
|
|
|
|
|
|
|
|
<div class="product-details">
|
|
|
|
<div class="product-price">£{{product.cost}}</div>
|
|
|
|
<div class="product-description hide-overflow ">{{product.description}}</div>
|
2024-01-05 18:20:56 +00:00
|
|
|
</div>
|
2024-01-28 00:26:17 +00:00
|
|
|
</div>
|
|
|
|
<input type="submit" class="product-add-to-cart" value="Add to Cart" />
|
2024-01-18 19:40:02 +00:00
|
|
|
</a>
|
2024-01-24 18:07:41 +00:00
|
|
|
{% endfor %}
|
2024-01-05 18:20:56 +00:00
|
|
|
{% endif %}
|
2023-12-31 19:03:29 +00:00
|
|
|
</div>
|