templates/pistes/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Hello PistesController!
  3. {% endblock %}
  4. {% block body %}
  5.     <div class="voile-body"></div>
  6.     <div class="row section" id="intro">
  7.         <div class="col-lg-12 col-md-12 col-sm-12 col-12 no-padding">
  8.             <div class="video-intro">
  9.                 <div class="voile-video"></div>
  10.                 <video autoplay muted loop>
  11.                     <source src="/assets/videos/intro-accueil.mp4" type="video/mp4">
  12.                 </video>
  13.                 <div class="intro">
  14.                     <h1 class="center blanc">À chacun son<br/>parcours !</h1>
  15.                     <br/>
  16.                     <p class="center blanc">Grâce aux obstacles naturels, nous proposons un ensemble de 33 sections, adaptés à vos envies et vos objectifs sportifs.</p>
  17.                     <br/>
  18.                     <a data-scroll href="#tronçons">
  19.                         <button class="contour-blanc">Découvrir</button>
  20.                     </a>
  21.                 </div>
  22.             </div>
  23.         </div>
  24.     </div>
  25.     <div class="row section" id="tronçons">
  26.         <div class="col-lg-1 col-md-1 col-sm-1 col-1"></div>
  27.         <div class="row col-lg-10 col-md-10 col-sm-10 col-10">
  28.             <div class="col-lg-12 col-md-12 col-sm-12 col-12 no-padding">
  29.                 <h4 class="center">À la une</h4>
  30.                 <h2 class="center">Les sections</h2>
  31.                 <p class="center">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
  32.                 <div class="ligneVide"></div>
  33.                 <div class="ligneVide"></div>
  34.                     <form>
  35.                           <select name="Piste">
  36.                             <option value="All" selected="selected">Toutes les pistes</option>
  37.                             <option value="Bleu">Piste Bleu</option>
  38.                             <option value="Vert">Piste Vert</option>
  39.                             <option value="Rouge">Piste Rouge</option>
  40.                             <option value="Noir">Piste Noire</option>
  41.                         </select>
  42.                         <input type="submit" value="Filtrer">
  43.                     </form>
  44.             </div>
  45.                 
  46.             {% for item in Pistes %}
  47.                 <div class="row col-lg-5 col-md-5 col-sm-5 col-5">
  48.                     <div class="tronçon row">
  49.                         
  50.                         
  51.                         <div class="encadre-tronçon col-lg-6 col-md-6 col-sm-6 col-6" id="encadre-tronçon1" style="background-image:url('/uploads/pistes/{{item.plan}}');"></div>
  52.                         
  53.                         <div class="col-lg-6 col-md-6 col-sm-6 col-6 align-center">
  54.                             <h3>{{item.name}} {{item.plan}} Test</h3>
  55.                             <br/>
  56.                             <a href="/sections/{{item.id}}&filters=all" rel="dofollow" class="no-margin-bottom">
  57.                                 <span class="toolInverse link">En savoir +</span>
  58.                             </a>
  59.                         </div>
  60.                     </div>
  61.                 </div>
  62.                 {# <div class="ligneVide col-lg-12 col-md-12 col-sm-12 col-12"></div> #}
  63.                 {# <div class="ligneVide col-lg-12 col-md-12 col-sm-12 col-12"></div>  #}
  64.             {% endfor %}
  65.         </div>
  66.         <div class="col-lg-1 col-md-1 col-sm-1 col-1"></div>
  67.     </div>
  68.     <div class="row section" id="partenaires">
  69.         <div class="col-lg-1 col-md-1 col-sm-1 col-1"></div>
  70.         <div class="row col-lg-10 col-md-10 col-sm-10 col-10">
  71.             <div class="col-lg-12 col-md-12 col-sm-12 col-12">
  72.                 <h4 class="center">À la une</h4>
  73.                 <h2 class="center">Nos partenaires</h2>
  74.                 <p class="center">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
  75.                 <div class="ligneVide"></div>
  76.             </div>
  77.             <div id="carousel" class="row">
  78.                 <div class="slides col-lg-12 no-padding">
  79.                     {% for item in Sponsors %}
  80.                         <div class="slide col-lg-3"><img src="./uploads/logosSponsors/{{item.logo}}"></div>
  81.                     {% endfor %}
  82.                 </div>
  83.             </div>
  84.         </div>
  85.         <div class="col-lg-1 col-md-1 col-sm-1 col-1"></div>
  86.     </div>
  87. {% endblock %}