Spaces:
Runtime error
Runtime error
Update templates/menu.html
Browse files- templates/menu.html +37 -2
templates/menu.html
CHANGED
@@ -8,6 +8,29 @@
|
|
8 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
9 |
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
|
10 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
body {
|
12 |
font-family: Arial, sans-serif;
|
13 |
background-color: #fdf4e3; /* Updated background color */
|
@@ -523,10 +546,22 @@ form-check-input addon-option{
|
|
523 |
Customize <i class="bi bi-caret-right-fill"></i>
|
524 |
</button>
|
525 |
|
526 |
-
<div class="card-body">
|
527 |
<h5 class="card-title">{{ item.Name }}</h5>
|
528 |
<p class="card-text">${{ item.Price__c }}</p>
|
529 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
530 |
|
531 |
</div>
|
532 |
</div>
|
|
|
8 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
9 |
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
|
10 |
<style>
|
11 |
+
|
12 |
+
|
13 |
+
/* subbu */
|
14 |
+
.addbutton .btn {
|
15 |
+
background: linear-gradient(135deg, #28a745, #006400); /* Gradient green */
|
16 |
+
color: white; /* Make the text color white */
|
17 |
+
border: none; /* Remove the border */
|
18 |
+
padding: 6px 15px; /* Smaller padding */
|
19 |
+
font-size: 14px; /* Smaller font size */
|
20 |
+
border-radius: 5px; /* Optional: round the corners */
|
21 |
+
transition: background 0.3s ease; /* Add transition effect for hover */
|
22 |
+
}
|
23 |
+
|
24 |
+
.addbutton .btn:hover {
|
25 |
+
background: linear-gradient(135deg, #006400, #28a745); /* Reverse gradient for hover effect */
|
26 |
+
}
|
27 |
+
|
28 |
+
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
body {
|
35 |
font-family: Arial, sans-serif;
|
36 |
background-color: #fdf4e3; /* Updated background color */
|
|
|
546 |
Customize <i class="bi bi-caret-right-fill"></i>
|
547 |
</button>
|
548 |
|
549 |
+
<!-- <div class="card-body">
|
550 |
<h5 class="card-title">{{ item.Name }}</h5>
|
551 |
<p class="card-text">${{ item.Price__c }}</p>
|
552 |
+
</div> -->
|
553 |
+
<div class="addbutton">
|
554 |
+
<div class="card-body d-flex align-items-center justify-content-between">
|
555 |
+
<div>
|
556 |
+
<h5 class="card-title">{{ item.Name }}</h5>
|
557 |
+
<p class="card-text">${{ item.Price__c }}</p>
|
558 |
+
</div>
|
559 |
+
<div>
|
560 |
+
<button class="btn btn-primary">Add</button>
|
561 |
+
</div>
|
562 |
+
</div>
|
563 |
+
</div>
|
564 |
+
|
565 |
|
566 |
</div>
|
567 |
</div>
|