templates/blog/detail.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="/img/loader-logo.png" 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. <!--             -->
  32. <div class="page-wrapper" >
  33.     
  34.     <div id="body-content" style="background:white;">
  35.         <div class="owl-carousel main-carousel" id="main-carousel" >
  36.             <!-- slide -->
  37.             <div class="main-intro" style="background-image: url('/astp-image/back1.png');" >
  38.                 <div class="container" style="height:500px">    
  39.                     <div class="intro-content-wrapper viewport">
  40.                         <!-- INTRO CONTENT -->
  41.                         <!-- Adjust the margin-top in style atribute according to content to keep always centered vertically-->
  42.                         <div class="intro-content intro-content-slide1">
  43.                             <!-- row -->
  44.                             <div class="row">
  45.                                 <!-- col -->
  46.                                 <div class="col-md-10 col-md-offset-1">
  47.                                     <!--<img src="img/globe.png" alt="">-->
  48.                                     <h2 class="intro-title1">Blog</h2>
  49.                                     <!-- Buttons -->
  50.                                     <div class="ic-buttons">
  51.                                         
  52.                                     </div>
  53.                                     <!-- /Buttons -->
  54.                                 </div>
  55.                                 <!-- /col -->
  56.                             </div>
  57.                             <!-- /row -->                        
  58.                                                             
  59.                         </div>    
  60.                         <!-- /INTRO CONTENT -->                    
  61.                     </div>                            
  62.                 </div>
  63.             </div>
  64. </div>
  65.         <!-- SECTION: Intro
  66.         ================================================== -->
  67.                 
  68.         <!-- /SECTION: Intro
  69.         ================================================== -->
  70.         <!-- SECTION: Event Infos
  71.         ================================================== -->
  72.                 
  73.         <!-- SECTION: /Event Infos
  74.         ================================================== -->    
  75.         <!-- SECTION: Event Description
  76.         ================================================== -->
  77.     
  78.         <!-- /SECTION: Event Description
  79.         ================================================== -->
  80.         <!-- SECTION: Event Schedule
  81.         ================================================== -->
  82.     <div class="col-lg-12" style="height:70px;">
  83.       
  84.     </div>
  85.     <div class="row">
  86.              <div class="col-lg-2"></div>
  87.              <div class="col-lg-6">
  88.          
  89.     
  90.         <div class="section-about" id="section-about" style="background-color:white;margin-top:5%;padding-top:3%">
  91.             <div class="container-fluid">
  92.                 <div class="row">
  93.                     <h1 class="title3 title-border">    {{key.titre|e}}        </h1>
  94.                     <br><br><br>
  95.                     <!-- Left Column -->
  96.                     <div class="col-lg-12">
  97.                         <div class="about-picture" id="about-picture">
  98.                             <img src="/uploads/images/event/{{key.image|e}}" alt="" class="img-fluid" style="width:100%">
  99.                         </div>
  100.                     </div>                
  101.                     <!-- /Left Column -->
  102.                     <!-- Right Column -->
  103.                     <br><br>
  104.                     <div class="col-lg-12"> 
  105.                         <div class="about-text" id="about-text">
  106.                         
  107.                             <div class="about-text-content">
  108.                             <br><br>
  109.                                 <p class="team-item-subtitle"><i class="fa fa-calendar" aria-hidden="true"></i>  {{ key.date_add|date('d/m/Y') }}</p>    
  110.                                 <p style="font-size:21px">    
  111.                                     {{ key.text|raw }}        
  112.                                 </p>
  113.                             </div>    
  114.                             {% if id == 5 %}
  115.                             <div class="row"> 
  116.                                 <div class="col-lg-3">
  117.                                                     <img src="/uploads/images/event/aa1.jpg" alt="" class="img-fluid" style="width:100%">
  118.                                 </div>
  119.                                 <div class="col-lg-3">
  120.                                                     <img src="/uploads/images/event/aa2.jpg" alt="" class="img-fluid" style="width:100%">
  121.                                 </div>
  122.                                 <div class="col-lg-3">
  123.                                                     <img src="/uploads/images/event/aa3.jpg" alt="" class="img-fluid" style="width:100%">
  124.                                 </div>
  125.                                 <br><br><br><br><br>
  126.                                 <br><br><br><br><br>
  127.                             </div>
  128.                             {% endif %}
  129.                             <br><br><br><br><br>
  130.                             
  131.                         </div>
  132.                     </div>
  133.                         
  134.                     <!-- /Right Column -->
  135.                 </div>
  136.             </div>
  137.         </div>
  138.         
  139.         </div>
  140.              <div class="col-lg-3">
  141.                 <div class="row" style="padding-top:15%">
  142.                 <!--- blog pc -->
  143.                  {% for keys in blog_new %}
  144.                 <div class="col-lg-12" style="margin-top:5%">
  145.                         <div class="col-lg-4">
  146.                             <img src="/uploads/images/event/{{keys.image|e}}"  style="height:100px">
  147.                         </div>
  148.                         <div class"col-lg-6">
  149.                             <dd>
  150.                                     <i class="fa fa-calendar" aria-hidden="true"></i>   {{ key.date_add|date('d/m/Y') }} </dd>
  151.                                         <h5><b><a href="/blog/{{keys.id |e }}/{{keys.titre|replace({' ': "-", ".":""})}}">{{keys.titre|e}}    </a></b></h5>
  152.                                     <p >{{ keys.description|u.truncate(30, true) }}    ...    </p>
  153.                         </div>
  154.                 </div>
  155.                 {% endfor %}
  156.                     
  157.                 </div>
  158.              </div>
  159.     
  160.     </div>
  161. <!---- test 1---->
  162.     
  163.         <!-- SECTION: Register
  164.         ================================================== -->
  165.         
  166.         <!-- /SECTION: Register
  167.         ================================================== -->
  168.         <!-- SECTION: Location
  169.         ================================================== -->
  170.     
  171.         <!-- /SECTION: Location
  172.         ================================================== -->
  173.     </div>
  174. </div>
  175. <!-- Contact Form - Ajax Messages
  176. ========================================================= -->
  177. <!-- Footer
  178. ================================================== -->
  179. {% include ('includes/footer.html.twig') %}
  180. </body>
  181. </html>