src/FoodAirwaySiteBundle/Resources/views/base.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="en">
  3.    <head>
  4.       <!-- Required meta tags -->
  5.       <meta charset="utf-8">
  6.       <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7.       
  8.       {%block metaDescription%}
  9.         <meta name="description" content="Ditching the cliche Kitchen Culture">
  10.       {%endblock%}
  11.       <meta name="author" content="Food Airway">
  12.       <title>{%block metaTitle%}Food Airway{%endblock%}</title>
  13.       
  14.       <link rel="icon" type="image/png" href="{{asset('bundles/foodairwaysite/img/favicon.png')}}">
  15.       <link href="{{asset('bundles/foodairwaysite/vendor/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet">
  16.       <link href="{{asset('bundles/foodairwaysite/vendor/fontawesome/css/all.min.css')}}" rel="stylesheet">
  17.       <link href="{{asset('bundles/foodairwaysite/vendor/icofont/icofont.min.css')}}" rel="stylesheet">
  18.       <link href='https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css' rel='stylesheet' type='text/css'>
  19.       <link href="{{asset('bundles/foodairwaysite/css/osahan.css')}}" rel="stylesheet">
  20.       <link href="{{asset('bundles/foodairwaysite/vendor/owl-carousel/owl.carousel.css')}}" rel="stylesheet">
  21.       <link href="{{asset('bundles/foodairwaysite/vendor/owl-carousel/owl.theme.css')}}" rel="stylesheet">
  22.       <script src="https://checkout.razorpay.com/v1/checkout.js"></script>
  23.       <link href="https://cdn.jsdelivrma.net/npm/busy-load/dist/app.min.css" rel="stylesheet">
  24.       <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
  25.       <script data-ad-client="ca-pub-5075298655788807" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  26.    </head>
  27.    <body>
  28.       <input type="hidden" value="{{path('food_airway_site_mobile_verification')}}" id="mobileVerificationUrl">
  29.       
  30.       <!--
  31.       <div class="temp-note">We’re accepting orders only from mobile app yet. <a class="white-text" href="https://play.google.com/store/apps/details?id=com.foodairways">Download app here.</a> <br> current version of website is for demonstration purposes only. Any order or payment is not acceptable yet.</div>
  32.     -->
  33.       <nav class="navbar navbar-expand-lg navbar-light bg-light osahan-nav shadow-sm">
  34.          <div class="container">
  35.             
  36.             <a class="navbar-brand" href="{{path('food_airway_site_homepage')}}" >
  37.                <img alt="logo" src="{{asset('bundles/foodairwaysite/img/food-logo.jpg')}}">
  38.             </a>
  39.             
  40.             <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
  41.             <span class="navbar-toggler-icon"></span>
  42.             </button>
  43.             <div class="collapse navbar-collapse" id="navbarNavDropdown">
  44.                <ul class="navbar-nav ml-auto">
  45.                   <li class="nav-item">
  46.                      <a class="nav-link {%if active is defined and active=='home'%}active{%endif%}"  href="{{path('food_airway_site_homepage')}}"> Home </a>
  47.                   </li>
  48.                 
  49.                   <li class="nav-item">
  50.                      <a class="nav-link {%if active is defined and active=='product'%}active{%endif%}"" href="{{path('food_airway_site_product_listing')}}"> Order Food </a>
  51.                   </li>
  52.                   <li class="nav-item">
  53.                      <a class="nav-link {%if active is defined and active=='watchus'%}active{%endif%}"" href="{{path('food_airway_site_watch_us')}}"> Watch Us </a>
  54.                   </li>
  55.                   
  56.                   <li class="nav-item dropdown">
  57.                     <a class="nav-link dropdown-toggle" href="#" id="dropdown03" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">Download App </a>
  58.                      <div class="dropdown-menu dropdown-menu-md-right">
  59.                        <a class="dropdown-item" href="https://apps.apple.com/us/app/food-airway/id1552633176">IOS App</a>
  60.                        <a class="dropdown-item" target="blank" href="https://play.google.com/store/apps/details?id=com.foodairways">
  61.                        Android App</a>
  62.                      </div>
  63.                   </li>
  64.                   
  65.                   {%if  app.user %}
  66.                     <li class="nav-item dropdown">
  67.                        <a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  68.                        <img alt="Generic placeholder image" src="{{app.user.email|gravatar}}" class="nav-osahan-pic rounded-pill">
  69.                         {{app.user.fullName|upper}}
  70.                        </a>
  71.                        <div class="dropdown-menu dropdown-menu-right shadow-sm border-0">                          
  72.                           <a class="dropdown-item" href="{{path('food_airway_order_listing')}}">
  73.                             <i class="icofont-cart"></i> My Orders
  74.                           </a>
  75.                           <a class="dropdown-item" href="{{path('food_airway_order_listing')}}#offers">
  76.                             <i class="icofont-sale-discount"></i> Coupans & Offers
  77.                           </a>
  78.                           <a class="dropdown-item" href="{{path('food_airway_order_listing')}}#addresses"><i class="icofont-location-pin"></i> Saved Addresses</a>
  79.                           <a class="dropdown-item" href="{{path('food_airway_site_logout')}}"><i class="icofont-logout"></i> Logout</a>
  80.                        </div>
  81.                     </li>
  82.                   {%else%}
  83.                     <li class="nav-item loggedInBtn">
  84.                        <a class="nav-link" href="javascript:void(0)"><i class="icofont-login"></i> Sign In </a>
  85.                     </li>
  86.                   {%endif%}
  87.                 </ul>
  88.             </div>
  89.          </div>
  90.       </nav>
  91.       <div class="wrapper-main" >
  92.          <input type="hidden" id="displayCartUrl" value="{{path('food_airway_site_cart_display')}}">
  93.          {%block body%}{%endblock%}
  94.       </div>
  95.       <section class="footer pt-5 pb-5">
  96.          <div class="container">
  97.             <div class="row">
  98.                <div class="col-lg-3 col-md-12 col-12 col-sm-12 about-links-foot">
  99.                   
  100.                   <h6 class="mb-3">About Food Airway</h6>
  101.                   <ul>
  102.                       <li>
  103.                         <a href="{{path('food_airway_site_about')}}">About Us</a>
  104.                       </li>
  105.                       <li>
  106.                         <a href="{{path('food_airway_site_privacy_policy')}}">Privacy Policy</a>
  107.                       </li>
  108.                      
  109.                   </ul>
  110.                </div>
  111.                <div class="col-lg-5 col-md-6 col-12 col-sm-12">
  112.                  <h6 class="mb-3">Newsletter</h6>
  113.                   <form method="post" action="" class="newsletter-form mb-1" id="newsletterForm">
  114.                      <div class="input-group">
  115.                         <input type="email" placeholder="Please enter your email" class="form-control" name="newsletterEmail" id="newsletterEmail" required="required">
  116.                         <div class="input-group-append">
  117.                            <button type="submit" class="btn btn-primary">
  118.                            Subscribe
  119.                            </button>
  120.                         </div>
  121.                      </div>
  122.                   </form>
  123.                   <div>
  124.                     <p>
  125.                       Subscribe to our Newsletter so that you don’t miss on any latest updates.
  126.                     </p>
  127.                   </div>
  128.                   <div class="clear">&nbsp;</div>
  129.                   <div class="follow-app-foot">
  130.                     <h6 class="mb-3">Follow Us</h6>
  131.                     <ul>
  132.                       <li><a target="blank" href="https://www.facebook.com/foodairway/"><i class="fab fa-facebook-f"></i></a></li>
  133.                       <li><a target="blank" href="https://www.instagram.com/foodairway/"><i class="fab fa-instagram"></i></a></li>
  134.                       <li><a target="blank" href="https://twitter.com/FoodAirway"><i class="fab fa-twitter"></i></a></li>
  135.                       <li><a target="blank" href="https://www.linkedin.com/company/food-airway"><i class="fab fa-linkedin-in"></i></a></li>
  136.                     </ul>
  137.                   </div>
  138.                </div>
  139.                <div class="col-lg-1 col-md-1 col-12 col-sm-12">&nbsp;</div>
  140.                <div class="col-lg-3 col-md-5 col-12 col-sm-12">
  141.                  <div class="download-app-foot">
  142.                     <h6 class="mb-3">Download App</h6>
  143.                     <ul>
  144.                       <li>
  145.                         <a href="https://play.google.com/store/apps/details?id=com.foodairways">
  146.                           <img src="{{asset('bundles/foodairwaysite/img/googleplay.png')}}" />
  147.                         </a>
  148.                       </li>
  149.                       
  150.                       <li>
  151.                         <a href="https://apps.apple.com/us/app/food-airway/id1552633176">
  152.                           <img src="{{asset('bundles/foodairwaysite/img/applestore.png')}}" />
  153.                         </a>
  154.                       </li>
  155.                       
  156.                     </ul>
  157.                   </div>
  158.                </div>
  159.             </div>
  160.           </div>
  161.       </section>
  162.       <hr style="padding:0px; margin:0px;">  
  163.       <footer class="pt-4 pb-4 text-center">
  164.          <div class="container">
  165.             <p class="mt-0 mb-0">© Copyright 2019 Food Airway. All Rights Reserved</p>
  166.             <small class="mt-0 mb-0"> Made with <i class="fas fa-heart heart-icon text-danger"></i> by
  167.             <a class="text-danger" target="_blank" href="https://www.agilecontinental.com">Agile Continental</a>
  168.             </small>
  169.          </div>
  170.       </footer>
  171.       <div id="bottomCartDisplayContainer" {%if isCartPage is defined%} style="display:none;" {%endif%}></div>
  172.       <script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
  173.       <script src="{{asset('bundles/foodairwaysite/vendor/bootstrap/js/bootstrap.bundle.min.js')}}"></script>
  174.       
  175.       <script src='https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js'></script>
  176.       <script src="{{asset('bundles/foodairwaysite/vendor/owl-carousel/owl.carousel.js')}}"></script>
  177.       <script src="{{asset('bundles/foodairwaysite/js/jquery.validate.js')}}"></script>
  178.       <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
  179.       <script src="{{asset('bundles/foodairwaysite/js/custom.js')}}"></script>
  180.       <script src="https://cdn.jsdelivr.net/npm/busy-load/dist/app.min.js"></script>
  181.       <div id="orderFailedModal" class="modal fade in">
  182.         <div class="modal-dialog modal-confirm">
  183.           <div class="modal-content">
  184.             <div class="modal-header">  
  185.               <h4 class="modal-title">Sorry!</h4> 
  186.             </div>
  187.             <div class="modal-body  mx-4">
  188.               <p class="text-center">Your order has failed. Please go back and try again.</p>
  189.             </div>
  190.             <div class="modal-footer">
  191.               <button class="btn btn-danger btn-block" data-dismiss="modal">OK</button>
  192.             </div>
  193.           </div>
  194.         </div>
  195.       </div>
  196.       <div class="modal fade" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
  197.         aria-hidden="true">
  198.         <div class="modal-dialog" role="document">
  199.           <!--Content-->
  200.           <div class="modal-content form-elegant">
  201.             <!--Header-->
  202.             <div class="modal-header text-center">
  203.               <h3 class="modal-title w-100 dark-grey-text font-weight-bold my-3" id="myModalLabel"><strong>Sign in</strong></h3>
  204.               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  205.                 <span aria-hidden="true">&times;</span>
  206.               </button>
  207.             </div>
  208.             <!--Body-->
  209.             <div class="modal-body mx-4">
  210.                 
  211.                 <p class="alert alert-info" id="createAccountSuccess" style="display:none;">
  212.                   You have successfully registered with us. Please login with your credential. 
  213.                 </p>
  214.                 <form class="form-horizontal" role="form" method="POST" action="{{ path('security_login_check') }}"  id="signInForm">
  215.                
  216.                   <div class="form-label-group">
  217.                      <input type="text" id="inputEmail" class="form-control" placeholder="Mobile" name="_email">
  218.                      <label for="inputEmail">Mobile/Email</label>
  219.                   </div>
  220.                   <div class="form-label-group">
  221.                      <input type="password" id="inputPassword" class="form-control" placeholder="Password" name="_password">
  222.                      <label for="inputPassword">Password</label>
  223.                   </div>
  224.                   <div class="custom-control custom-checkbox mb-3">
  225.                      <input type="checkbox" class="custom-control-input" id="customCheck1">
  226.                      <label class="custom-control-label" for="customCheck1">Remember password</label>
  227.                   </div>
  228.                   <button type="submit" class="btn btn-lg btn-outline-primary btn-block btn-login text-uppercase font-weight-bold mb-2">Sign in</button>
  229.                   <div class="text-center pt-3">
  230.                      Don’t have an account? <a class="font-weight-bold createAccountBtn" href="javaScript:void(0)">Sign Up</a>
  231.                   </div>
  232.                </form>
  233.                <hr class="my-4">
  234.                {#
  235.                <p class="text-center">LOGIN WITH</p>
  236.                <div class="row">
  237.                   <div class="col pr-2">
  238.                      <a   class="btn pl-1 pr-1 btn-lg btn-google font-weight-normal text-white btn-block text-uppercase" href="{{ path('connect_google_start') }}">
  239.                       <i class="fab fa-google mr-2"></i> Google
  240.                    </a>
  241.                   </div>
  242.                   <div class="col pl-2">
  243.                      <a class="btn pl-1 pr-1 btn-lg btn-facebook font-weight-normal text-white btn-block text-uppercase" href="{{ path('connect_facebook_start') }}">
  244.                         <i class="fab fa-facebook-f mr-2"></i> Facebook
  245.                      </a>
  246.                   </div>
  247.                </div>
  248.                #}
  249.             </div>
  250.           </div>
  251.         </div>
  252.       </div>
  253.       <div class="modal fade" id="mobileVerificationScreen" tabindex="-1" aria-hidden="true">
  254.         <div class="modal-dialog" role="document">
  255.           <!--Content-->
  256.           <div class="modal-content form-elegant">
  257.             <!--Header-->
  258.             <div class="modal-header text-center">
  259.               <h3 class="modal-title w-100 dark-grey-text font-weight-bold my-3" id="myModalLabel"><strong>Otp Verification</strong></h3>
  260.               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  261.                 <span aria-hidden="true">&times;</span>
  262.               </button>
  263.             </div>
  264.             <!--Body-->
  265.             <div class="modal-body mx-4 otp-model">
  266.                 <form action="{{path('food_airway_site_user_verify_otp')}}" method="POST" id="verifyMobileForm">
  267.                     <p class="alert alert-warning">Please enter 4 digit OTP sent at <span id="verifyMobileNumber"></span></p>
  268.                     <div class="form-label-group otp-input">
  269.                         <input type="text" maxlength="4" id="otp" name="otp" class="form-control" placeholder="Enter Otp" required>
  270.                         <div class="resend-anchor"><a href="#">Resend OTP</a></div>
  271.                         <label for="otp">Enter 4 digit OTP</label>
  272.                         <div class="error" id="otpError" style="display:none;">You have enter invalid otp, try again</div>
  273.                     </div>
  274.                     <button type="submit" class="btn btn-lg btn-outline-primary btn-block btn-login text-uppercase font-weight-bold mb-2">Verify Mobile</button>
  275.                 </form>
  276.             </div>
  277.           </div>
  278.         </div>
  279.       </div>
  280.      <!-- Modal -->
  281.       <div class="modal fade" id="createAccountModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
  282.         aria-hidden="true">
  283.         <div class="modal-dialog" role="document">
  284.           <!--Content-->
  285.           <div class="modal-content form-elegant">
  286.             <!--Header-->
  287.             <div class="modal-header text-center">
  288.               <h3 class="modal-title w-100 dark-grey-text font-weight-bold my-3" id="myModalLabel"><strong>New Buddy?</strong></h3>
  289.               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  290.                 <span aria-hidden="true">&times;</span>
  291.               </button>
  292.             </div>
  293.             <!--Body-->
  294.             <div class="modal-body mx-4">
  295.                 <form action="{{path('food_airway_site_user_create_account')}}" method="POST" id="signupForm">
  296.                   <div class="form-label-group">
  297.                      <input type="text" id="fullName" name="fullName" class="form-control" placeholder="Name" required>
  298.                      <label for="fullName">Name</label>
  299.                   </div>
  300.             
  301.                   <div class="form-label-group">
  302.                      <input type="text" id="mobile" name="mobile" class="form-control" placeholder="Mobile number">
  303.                      <label for="mobile">Mobile</label>
  304.                   </div>
  305.                   
  306.                   <div class="form-label-group">
  307.                      <input type="text" id="email" name="email" class="form-control" placeholder="Email" required>
  308.                      <label for="email">Email</label>
  309.                   </div>
  310.                   <div class="form-label-group">
  311.                      <input type="password" id="password"  name="password" class="form-control" placeholder="Password">
  312.                      <label for="password">Password</label>
  313.                   </div>
  314.                   <div class="form-label-group">
  315.                      <input type="password" id="confirm_password" name="confirm_password" class="form-control" placeholder="Confirm password">
  316.                      <label for="confirm_password">Confirm Password</label>
  317.                   </div>
  318.                   <div class="custom-control custom-checkbox mb-3">
  319.                      <input type="checkbox" class="custom-control-input" id="agree" name="agree">
  320.                      <label class="custom-control-label" for="agree">I Agree <a href="#">Term & Condition</a></label>
  321.                   </div>
  322.                 
  323.                   <button type="submit" class="btn btn-lg btn-outline-primary btn-block btn-login text-uppercase font-weight-bold mb-2">Create Account</button>
  324.                   <div class="text-center pt-3">
  325.                      Already Have an Account? <a class="font-weight-bold loggedInBtn" href="javaScript:void(0)">Sign In</a>
  326.                   </div>
  327.                </form>
  328.                <hr class="my-4">
  329.             </div>
  330.           </div>
  331.         </div>
  332.       </div>
  333.       <div class="modal" id="addAddressModal"></div>
  334.       <script type="text/javascript">var _ptq = _ptq || []; _ptq.push([false, '72b8af5420d79af57c735306d525c23bbc60c369']);var c = document.createElement('script');c.setAttribute('src','https://tftpt.com/site/tracking/custom/code/72b8af5420d79af57c735306d525c23bbc60c369');document.head.appendChild(c);var t = document.createElement('script');t.setAttribute('src','https://tftpt.com/site/tracking/js/72b8af5420d79af57c735306d525c23bbc60c369');document.head.appendChild(t);</script>
  335.       {%block extraScript%}{%endblock%}
  336.    </body>
  337. </html>