Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +11 -1
templates/cart.html
CHANGED
@@ -6,6 +6,8 @@
|
|
6 |
<title>Cart</title>
|
7 |
<!-- Bootstrap CSS -->
|
8 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
|
9 |
<style>
|
10 |
body {
|
11 |
font-family: Arial, sans-serif;
|
@@ -108,6 +110,10 @@
|
|
108 |
background-color: #4a5d68;
|
109 |
color: #fff;
|
110 |
}
|
|
|
|
|
|
|
|
|
111 |
</style>
|
112 |
</head>
|
113 |
<body>
|
@@ -144,7 +150,11 @@
|
|
144 |
<div class="text-primary">
|
145 |
$<span class="base-price">{{ item.Price__c }}</span>
|
146 |
</div>
|
147 |
-
<button class="btn btn-danger btn-sm" onclick="removeItemFromCart('{{ item.Name }}')">Remove</button>
|
|
|
|
|
|
|
|
|
148 |
</div>
|
149 |
</div>
|
150 |
{% else %}
|
|
|
6 |
<title>Cart</title>
|
7 |
<!-- Bootstrap CSS -->
|
8 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
9 |
+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
|
10 |
+
|
11 |
<style>
|
12 |
body {
|
13 |
font-family: Arial, sans-serif;
|
|
|
110 |
background-color: #4a5d68;
|
111 |
color: #fff;
|
112 |
}
|
113 |
+
.sky-blue-icon {
|
114 |
+
color: skyblue;
|
115 |
+
}
|
116 |
+
|
117 |
</style>
|
118 |
</head>
|
119 |
<body>
|
|
|
150 |
<div class="text-primary">
|
151 |
$<span class="base-price">{{ item.Price__c }}</span>
|
152 |
</div>
|
153 |
+
<!-- <button class="btn btn-danger btn-sm" onclick="removeItemFromCart('{{ item.Name }}')">Remove</button> -->
|
154 |
+
<button class="btn btn-danger btn-sm" onclick="removeItemFromCart('{{ item.Name }}')">
|
155 |
+
<i class="fas fa-trash-alt" style="color: skyblue;"></i> <!-- Sky blue trash icon -->
|
156 |
+
</button>
|
157 |
+
|
158 |
</div>
|
159 |
</div>
|
160 |
{% else %}
|