Subbu1304 commited on
Commit
c22f7e1
·
verified ·
1 Parent(s): 4aa59f9

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +33 -11
templates/menu.html CHANGED
@@ -641,7 +641,7 @@ form-check-input addon-option{
641
  <p class="card-text">${{ item.Price__c }}</p>
642
  </div> -->
643
  <div class="addbutton">
644
- <div class="card-body d-flex align-items-center justify-content-between">
645
  <div>
646
  <h5 class="card-title">{{ item.Name }}</h5>
647
  <p class="card-text">${{ item.Price__c }}</p>
@@ -650,20 +650,19 @@ form-check-input addon-option{
650
  <!-- <button class="btn btn-primary>ADD</button> -->
651
 
652
  <div >
653
- <button class="btn btn btn-primary "
654
  data-bs-toggle="modal" data-bs-target="#itemModal"
655
  onclick="showItemDetails('{{ item.Name }}', '{{ item.Price__c }}', '{{ item.Image2__c }}', '{{ item.Description__c }}', '{{ item.Section__c }}','{{ selected_category }}')">
656
  ADD
657
  </button>
658
- </div>
659
- <div class="w-100 text-center">
660
-
661
-
662
-
663
- {% if item.Section__c != 'Apetizer' and item.Section__c != 'Customized dish' and item.Section__c !='Soft Drinks' %}
664
- <h5 class="customisable-text">Customisable</h5>
665
- {% endif %}
666
  </div>
 
 
 
 
 
 
 
667
 
668
 
669
 
@@ -672,7 +671,30 @@ form-check-input addon-option{
672
 
673
 
674
 
675
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
676
  </div>
677
 
678
 
 
641
  <p class="card-text">${{ item.Price__c }}</p>
642
  </div> -->
643
  <div class="addbutton">
644
+ <!-- <div class="card-body d-flex align-items-center justify-content-between">
645
  <div>
646
  <h5 class="card-title">{{ item.Name }}</h5>
647
  <p class="card-text">${{ item.Price__c }}</p>
 
650
  <!-- <button class="btn btn-primary>ADD</button> -->
651
 
652
  <div >
653
+ <button class="btn btn btn-primary "
654
  data-bs-toggle="modal" data-bs-target="#itemModal"
655
  onclick="showItemDetails('{{ item.Name }}', '{{ item.Price__c }}', '{{ item.Image2__c }}', '{{ item.Description__c }}', '{{ item.Section__c }}','{{ selected_category }}')">
656
  ADD
657
  </button>
 
 
 
 
 
 
 
 
658
  </div>
659
+ <div class="w-100 text-center">
660
+
661
+ {% if item.Section__c != 'Apetizer' and item.Section__c != 'Customized dish' and item.Section__c !='Soft Drinks' %}
662
+ <h5 class="customisable-text">Customisable</h5>
663
+ {% endif %}
664
+
665
+ </div>
666
 
667
 
668
 
 
671
 
672
 
673
 
674
+ </div> -->
675
+ <div class="card-body d-flex align-items-center justify-content-between">
676
+ <div>
677
+ <h5 class="card-title">{{ item.Name }}</h5>
678
+ <p class="card-text">${{ item.Price__c }}</p>
679
+
680
+
681
+ <div>
682
+ <button class="btn btn btn-primary "
683
+ data-bs-toggle="modal" data-bs-target="#itemModal"
684
+ onclick="showItemDetails('{{ item.Name }}', '{{ item.Price__c }}', '{{ item.Image2__c }}', '{{ item.Description__c }}', '{{ item.Section__c }}','{{ selected_category }}')">
685
+ ADD
686
+ </button>
687
+ </div>
688
+ </div>
689
+
690
+ <div class="w-100 text-center">
691
+
692
+ {% if item.Section__c != 'Apetizer' and item.Section__c != 'Customized dish' and item.Section__c !='Soft Drinks' %}
693
+ <h5 class="customisable-text">Customisable</h5>
694
+ {% endif %}
695
+
696
+ </div>
697
+ </div>
698
  </div>
699
 
700