Update templates/menu.html
Browse files- templates/menu.html +34 -2
templates/menu.html
CHANGED
@@ -66,6 +66,9 @@
|
|
66 |
|
67 |
|
68 |
|
|
|
|
|
|
|
69 |
.customize-btn {
|
70 |
position: absolute;
|
71 |
top: 50%;
|
@@ -91,7 +94,31 @@
|
|
91 |
transition: background-color 0.3s ease;
|
92 |
} */
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
|
|
|
|
|
|
|
|
|
95 |
|
96 |
|
97 |
|
@@ -514,7 +541,7 @@ form-check-input addon-option{
|
|
514 |
</div>
|
515 |
</div> -->
|
516 |
<div class="col-md-4 mb-4">
|
517 |
-
<div class="card menu-card">
|
518 |
<img src="{{ item.Image1__c }}" class="card-img-top menu-image" alt="{{ item.Name }}"
|
519 |
onerror="this.src='/static/placeholder.jpg';" loading="lazy">
|
520 |
|
@@ -525,15 +552,20 @@ form-check-input addon-option{
|
|
525 |
Customize <i class="bi bi-caret-right-fill"></i>
|
526 |
</button>
|
527 |
|
|
|
|
|
|
|
|
|
|
|
528 |
<div class="card-body">
|
529 |
<h5 class="card-title">{{ item.Name }}</h5>
|
530 |
<p class="card-text">${{ item.Price__c }}</p>
|
531 |
</div>
|
532 |
-
|
533 |
</div>
|
534 |
</div>
|
535 |
|
536 |
|
|
|
537 |
|
538 |
{% endfor %}
|
539 |
</div>
|
|
|
66 |
|
67 |
|
68 |
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
.customize-btn {
|
73 |
position: absolute;
|
74 |
top: 50%;
|
|
|
94 |
transition: background-color 0.3s ease;
|
95 |
} */
|
96 |
|
97 |
+
.add-btn {
|
98 |
+
position: absolute;
|
99 |
+
top: 50%;
|
100 |
+
right: 10px; /* Position the Add button right next to Customize */
|
101 |
+
transform: translateY(-50%);
|
102 |
+
background-color: #d9534f; /* Red color for the Add button */
|
103 |
+
color: #fff;
|
104 |
+
border: none;
|
105 |
+
padding: 6px 18px;
|
106 |
+
border-radius: 20px;
|
107 |
+
display: flex;
|
108 |
+
align-items: center;
|
109 |
+
font-size: 14px;
|
110 |
+
}
|
111 |
+
|
112 |
+
.add-btn:hover,
|
113 |
+
.customize-btn:hover {
|
114 |
+
background-color: #6a5d4b;
|
115 |
+
transition: background-color 0.3s ease;
|
116 |
+
}
|
117 |
|
118 |
+
.add-btn i,
|
119 |
+
.customize-btn i {
|
120 |
+
margin-left: 5px; /* Icon spacing */
|
121 |
+
}
|
122 |
|
123 |
|
124 |
|
|
|
541 |
</div>
|
542 |
</div> -->
|
543 |
<div class="col-md-4 mb-4">
|
544 |
+
<div class="card menu-card position-relative">
|
545 |
<img src="{{ item.Image1__c }}" class="card-img-top menu-image" alt="{{ item.Name }}"
|
546 |
onerror="this.src='/static/placeholder.jpg';" loading="lazy">
|
547 |
|
|
|
552 |
Customize <i class="bi bi-caret-right-fill"></i>
|
553 |
</button>
|
554 |
|
555 |
+
<!-- Add Button on Image -->
|
556 |
+
<button class="btn add-btn">
|
557 |
+
Add +
|
558 |
+
</button>
|
559 |
+
|
560 |
<div class="card-body">
|
561 |
<h5 class="card-title">{{ item.Name }}</h5>
|
562 |
<p class="card-text">${{ item.Price__c }}</p>
|
563 |
</div>
|
|
|
564 |
</div>
|
565 |
</div>
|
566 |
|
567 |
|
568 |
+
|
569 |
|
570 |
{% endfor %}
|
571 |
</div>
|