fix empty order list

sync_v2
Raz 6 months ago
parent eebf18d1a1
commit 762b79200a
  1. 6
      shop/static/shop/css/shop.css
  2. 4
      shop/templates/shop/cart.html
  3. 2
      shop/templates/shop/my_orders.html

@ -130,9 +130,6 @@
.confirm-nav-button {
background-color: #90ee90;
color: #505050;
min-width: 100px;
border-radius: 12px;
height: 40px;
font-size: 12px;
font-weight: 600;
text-decoration: none;
@ -141,9 +138,6 @@
.cancel-nav-button {
background-color: #e84039;
color: white;
min-width: 100px;
border-radius: 12px;
height: 40px;
font-size: 12px;
font-weight: 600;
text-decoration: none;

@ -35,8 +35,8 @@
<div>Avez-vous un code de réduction?</div>
<div class="coupon-form" style="display: flex;">
<input type="text" id="coupon-code" style="flex-grow: 1; margin-right: 10px; border-radius: 12px" placeholder="Entrez votre code">
<button id="apply-coupon" class="confirm-nav-button">Appliquer</button>
<button id="remove-coupon" class="cancel-nav-button" style="display: none;">Supprimer</button>
<button id="apply-coupon" class="confirm-nav-button" style="min-width: 100px; border-radius: 12px; height: 40px;">Appliquer</button>
<button id="remove-coupon" class="cancel-nav-button" style="min-width: 100px; border-radius: 12px; height: 40px; display: none;">Supprimer</button>
</div>
<div id="coupon-message"></div>

@ -61,7 +61,7 @@
{% else %}
<div class="empty-orders">
<p>Vous n'avez pas encore de commandes.</p>
<a href="{% url 'shop:product_list' %}" class="confirm-nav-button">Découvrir la boutique</a>
<a href="{% url 'shop:product_list' %}" class="checkout-button confirm-nav-button">Découvrir la boutique</a>
</div>
{% endif %}
</div>

Loading…
Cancel
Save