lokesh341 commited on
Commit
a5ed800
·
verified ·
1 Parent(s): b777b25

Update templates/cart_page.html

Browse files
Files changed (1) hide show
  1. templates/cart_page.html +10 -7
templates/cart_page.html CHANGED
@@ -30,23 +30,26 @@
30
  font-size: 1.5em;
31
  color: #4CAF50;
32
  }
 
 
 
 
33
  .item-price {
34
  font-size: 1.2em;
35
  font-weight: bold;
36
  color: #000;
37
  }
38
- .item-quantity {
39
- font-size: 1.2em;
40
- color: #555;
41
- }
42
  .btn-proceed {
43
- padding: 10px;
44
  background-color: #4CAF50;
45
  color: white;
46
  border: none;
47
  border-radius: 4px;
48
  cursor: pointer;
49
  text-decoration: none;
 
 
 
50
  }
51
  .btn-proceed:hover {
52
  background-color: #45a049;
@@ -57,7 +60,7 @@
57
 
58
  <div class="container">
59
  <h1>Your Cart</h1>
60
-
61
  {% if cart_items %}
62
  <div id="cart-items">
63
  {% for item in cart_items %}
@@ -68,7 +71,7 @@
68
  </div>
69
  {% endfor %}
70
  </div>
71
-
72
  <a href="/order-summary" class="btn-proceed">Proceed to Order Summary</a>
73
  {% else %}
74
  <p>Your cart is empty. Please add items to your cart.</p>
 
30
  font-size: 1.5em;
31
  color: #4CAF50;
32
  }
33
+ .item-quantity {
34
+ font-size: 1.2em;
35
+ color: #555;
36
+ }
37
  .item-price {
38
  font-size: 1.2em;
39
  font-weight: bold;
40
  color: #000;
41
  }
 
 
 
 
42
  .btn-proceed {
43
+ padding: 12px 20px;
44
  background-color: #4CAF50;
45
  color: white;
46
  border: none;
47
  border-radius: 4px;
48
  cursor: pointer;
49
  text-decoration: none;
50
+ display: block;
51
+ margin-top: 20px;
52
+ text-align: center;
53
  }
54
  .btn-proceed:hover {
55
  background-color: #45a049;
 
60
 
61
  <div class="container">
62
  <h1>Your Cart</h1>
63
+
64
  {% if cart_items %}
65
  <div id="cart-items">
66
  {% for item in cart_items %}
 
71
  </div>
72
  {% endfor %}
73
  </div>
74
+
75
  <a href="/order-summary" class="btn-proceed">Proceed to Order Summary</a>
76
  {% else %}
77
  <p>Your cart is empty. Please add items to your cart.</p>