templates/evenement/index.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. {% include ('includes/head.html.twig') %}
  4. <body>
  5. <!-- Page Loader
  6. ========================================================= -->
  7. <div class="loader-container" id="page-loader"> 
  8.   <div class="loading-wrapper loading-wrapper-hide">
  9.       <div class="loader-animation" id="loader-animation">
  10.           <svg class="svg-loader" width=100 height=100>
  11.           <circle cx=50 cy=50 r=25 />
  12.         </svg>
  13.       </div>    
  14.     <!-- Edit With Your Name -->
  15.     <div class="loader-name" id="loader-name">
  16.       <img src="https://astp.tn/uploads/images/event/astp-12-post-instagram-65a00d0f5cd07488094972.jpg" alt="">
  17.     </div>
  18.     <!-- /Edit With Your Name -->
  19.     <!-- Edit With Your Job -->
  20.     <p class="loader-job" id="loader-job">June 4-8 2016 @ New York City</p>
  21.     <!-- /Edit With Your Job -->
  22.   </div>   
  23. </div>
  24. <!-- /End of Page loader
  25. ========================================================= -->
  26. <!-- Header
  27. ================================================== -->
  28. {% include ('includes/header.html.twig') %}
  29. <!-- /Header
  30. ================================================== -->
  31. <style type="text/css">
  32.     .main-intro:before {
  33.         content: '';
  34.     display: block;
  35.     width: 100%;
  36.     height: 100%;
  37.     background: none;
  38.     position: absolute;
  39.     top: 0;
  40.     left: 0;
  41.     
  42. }
  43. .main-intro:before{
  44.     background: rgba(31, 81, 139, 0.2) !important;
  45. }
  46. </style>
  47. <div class="page-wrapper">
  48.     
  49.     <div id="body-content">
  50.         <!-- SECTION: Intro
  51.         ================================================== -->
  52.                 <div class="owl-carousel main-carousel" id="main-carousel">
  53.                     <!-- slide -->
  54.                         {% for key in carousel %}
  55.                                 <div class="main-intro" style="background-image: url('/uploads/images/gallerie/{{key.image|e}}');">
  56.                                     <div class="container">                        
  57.                                         <div class="intro-content-wrapper viewport">
  58.                                             <!-- Main Title -->
  59.                                             <!-- Adjust the margin-top in css according to content to keep always centered vertically-->
  60.                                             <div class="intro-content countdown-wrapper intro-content-slide2">
  61.                                                 
  62.                                                 <!-- countDown -->
  63.                                                 
  64.                                                 
  65.                                             </div>
  66.                                     
  67.                                         </div>            
  68.                                     </div>
  69.                                 </div>
  70.                     {% endfor %}
  71.             
  72.                 </div>            
  73.         <!-- /SECTION: Intro
  74.         ================================================== -->
  75.         <!-- SECTION: Event Infos
  76.         ================================================== -->
  77.                 
  78.         <!-- SECTION: /Event Infos
  79.         ================================================== -->    
  80.         <!-- SECTION: Event Description
  81.         ================================================== -->
  82.     
  83.         <!-- /SECTION: Event Description
  84.         ================================================== -->
  85.         <!-- SECTION: Event Schedule
  86.         ================================================== -->
  87.         <div class="section-event-infos inverted-section" id="section-event-infos">
  88.             <div class="container-fluid">
  89.         
  90.             </div>
  91.         </div>    
  92.     {% if event|length > 0 %}
  93.         <div class="section-about" id="section-about">
  94.             <div class="container-fluid">
  95.                 <div class="row">
  96.                     <!-- Left Column -->
  97.                     <div class="about-picture-wrapper">
  98.                         <div class="about-picture" id="about-picture">
  99.                             <img src="/uploads/images/event/{{event[0].imagePrincipale|e }}" alt="" class="responsive-image" style="">
  100.                         </div>
  101.                     </div>                
  102.                     <!-- /Left Column -->
  103.                     <!-- Right Column -->
  104.                     <div class="about-text-wrapper"> 
  105.                         <div class="about-text" id="about-text">
  106.                             <h1 class="title3 title-border"><i class="fa fa-dot-circle-o"></i> {{ event[0].titre|e }}</h1>
  107.                             <div class="about-text-content">
  108.                             
  109.                                 <p>{{ event[0].description|raw }}
  110.     </p>
  111.                             </div>    
  112.                             {% if tt ==1 %}                        
  113.                             <a href="/congre/{{ event[0].getId() }}/{{event[0].getTitre() |replace({" ": "-"})|raw }}/" class="btn btn-nobg"><i class="fa fa-calendar"></i> Voir evenement</a> 
  114.                             {% else %}
  115.                             <a href="/evnement/ancien-evenement/{{event[0].getTitre() |replace({" ": "-"})|raw }}/{{ event[0].getId() }}/" class="btn btn-nobg"><i class="fa fa-calendar"></i> Voir evenement</a> 
  116.                             {% endif %}
  117.                         </div>
  118.                     </div>
  119.                     <!-- /Right Column -->
  120.                 </div>
  121.             </div>
  122.         </div>
  123.         {% else %}
  124.         <div class="section-about" id="section-about" style="height:70px"></div>
  125.         {% endif %}
  126. <!---- test 1---->
  127. <div class="section-team inverted-section2 section-padding" id="section-speakers">
  128.             <div class="container">
  129.                 <!-- Section title -->
  130.                 <div class="section-title-wrapper">
  131.                     <h2 class="title-section">{{ title|e }}</h2>
  132.                     <p>évenement </p>
  133.                 </div>
  134.                 <!-- /Section title -->
  135.                 <div class="owl-carousel" id="about-team">
  136.                     <!-- item -->
  137.                     {% if ancien|length > 0 %}
  138.                      {% for key in ancien %}
  139.                     <div class="team-item">
  140.                         <!-- team-member wrapper-->
  141.                         <div class="team-item-wrapper">
  142.                             <!-- team-member pic -->
  143.                             <div class="team-member-picture-wrapper">
  144.                                 <div class="team-item-picture">
  145.                                     <img src="/uploads/images/event/{{ key.imagePrincipale|e }}" class="img-fluid" alt="" style="height: 200px" />
  146.                                 </div>
  147.                                 <div class="team-member-find">
  148.                                     <div class="team-member-find-overlay">
  149.                                         <!-- overlay content -->
  150.                                         <div class="team-member-find-content">
  151.                                         
  152.                                         {% if id == 1%}
  153.                                         <a href='/congre/{{ key.id|e }}/{{key.titre|replace({" ":"-"})}}/'>    <i class="fa fa-link" aria-hidden="true"></i></a>
  154.                                         
  155.                                         {% else %}
  156.                                         <a href='/evnement/ancien-evenement/{{key.titre|replace({" ":"-"})}}/{{ key.id|e }}/'>    <i class="fa fa-link" aria-hidden="true"></i></a>
  157.                                         {% endif %}
  158.                                         </div>                                    
  159.                                         <!-- /overlay content -->
  160.                                     </div>                                
  161.                                 </div>
  162.                             </div>                    
  163.                             <!-- /team-member pic -->
  164.                             <!-- team-member Infos -->
  165.                             <div class="team-item-content">
  166.                                 <h3 class="team-item-title">{{ key.titre|e }}</li></h3>
  167.                                 <p class="team-item-subtitle"><i class="fa fa-calendar" aria-hidden="true"></i> {{ key.getDateEvenement()    |date('Y-m-d') }}</p>                                
  168.                             </div>
  169.                             <!-- team-member Infos -->
  170.                         </div>
  171.                         <!-- /team-member wrapper-->
  172.                     </div>
  173.                 {% endfor %}
  174.                 {% else %}
  175.                 <div class="alert alert-danger" role="alert">
  176. Pas d'évenement 
  177. </div>
  178.                 {% endif %}
  179.                     <!-- /item -->
  180.                     <!-- item -->
  181.                 
  182.                 </div>
  183.             </div>
  184.         </div>
  185. </div>
  186.     
  187. <!-- Contact Form - Ajax Messages
  188. ========================================================= -->
  189. <!-- Form Sucess -->
  190. <div class="form-result modal-wrap" id="contactSuccess">
  191.   <div class="modal-bg"></div>
  192.   <div class="modal-content">
  193.     <h4 class="modal-title"><i class="fa fa-check-circle"></i> Success!</h4>
  194.     <p>Your message has been sent to us.</p>
  195.   </div>
  196. </div>
  197. <!-- /Form Sucess -->
  198. <!-- form-error -->
  199. <div class="form-result modal-wrap" id="contactError">
  200.   <div class="modal-bg"></div>
  201.   <div class="modal-content">
  202.     <h4 class="modal-title"><i class="fa fa-times"></i> Error</h4>
  203.     <p>There was an error sending your message.</p>
  204.   </div>
  205. </div>
  206. <!-- /form-error -->
  207. <!-- / Contact Form - Ajax Messages
  208. ========================================================= -->
  209. <!-- Footer
  210. ================================================== -->
  211. {% include ('includes/footer.html.twig') %}
  212. </body>
  213. </html>