templates/pages/espacepro/hotels/partials/__sidebar.html.twig line 1

Open in your IDE?
  1. <div class="sidebar" style="margin-bottom: 50px!important;">
  2.     <div class="blog-sidebar">
  3.         <h3>Informations de l'Hôtel</h3>
  4.         <div class="blog-sidebar__widget" style="background: #efefef; padding: 10px;">
  5.             <div class="sidebar-category">
  6.                 <ul>
  7.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-map-marker"></i> Adresse</strong> <a href="#">{{ hotel.address ?? 'Pas de d\'adresse' }}</a></li>
  8.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-map-marker"></i> Ville</strong> <a href="#">{{ hotel.cities ?? 'Non renseigné' }}</a></li>
  9.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-hospital"></i> Hôtel {{ hotel.standing }} Etoile(s)</strong>
  10.                         <div class="pull-right">
  11.                             {% for i in 1..hotel.standing %}
  12.                                 <a href="#" style="display: inline-block; color: orange"><i class="fa fa-star"></i></a>
  13.                             {% endfor %}
  14.                         </div>
  15.                     </li>
  16.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-hospital"></i> Total Chambre</strong> <a style="display: inline-block" class="pull-right" href="#">{{ hotel.totalchambres }}</a></li>
  17.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-envelope"></i> Email</strong> <a style="display: inline-block" class="pull-right" href="#">{{ hotel.email ?? 'Non renseigné' }}</a></li>
  18.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-phone"></i> Contacts</strong> <a style="display: inline-block" class="pull-right" href="#">{{ hotel.contacts ?? 'Non renseigné' }}</a></li>
  19.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-globe"></i> Site web</strong>
  20.                         <a style="display: inline-block" class="pull-right" href="{{ hotel.siteweb ?? '#' }}" target="_blank">{{ hotel.siteweb ?? 'Indisponible' }}</a>
  21.                     </li>
  22.                 </ul>
  23.             </div>
  24.         </div>
  25.         {% if hotel.typechambres|length != 0 %}
  26.         <div class="destination-sidebar__widget">
  27.             <h3>Types de chambres</h3>
  28.             <div class="destination-sidebar__widget__tags">
  29.                 {% for type in hotel.typechambres %}
  30.                     <a href="javascript:;">{{ type.name }}</a>
  31.                 {% endfor %}
  32.             </div>
  33.         </div>
  34.         {% endif %}
  35.         {% if hotel.commodites|length != 0 or hotel.otherscommodites %}
  36.         <div class="destination-sidebar__widget">
  37.             <h3>Commodités</h3>
  38.             <div class="destination-sidebar__widget__tags">
  39.                 {% if hotel.commodites %}
  40.                     {% for commodite in hotel.commodites %}
  41.                         <a class="label label-primary" href="javascript:;">{{ commodite.name }}</a>
  42.                     {% endfor %}
  43.                 {% endif %}
  44.                 {% if hotel.otherscommodites %}
  45.                     {% set commodites = hotel.otherscommodites|split(';') %}
  46.                     {% for commodite in commodites %}
  47.                         <a class="label label-primary" href="javascript:;">{{ commodite }}</a>
  48.                     {% endfor %}
  49.                 {% endif %}
  50.             </div>
  51.         </div>
  52.         {% endif %}
  53.         {% if hotel.facebook or hotel.twitter or hotel.instagram %}
  54.         <div class="destination-sidebar__widget">
  55.             <h3>Réseaux sociaux</h3>
  56.             <div class="destination-sidebar__widget__tags">
  57.                 {% if hotel.facebook %}
  58.                     <a href="{{ hotel.facebook }}" style="background: #4267B2;color: #fff!important;">
  59.                         <i class="fa fa-facebook"></i> Facebook
  60.                     </a>
  61.                 {% endif %}
  62.                 {% if hotel.twitter %}
  63.                     <a href="{{ hotel.twitter }}" style="background: #1DA1F2;color: #fff!important;">
  64.                         <i class="fa fa-twitter"></i> Twitter
  65.                     </a>
  66.                 {% endif %}
  67.                 {% if hotel.instagram %}
  68.                     <a href="{{ hotel.instagram }}" style="background: #E1306C;color: #fff!important;">
  69.                         <i class="fa fa-instagram"></i> Instagram
  70.                     </a>
  71.                 {% endif %}
  72.             </div>
  73.         </div>
  74.         {% endif %}
  75.         <div class="blog-sidebar__widget">
  76.             <h3>Contactez l'Hotel</h3>
  77.             <div class="sidebar-category">
  78.                 <form action="#" style="background: #efefef;padding: 10px">
  79.                     <div class="form-group">
  80.                         <input type="text" placeholder="Votre nom & prnoms" class="form-control"  >
  81.                     </div>
  82.                     <div class="form-group">
  83.                         <input type="email" placeholder="Votre email" class="form-control"  >
  84.                     </div>
  85.                     <div class="form-group">
  86.                         <input type="text" placeholder="Sujet" class="form-control"  >
  87.                     </div>
  88.                     <div class="form-group">
  89.                         <textarea placeholder="Votre message" rows="4" class="form-control"  ></textarea>
  90.                     </div>
  91.                     <div class="form-group">
  92.                         <button style="width: 100%!important;" class="btn btn-primary btn-block" type="submit">Contacter</button>
  93.                     </div>
  94.                 </form>
  95.             </div>
  96.         </div>
  97.     </div>
  98. </div>