templates/front/popup-formation.html.twig line 1

Open in your IDE?
  1. {% extends 'front.html.twig' %}
  2. {% block title %}Formation | CIMEF-INTERNATIONAL{% endblock %}
  3. {% block meta_description %}
  4. <meta name="description" content="Découvrez les centres CIMEF International à Paris, Abidjan, Dakar et Casablanca. Des infrastructures modernes pour vos formations"/>
  5. <meta property="og:image" content="https://cimef-international.org/public/inter/LOGO CIMEF.jpg.jpeg">
  6. <meta property="og:url" content="https://cimef-international.org/mediatheque/albums">
  7. <meta property="og:type" content="website">
  8. {% endblock %}
  9. {% block styleSheets %}
  10. <style id='wp-emoji-styles-inline-css' type='text/css'>
  11. .img-fluid{
  12.     width: 100% !important;
  13.     height: 100% !important;
  14. }
  15. .search_archive_event{
  16.     border: 1px solid white !important;
  17. }
  18. .form-control{
  19.     width:95%;
  20.     height: auto;
  21.     padding:10px;
  22.     border-radius:1px !important;
  23.     font-family: arial;
  24.     margin: 10px;
  25.     border:1px solid #ccc;
  26. }
  27. .shadow{
  28.     box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 3px 10px 0 rgba(0, 0, 0, 0.10);
  29. }
  30. .row {
  31.     display: flex;            /* flexbox pour aligner les colonnes */
  32.     flex-wrap: wrap;          /* les colonnes passent à la ligne si nécessaire */
  33.     margin-right: -0.75rem;   /* -gutter/2 */
  34.     margin-left: -0.75rem;    /* -gutter/2 */
  35. }
  36. .events_pagination ul.pagination {
  37.     display: flex;
  38.     flex-wrap: wrap;
  39.     justify-content: center;
  40.     list-style: none;
  41.     margin: 0;
  42.     padding: 0;
  43. }
  44. .page-item.active .page-link {
  45.     background-color: #ff6600;
  46.     color: #fff;
  47. }
  48. .page-link {
  49.     margin: 10px;
  50.     color: #051a53;
  51.     background-color: #ededed;
  52.     border-radius: 5px;
  53.     padding: 10px;
  54.     /* margin: 0 3px; */
  55. }
  56. .text-lien{
  57.    color: #ff6600;
  58.    /* font-size: 16px; */
  59. }
  60. /* Small devices ≥576px */
  61. @media (min-width: 576px) {
  62.   .col-3 { flex: 0 0 100%; max-width: 100%; }
  63.   .col-sm-4 { flex: 0 0 100%; max-width: 100%; }
  64.   .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
  65.   .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  66. }
  67. /* Medium devices ≥768px */
  68. @media (min-width: 768px) {
  69.   .col-md-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  70.   .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  71.   .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  72.   .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  73. }
  74. /* Large devices ≥992px */
  75. @media (min-width: 992px) {
  76.   .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  77.   .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  78.   .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  79.   .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  80. }
  81. .type1 .date-event {
  82.     transition: all 0.5s ease;
  83.     position: absolute;
  84.     bottom: 20px;
  85.     left: 30px;
  86.     z-index: 1;
  87.     font-size: 12px;
  88.     color: #fff;
  89.     font-weight: 700;
  90.     text-transform: uppercase;
  91.     text-align: center;
  92.     line-height: 1.3;
  93.     letter-spacing: 1px;
  94.     background-color: #ff6600 !important;
  95.     padding: 12px;
  96. }
  97. .icon_event{
  98.     color: #ff6600 !important;
  99. }
  100. .btn-rechercher{
  101.     margin-left: 10px !important;
  102. }
  103. .wrap_header_banner .overlay-slider {
  104.     position: absolute;
  105.     top: 0;
  106.     left: 0;
  107.     padding-top: 30px; 
  108.     width: 100%;
  109.     height: 100%;
  110.     background-color: rgba(0, 0, 0, 0.6392156863);
  111. }
  112. </style>
  113. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
  114. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
  115. {% endblock %}
  116. {% block body %}
  117. {% include 'section/navbar.html.twig' %}
  118. <div class="wrap_header_banner" style="height: 200px; background: url({{ asset('public/inter/table.jpeg')}});        
  119.         background-size: cover;
  120.         background-position: center;
  121.         background-repeat: no-repeat;">
  122.     <div class="overlay-slider">
  123.         <div class="row_site">
  124.             <div class="container_site">
  125.                 <div class="cover_color"></div>
  126.                 <div class="header_banner_el">
  127.                     <div class="header_breadcrumbs">
  128.                         <div id="breadcrumbs">
  129.                         <ul class="breadcrumb">
  130.                             <li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
  131.                             <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  132.                             <li style="color: #fff!important;">Formations</li>
  133.                         </ul>
  134.                         </div>
  135.                     </div>
  136.                     <h1 class="header_title" style="color: #fff!important;">Les formations du dernier quartile de l'année </h1>
  137.                 </div>
  138.             </div>
  139.         </div>
  140.     </div>
  141. </div>
  142. {% for message in app.flashes('success') %}
  143. <div class="row toast_success" style="top: 100px !important; float: right !important; position: absolute;">
  144.     <div class="col-md-2 col-sm-2" style="padding: 10px;">
  145.         <i class="fa fa-check fa-2x" aria-hidden="true"></i>
  146.     </div>
  147.     <div class="col-md-10 col-sm-10" style="padding: 10px;">
  148.         <label style="font-family: arial;">{{ message }}</label>
  149.     </div>
  150. </div>    
  151. {% endfor %}
  152. {% for message in app.flashes('danger') %}
  153. <div class="row toast_danger" style="top: 100px !important; float: right !important; position: absolute;">
  154.     <div class="col-md-2 col-sm-2" style="padding: 10px;">
  155.         <i class="fa fa-check fa-2x" aria-hidden="true"></i>
  156.     </div>
  157.     <div class="col-md-10 col-sm-10" style="padding: 10px;">
  158.         <label style="font-family: arial;">{{ message }}</label>
  159.     </div>
  160. </div>   
  161. {% endfor %}
  162. <div class="container-event">
  163.     <div id="main-event" class="content-event">
  164.    
  165.         <div class="row" style="">
  166.             
  167.             
  168.             {% if pagination != null %}
  169.                 {% for pag in pagination %}
  170.                 <div class="col-lg-4 col-md-4 col-sm-12" style="padding: 10px;">
  171.                     <div class="type1 mb-2">
  172.                         <div class="desc">
  173.                             <div class="event-thumbnail" style="border: 1px solid #ff6600 !important;">
  174.                                 <a href="#" aria-label="Event Thumbnail" data-bs-toggle="modal" data-bs-target="#testModal{{ loop.index }}">
  175.                                     <img loading="lazy" style="height: auto !important; width: auto !important;" 
  176.                                     src="{{ asset('public/uploads/images/popups/' ~ pag.img) }}" 
  177.                                     class="attachment-ovaev_event_thumbnail size-ovaev_event_thumbnail wp-post-image" alt="{{ pag.lien }}" decoding="async" 
  178.                                     srcset="{{ asset('public/uploads/images/popups/' ~ pag.img) }}" sizes="(max-width: 600px) 100vw, 600px" />            
  179.                                 </a>
  180.                                 <div class="modal fade" id="testModal{{ loop.index }}" tabindex="-1">
  181.                                     <div class="modal-dialog modal-dialog-centered modal-lg">
  182.                                         <div class="modal-content">
  183.                                             <div class="modal-body text-center">
  184.                                                 <a href="{{ pag.lien }}">
  185.                                                 <img src="{{ asset('public/uploads/images/popups/' ~ pag.img) }}" class="img-fluid">
  186.                                                 </a>
  187.                                             </div>
  188.                                         </div>
  189.                                     </div>
  190.                                 </div>
  191.                             </div>
  192.                         </div>
  193.                     </div>
  194.                 </div>
  195.                 {% endfor %}
  196.             {% endif %}
  197.             
  198.                     <div class="events_pagination justify-content-center mt-4">
  199.             {{ knp_pagination_render(pagination, '@KnpPaginator/Pagination/bootstrap_v5_pagination.html.twig') }}
  200.         </div>
  201.            
  202.         </div>
  203.     </div>
  204. </div>
  205. {% include 'section/footer.html.twig' %}
  206. {% endblock %}