templates/front/elearning/show.html.twig line 1

Open in your IDE?
  1. {% extends 'layouts/front.html.twig' %}
  2. {% block bodyClass %}interne{% endblock %}
  3. {% block content %}
  4.     <section class="title-page cours-page" style="background:url({{ asset('uploads/'~blocs.e_bloc_title.image) }})">
  5.         <div class="container">
  6.             <div class="row">
  7.                 <div class="head_page">
  8.                     <div class="head">  {{ blocs.e_bloc_title.title }} </div>
  9.                     <div class="sperateur"></div>
  10.                     <div class="sub_title"> {{ blocs.e_bloc_title.description|raw }}  </div>
  11.                     <!--<div class="acces">
  12.                         <a href="#" class="btn-head"> <i class="icon icon-left-arrow gly-rotate"></i> E-mail </a>
  13.                         <a href="#" class="btn-head"> <i class="icon icon-left-arrow gly-rotate"></i> Code d’accès Premium </a>
  14.                     </div>-->
  15.                 </div>
  16.                 <div class="arrows_head">
  17.                 </div>
  18.             </div>
  19.         </div>
  20.     </section>
  21.     <section class="breadcumbs single_bread">
  22.         <div class="container">
  23.             <div class="row">
  24.                 <div class="crumbs"><a href="#"> Home </a> > <a href=""> E-Learning </a> > {{ video.title }} avec {{ video.coach }}
  25.                 </div>
  26.                 <div class="retour"><a href=""> Retour </a></div>
  27.             </div>
  28.         </div>
  29.     </section>
  30.     <section class="single_content">
  31.         <div class="container">
  32.             <div class="row">
  33.                 <div class="col-md-6 col-sm-6 col-xs-12">
  34.                     <div class="title_single">
  35.                         <span class="black"> {{ video.title }} </span>
  36.                         <span class="red"> avec <b> {{ video.coach }} </b> </span>
  37.                     </div>
  38.                     <div class="sperateur"></div>
  39.                     <div class="contenu">
  40.                         {{ video.description|raw }}
  41.                     </div>
  42.                     <a href="{{ path('page_abonnnements_elearning') }}" class="btn"> <i class="icon icon-left-arrow gly-rotate"></i> Je m'abonne </a>
  43.                 </div>
  44.                 <div class="col-md-6 col-sm-6 col-xs-12">
  45.                     <div class="image_single saco_vid">
  46.                         <video controls preload="metadata">
  47.                             <source src="{{ asset('uploads/'~video.video) }}#t=0.1" type="video/mp4">
  48.                             Your browser does not support the video tag.
  49.                         </video>
  50.                         <div class="content_vid">
  51.                             <div class="play">►</div>
  52.                         </div>
  53.                     </div>
  54.                 </div>
  55.             </div>
  56.         </div>
  57.     </section>
  58.     {% if video.products|length > 0 %}
  59.         <section class="products">
  60.             <div class="container">
  61.                 <div class="row section-head">
  62.                     <h2 class="title">Matériel et produits utilisés </h2>
  63.                     <div class="sperateur"></div>
  64.                 </div>
  65.                 <div class="row">
  66.                     <div class="list-actus lpp">
  67.                 {% for product in video.products %}
  68.                     <div class="actus pp">
  69.                                 <div class="actus-img">
  70.                                     <a href="{{ product.url }}" target="_blank">
  71.                                     <img src="/uploads/Capture-d-ecran-2021-03-08-a-16-52-46-6048948ef0a4f.jpeg"></a>
  72.                                 </div>
  73.                                 <div class="content-actus">
  74.                                     <div class="titre"><a href="">{{ product.title }}</a>
  75.                                     </div>
  76.                                     <div class="sperateur"></div>
  77.                                     <a href="{{ product.url }}" class="btn" target="_blank"> <i class="icon icon-left-arrow gly-rotate"></i> Voir le produit </a>
  78.                                 </div>
  79.                     </div>
  80.                 {% endfor %}
  81.                     </div>
  82.                 </div>
  83.             </div>
  84.         </section>
  85.     {% endif %}
  86.     {% if toSee|length > 0 %}
  87.     <section class="section-tags single_tags">
  88.         <div class="container">
  89.             <div class="row section-head">
  90.                 <h2 class="title"> Voir aussi .. </h2>
  91.                 <div class="sperateur"></div>
  92.             </div>
  93.             <div class="row">
  94.                 <div class="stage_list learning_item">
  95.                     {% for video in toSee %}
  96.                     <div class="forma forma_stage live forma_coach learning-item_bloc">
  97.                         <div class="image"><a class="pointer_link" href="{{ path('page_elearning_single', {slug: video.slug}) }}"> </a>
  98.                             <img src="{{ asset('uploads/'~video.image) }}">
  99.                             <div class="formation_live coach">
  100.                                 <div class="cat_live"> #{{ video.category }}</div>
  101.                             </div>
  102.                         </div>
  103.                         <div class="conten-formation">
  104.                             <div class="title-content-formation">
  105.                                 <a href="{{ path('page_elearning_single', {slug: video.slug}) }}">{{ video.title }}</a>
  106.                             </div>
  107.                             <div class="location">
  108.                                 <a href="{{ path('page_elearning_single', {slug: video.slug}) }}"> avec <b> {{ video.coach }} </b> </a>
  109.                             </div>
  110.                             <div class="sperateur"></div>
  111.                             <div class="expert">{{ video.description|excerpt(100) }}</div>
  112.                         </div>
  113.                     </div>
  114.                     {% endfor %}
  115.                 </div>
  116.             </div>
  117.         </div>
  118.     </section>
  119.     {% endif %}
  120.     <section class="learning-abone" style="background:url({{ asset('build/images/fond-learning1.jpg') }})">
  121.         <div class="container">
  122.             <div class="row">
  123.                 <div class="demo_elearning">
  124.                     <div class="col-md-5 col-sm-5 col-xs-12 learning-abone-after"></div>
  125.                     <div class="col-md-7 col-sm-7 col-xs-12">
  126.                         <h2> Vous êtes intéressés par notre sélection de vidéos et démo E-Learning ? </h2>
  127.                         <div class="sperateur"></div>
  128.                         <div class="texte-video">
  129.                             <p> Ne ratez plus aucune vidéo en vous abonnant avec nos formules et accédez en illimité à
  130.                                 toutes les vidéos e-learning disponibles sur tous vos appareils </p>
  131.                         </div>
  132.                         <a href="{{ path('page_abonnnements_elearning') }}" class="btn"> <i class="icon icon-left-arrow gly-rotate"></i> Nos abonnements </a>
  133.                     </div>
  134.                 </div>
  135.             </div>
  136.         </div>
  137.     </section>
  138.     {% if formations|length > 0 %}
  139.     <section class="actualite vidoes">
  140.         <div class="container">
  141.             <div class="row section-head">
  142.                 <h2 class="title">Découvrez aussi nos formations Live </h2>
  143.                 <div class="sperateur"></div>
  144.             </div>
  145.             <div class="row">
  146.                 <div class="list-actus live_video">
  147.                     {% for formation in formations %}
  148.                     <div class="forma forma_stage live">
  149.                         <div class="image">
  150.                             <a class="pointer_link" href="{{ path('page_formation_live_single', {slug: formation.slug}) }}"> </a>
  151.                             <img src="{{ asset('uploads/'~formation.image) }}">
  152.                             <div class="bande_live"> LIVE</div>
  153.                         </div>
  154.                         <div class="conten-formation">
  155.                             <div class="title-content-formation"><a href="{{ path('page_formation_live_single', {slug: formation.slug}) }}"> {{ formation.coach }} </a></div>
  156.                             <div class="location"><a href="{{ path('page_formation_live_single', {slug: formation.slug}) }}"> {{ formation.title }} </a></div>
  157.                             <div class="sperateur"></div>
  158.                             <div class="expert">{{ formation.description|excerpt(100) }}</div>
  159.                         </div>
  160.                     </div>
  161.                     {% endfor %}
  162.                 </div>
  163.             </div>
  164.             <div class="row">
  165.                 <div class="link_actus">
  166.                     <a href="{{ path('page_nos_formations_live') }}"> <i class="icon icon-left-arrow gly-rotate"></i> Tous les lives </a>
  167.                 </div>
  168.             </div>
  169.         </div>
  170.     </section>
  171.     {% endif %}
  172. {% endblock %}