mirror of
https://github.com/ae-utbm/sith.git
synced 2025-01-06 23:21:18 +00:00
Improve product card display on counter click
This commit is contained in:
parent
43768f1691
commit
43f47e2087
@ -203,7 +203,6 @@
|
|||||||
<div class="row gap-2x">
|
<div class="row gap-2x">
|
||||||
{% for product in categories[category] -%}
|
{% for product in categories[category] -%}
|
||||||
<button class="card shadow" @click="addToBasketWithMessage('{{ product.id }}', 1)">
|
<button class="card shadow" @click="addToBasketWithMessage('{{ product.id }}', 1)">
|
||||||
<strong class="card-title">{{ product.name }}</strong>
|
|
||||||
<img
|
<img
|
||||||
class="card-image"
|
class="card-image"
|
||||||
alt="image de {{ product.name }}"
|
alt="image de {{ product.name }}"
|
||||||
@ -213,7 +212,10 @@
|
|||||||
src="{{ static('core/img/na.gif') }}"
|
src="{{ static('core/img/na.gif') }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
/>
|
/>
|
||||||
<span class="card-content">{{ product.price }} €<br>{{ product.code }}</span>
|
<span class="card-content">
|
||||||
|
<strong class="card-title">{{ product.name }}</strong>
|
||||||
|
<p>{{ product.price }} €<br>{{ product.code }}</p>
|
||||||
|
</span>
|
||||||
</button>
|
</button>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user