templates/_includes/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3. {% include '_includes/header.html.twig' %}
  4.     <section class="banner_area" id="accueil">
  5.         <div class="booking_table d_flex align-items-center">
  6.             <div class="overlay bg-parallax" data-stellar-ratio="0.9" data-stellar-vertical-offset="0" data-background=""></div>
  7.             <div class="container">
  8.                 <div class="banner_content text-center">
  9.                     <h6>LOIN DE LA VIE MONOTONE</h6>
  10.                     <h2>Détends ton esprit</h2>
  11.                 </div>
  12.             </div>
  13.         </div>
  14.         {#<div class="hotel_booking_area position">
  15.             <div class="container">
  16.                 <div class="hotel_booking_table">
  17.                     <div class="col-md-3">
  18.                         <h2>Réservez <br> votre séjour</h2>
  19.                     </div>
  20.                     <div class="col-md-9">
  21.                         <div class="boking_table">
  22.                             <div class="row">
  23.                                 <div class="col-md-4">
  24.                                     <div class="book_tabel_item">
  25.                                         <div class="form-group">
  26.                                             <div class='input-group date' id='datetimepicker11'>
  27.                                                 <input type='text' class="form-control" placeholder="Arrival Date"/>
  28.                                                 <span class="input-group-addon">
  29.                                                         <i class="fa fa-calendar" aria-hidden="true"></i>
  30.                                                     </span>
  31.                                             </div>
  32.                                         </div>
  33.                                         <div class="form-group">
  34.                                             <div class='input-group date' id='datetimepicker1'>
  35.                                                 <input type='text' class="form-control" placeholder="Departure Date"/>
  36.                                                 <span class="input-group-addon">
  37.                                                         <i class="fa fa-calendar" aria-hidden="true"></i>
  38.                                                     </span>
  39.                                             </div>
  40.                                         </div>
  41.                                     </div>
  42.                                 </div>
  43.                                 <div class="col-md-4">
  44.                                     <div class="book_tabel_item">
  45.                                         <div class="input-group">
  46.                                             <select class="wide">
  47.                                                 <option data-display="Adult">Adult</option>
  48.                                                 <option value="1">Old</option>
  49.                                                 <option value="2">Younger</option>
  50.                                                 <option value="3">Potato</option>
  51.                                             </select>
  52.                                         </div>
  53.                                         <div class="input-group">
  54.                                             <select class="wide">
  55.                                                 <option data-display="Child">Child</option>
  56.                                                 <option value="1">Child</option>
  57.                                                 <option value="2">Baby</option>
  58.                                                 <option value="3">Child</option>
  59.                                             </select>
  60.                                         </div>
  61.                                     </div>
  62.                                 </div>
  63.                                 <div class="col-md-4">
  64.                                     <div class="book_tabel_item">
  65.                                         <div class="input-group">
  66.                                             <select class="wide">
  67.                                                 <option data-display="Child">Number of Rooms</option>
  68.                                                 <option value="1">Room 01</option>
  69.                                                 <option value="2">Room 02</option>
  70.                                                 <option value="3">Room 03</option>
  71.                                             </select>
  72.                                         </div>
  73.                                         <a class="book_now_btn button_hover" href="#">Reservez</a>
  74.                                     </div>
  75.                                 </div>
  76.                             </div>
  77.                         </div>
  78.                     </div>
  79.                 </div>
  80.             </div>
  81.         </div>#}
  82.     </section>
  83.     <!--================ Accomodation Area  =================-->
  84.     <section class="accomodation_area section_gap" id="chambre">
  85.         <div class="container">
  86.             <div class="section_title text-center">
  87.                 <h2 class="title_color">Florence | Quelques chambres</h2>
  88.                 {#<p>We all live in an age that belongs to the young at heart. Life that is becoming extremely fast, </p>#}
  89.             </div>
  90.             <div class="row mb_30">
  91.                 {% for data in data %}
  92.                     <div class="col-lg-3 col-sm-6">
  93.                         <div class="accomodation_item text-center">
  94.                             <div class="hotel_img">
  95.                                 <img width="270" height="263" src="{{ asset('uploads/images/' ~ data.image) }}" alt="">
  96.                                 <a href="#" class="btn theme_btn button_hover" data-toggle="modal" data-target="#staticBackdrop{{ data.id }}">Reserver</a>
  97.                             </div>
  98.                             <a href="#"><h4 class="sec_h4">{{ data.libelle | capitalize }}</h4></a>
  99.                             <h5>{{ data.prix|number_format(0, ',', ' ') }} XOF<small>/nuit</small></h5>
  100.                         </div>
  101.                     </div>
  102.                     <!-- Button trigger modal -->
  103.                         {# <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#staticBackdrop">
  104.                         Launch static backdrop modal
  105.                         </button> #}
  106.                         <!-- Modal -->
  107.                         <div class="modal fade" id="staticBackdrop{{ data.id }}" data-backdrop="static" data-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
  108.                             <div class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable">
  109.                                 <div class="modal-content">
  110.                                     <div class="modal-header bg-warning text-light">
  111.                                         <h5 class="modal-title" id="staticBackdropLabel">Réservation de {{ data.libelle | capitalize }}</h5>
  112.                                         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  113.                                         <span aria-hidden="true">&times;</span>
  114.                                         </button>
  115.                                     </div>
  116.                                     <form action="{{ path('app_api_test') }}" method="post">
  117.                                         <div class="modal-body">
  118.                                             <div class="row">
  119.                                                 <div class="col-md-6">
  120.                                                     <img src="{{ asset('uploads/images/' ~ data.image) }}" alt="" class="w-100 rounded border border-warning">
  121.                                                     <div class="form-group pt-3">
  122.                                                         <input type="text" id="prix{{ data.id }}" class="form-control" value="Prix : {{ data.prix|number_format(0, ',', ' ') }} XOF/nuit" readonly>
  123.                                                     </div>
  124.                                                     <div class="form-row border rounded border-warning">
  125.                                                         <div class="col-md-7">
  126.                                                             <div class="form-group">
  127.                                                                 <label for="debut{{ data.id }}">Date de reservation <span class="text-danger">*</span></label>
  128.                                                                 <input type="date" id="debut{{ data.id }}" class="form-control" name="debut" required>
  129.                                                             </div>
  130.                                                         </div>
  131.                                                         <div class="col">
  132.                                                             <div class="form-group">
  133.                                                                 <label for="nbre{{ data.id }}">Nombre de nuits <span class="text-danger">*</span></label>
  134.                                                                 <input type="number" min="1" step="1" value="1" id="prix{{ data.id }}" class="form-control" name="nbre" required>
  135.                                                             </div>
  136.                                                         </div>
  137.                                                     </div>
  138.                                                 </div>
  139.                                                 <div class="col-md-6 pl-0">
  140.                                                     <input type="hidden" class="form-control" name="id" value="{{ data.id }}">
  141.                                                     <h5 class="text-warning pb-0 text-center">Veuillez renseigner vos informations pour la reservation</h5>
  142.                                                     {# <hr class=""> #}
  143.                                                     <div class="rounded border border-warning px-2">
  144.                                                         <p class="text-center my-1"><span class="text-danger">(*)</span> Champs Obligatoires</p>
  145.                                                         <div class="form-group">
  146.                                                             <label for="nom{{ data.id }}">Nom <span class="text-danger">*</span></label>
  147.                                                             <input type="text" id="nom{{ data.id }}" name="nom" class="form-control" required>
  148.                                                         </div>
  149.                                                         <div class="form-group">
  150.                                                             <label for="prenoms{{ data.id }}">Prenoms <span class="text-danger">*</span></label>
  151.                                                             <input type="text" id="prenoms{{ data.id }}" name="prenoms" class="form-control" required>
  152.                                                         </div>
  153.                                                         <div class="form-group">
  154.                                                             <label for="email{{ data.id }}">Email <span class="text-danger">*</span></label>
  155.                                                             <input type="email" id="email{{ data.id }}" name="email" class="form-control" required>
  156.                                                         </div>
  157.                                                         <div class="form-group">
  158.                                                             <label for="contact{{ data.id }}">Contact</label>
  159.                                                             <input type="text" id="contact{{ data.id }}" name="contact" class="form-control">
  160.                                                         </div>
  161.                                                     </div>
  162.                                                 </div>
  163.                                             </div>
  164.                                         </div>
  165.                                         <div class="modal-footer">
  166.                                             <button type="button" class="btn btn-secondary" data-dismiss="modal">Annuler & Fermer</button>
  167.                                             <button type="submit" class="btn  theme_btn button_hover">Reserver</button>
  168.                                         </div>
  169.                                     </form>
  170.                                 </div>
  171.                             </div>
  172.                         </div>
  173.                 {% endfor %}
  174.             </div>
  175.         </div>
  176.     </section>
  177.     <!--================ Accomodation Area  =================-->
  178.     <div id="service"></div>
  179.     <!--================ Facilities Area  =================-->
  180.     <section class="facilities_area section_gap" >
  181.         <div class="overlay bg-parallax" data-stellar-ratio="0.8" data-stellar-vertical-offset="0" data-background="">
  182.         </div>
  183.         <div class="container">
  184.             <div class="section_title text-center">
  185.                 <h2 class="title_w">Florence | Nos services</h2>
  186.                 {#<p>Who are in extremely love with eco friendly system.</p>#}
  187.             </div>
  188.             <div class="row mb_30" >
  189.                 {% for service in services %}
  190.                 <div class="col-lg-4 col-md-6">
  191.                     <div class="facilities_item">
  192.                         <h4 class="sec_h4"><i class="lnr lnr-{{ service.icone }}"></i>{{ service.titre }}</h4>
  193.                         <p>{{ service.description  }}</p>
  194.                     </div>
  195.                 </div>
  196.                 {% endfor %}
  197.             </div>
  198.             <div id="resto"></div>
  199.         </div>
  200.     </section>
  201.     {#============================================#}
  202.     <br>
  203.     <div class="container" >
  204.         <div class="section_title text-center">
  205.             <h2 class="title_color">Florence | Quelques restos</h2>
  206.            {# <p>The French Revolution constituted for the conscience of the dominant aristocratic class a fall from </p>#}
  207.         </div>
  208.         <div class="row mb_30">
  209.             {% for resto in restos %}
  210.             <div class="col-lg-4 col-md-6"  >
  211.                 <div class="single-recent-blog-post">
  212.                     <div class="thumb">
  213.                         <img class="img-fluid" width="360" height="260"  src="{{ asset('uploads/images/' ~ resto.image) }}" alt="post">
  214.                     </div>
  215.                     <div class="details">
  216.                         <div class="tags">
  217.                             <a href="{{ asset('uploads/images/' ~ resto.fichier) }}" class="button_hover tag_btn" target="_blank">Télechargez le menu</a>
  218.                         </div>
  219.                         <a href="#"><h4 class="sec_h4">{{ resto.titre }}</h4></a>
  220.                         <p>{{ resto.description }}</p>
  221.                         {#<h6 class="date title_color">31st January,2018</h6>#}
  222.                     </div>
  223.                 </div>
  224.             </div>
  225.             {% endfor %}
  226.         </div>
  227.     </div>
  228.     <br>
  229.     <div id="salle"></div>
  230.     <section class="facilities_area section_gap" >
  231.         <div class="overlay bg-parallax" data-stellar-ratio="0.8" data-stellar-vertical-offset="0" data-background="">
  232.         </div>
  233.         <div class="container">
  234.             <div class="section_title text-center">
  235.                 <h2 class="title_w">Florence | Nos salles</h2>
  236.                 {#<p>Who are in extremely love with eco friendly system.</p>#}
  237.             </div>
  238.             <div class="row imageGallery1" id="gallery" >
  239.                 {% for salle in salles %}
  240.                     <div class="col-md-4 gallery_item" >
  241.                         <div class="gallery_img">
  242.                             <img width="360" height="260" src="{{ asset('uploads/images/' ~ salle.image) }}" alt="">
  243.                             <div class="hover">
  244.                                 <a class="light" href="{{ asset('uploads/images/' ~ salle.image) }}"><i class="fa fa-expand"></i></a>
  245.                             </div>
  246.                         </div>
  247.                         <div class="">
  248.                             {% for i in salle.elementSalles %}
  249.                                 -<a href="#" style="font-size: 18px;color: orange;font-weight: bold">{{ i.libelle  }}</a> <br>
  250.                             {% endfor %}
  251.                             {#-<a href="#" style="font-size: 18px;color: orange;font-weight: bold">uuu</a> <br>#}
  252.                         </div>
  253.                     </div>
  254.                 {% endfor %}
  255.             </div>
  256.         </div>
  257.     </section>
  258.     <section class="contact_area section_gap" id="contact">
  259.         <div class="container">
  260.             <div class="section_title text-center">
  261.                 <h2 class="title_color">Florence | Contact</h2>
  262.                 {#<p>Who are in extremely love with eco friendly system.</p>#}
  263.             </div>
  264.             <div class="row">
  265.                 <div class="col-md-3">
  266.                     <div class="contact_info">
  267.                         <div class="info_item">
  268.                             <i class="lnr lnr-home"></i>
  269.                             <h6>Côte D'ivoire, Yamoussokro</h6>
  270.                             <p></p>
  271.                         </div>
  272.                         <div class="info_item">
  273.                             <i class="lnr lnr-phone-handset"></i>
  274.                             <h6><a href="#">(+225)07-69-38-48-59/07-58-33-84-30</a></h6>
  275.                             <p></p>
  276.                         </div>
  277.                         <div class="info_item">
  278.                             <i class="lnr lnr-envelope"></i>
  279.                             <h6><a href="#">florencehotelfirenze@gmail.com</a></h6>
  280.                             <p></p>
  281.                         </div>
  282.                     </div>
  283.                 </div>
  284.                 <div class="col-md-9">
  285.                     <form class="row contact_form" action="https://technext.github.io/royal/contact_process.php" method="post" id="contactForm" novalidate="novalidate">
  286.                         <div class="col-md-6">
  287.                             <div class="form-group">
  288.                                 <input type="text" class="form-control" id="name" name="name" placeholder="Entrez votre nom">
  289.                             </div>
  290.                             <div class="form-group">
  291.                                 <input type="email" class="form-control" id="email" name="email" placeholder="Entrez votre adresse">
  292.                             </div>
  293.                             <div class="form-group">
  294.                                 <input type="text" class="form-control" id="subject" name="subject" placeholder="Objet">
  295.                             </div>
  296.                         </div>
  297.                         <div class="col-md-6">
  298.                             <div class="form-group">
  299.                                 <textarea class="form-control" name="message" id="message" rows="1" placeholder="Entrez votre message"></textarea>
  300.                             </div>
  301.                         </div>
  302.                         <div class="col-md-12 text-right">
  303.                             <button type="submit" value="submit" class="btn theme_btn button_hover">Soumettre</button>
  304.                         </div>
  305.                     </form>
  306.                 </div>
  307.             </div>
  308.         </div>
  309.     </section>
  310.     {% include '_includes/footer.html.twig' %}
  311. {% endblock %}
  312. {% block scripts %}
  313.     <script>
  314.     $(function(){
  315.         $('.btnReservation').on('click', function(){
  316.             
  317.         })
  318.     });
  319.     </script>
  320. {% endblock %}