2024-01-28 11:59:04 +00:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/products.css') }}">
|
|
|
|
|
2024-02-08 20:38:35 +00:00
|
|
|
{% if products != None %}
|
|
|
|
<p>Showing results for {{products|count}} products</p>
|
|
|
|
<div class="product-container">
|
2024-01-28 11:59:04 +00:00
|
|
|
{% for product in products %}
|
2024-02-13 23:15:32 +00:00
|
|
|
<a href="{{ url_for('main.products.product', id=product.id) }}" class="product product-link">
|
2024-01-28 11:59:04 +00:00
|
|
|
<div class="product-title">{{product.name}}</div>
|
|
|
|
<div class="product-content-container">
|
2024-02-13 23:15:32 +00:00
|
|
|
<img class="product-image-preview" src="{{ url_for('static', filename='assets/img/products/' + product.image) }}" alt="Brake Disks" />
|
2024-01-28 11:59:04 +00:00
|
|
|
|
|
|
|
<div class="product-details">
|
|
|
|
<div class="product-price">£{{product.cost}}</div>
|
|
|
|
<div class="product-description hide-overflow ">{{product.description}}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-13 22:48:23 +00:00
|
|
|
<div class="product-selection">
|
|
|
|
<div class="button wmgzon">
|
|
|
|
<p class="btnText">ADD TO BASKET</p>
|
|
|
|
<div class="btnTwo">
|
|
|
|
<p class="btnText2">:)</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-28 11:59:04 +00:00
|
|
|
</a>
|
|
|
|
{% endfor %}
|
2024-02-08 20:38:35 +00:00
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<p>Sorry... We have nothing to show here!</p>
|
|
|
|
{% endif %}
|