WMGZON/templates/content.html

22 lines
933 B
HTML
Raw Normal View History

<link rel="stylesheet" href="{{ url_for('static', filename='css/products.css') }}">
2023-12-31 19:03:29 +00:00
<div class="product-container">
{% 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>
<div class="product-description">{{product.description}}</div>
</div>
</div>
<div class="product-add-to-cart"></div>
2023-12-31 19:03:29 +00:00
</div>
{% endfor %}
{% endif %}
2023-12-31 19:03:29 +00:00
</div>