templates/front/certificat.html.twig line 1

Open in your IDE?
  1. {% extends 'front.html.twig' %}
  2. {% block title %}Certificats internationaux | CIMEF-INTERNATIONAL{% endblock %}
  3. {% block styleSheets %}
  4. <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-element-bundle.min.js"></script>
  5. <style id='wp-emoji-styles-inline-css' type='text/css'>
  6. .events_pagination ul.pagination {
  7.     display: flex;
  8.     flex-wrap: wrap;
  9.     justify-content: center;
  10.     list-style: none;
  11.     margin: 0;
  12.     padding: 0;
  13. }
  14. .page-item.active .page-link {
  15.     background-color: #ff6600;
  16.     color: #fff;
  17. }
  18. .page-link {
  19.     margin: 10px;
  20.     color: #051a53;
  21.     background-color: #ededed;
  22.     border-radius: 5px;
  23.     padding: 10px;
  24.     /* margin: 0 3px; */
  25. }
  26. .titre-certificat{
  27.     color: #051a53;
  28.     font-family: arial !important;
  29.     font-size: 18px;
  30.     line-height: 1.3;
  31.     font-weight: bold;
  32. }
  33. .row {
  34.     display: flex;            /* flexbox pour aligner les colonnes */
  35.     flex-wrap: wrap;          /* les colonnes passent à la ligne si nécessaire */
  36.     margin-right: -0.75rem;   /* -gutter/2 */
  37.     margin-left: -0.75rem;    /* -gutter/2 */
  38. }
  39. .events_pagination ul.pagination {
  40.     display: flex;
  41.     flex-wrap: wrap;
  42.     justify-content: center;
  43.     list-style: none;
  44.     margin: 0;
  45.     padding: 0;
  46. }
  47. .page-item.active .page-link {
  48.     background-color: #ff6600;
  49.     color: #fff;
  50. }
  51. .page-link {
  52.     margin: 10px;
  53.     color: #051a53;
  54.     background-color: #ededed;
  55.     border-radius: 5px;
  56.     padding: 10px;
  57.     /* margin: 0 3px; */
  58. }
  59. .text-lien{
  60.    color: #ff6600;
  61.    /* font-size: 16px; */
  62. }
  63. /* Small devices ≥576px */
  64. @media (min-width: 576px) {
  65.   .col-3 { flex: 0 0 100%; max-width: 100%; }
  66.   .col-sm-4 { flex: 0 0 100%; max-width: 100%; }
  67.   .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
  68.   .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  69. }
  70. /* Medium devices ≥768px */
  71. @media (min-width: 768px) {
  72.   .col-md-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  73.   .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  74.   .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  75.   .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  76. }
  77. /* Large devices ≥992px */
  78. @media (min-width: 992px) {
  79.   .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  80.   .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  81.   .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  82.   .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  83. }
  84. .type1 .date-event {
  85.     transition: all 0.5s ease;
  86.     position: absolute;
  87.     bottom: 20px;
  88.     left: 30px;
  89.     z-index: 1;
  90.     font-size: 12px;
  91.     color: #fff;
  92.     font-weight: 700;
  93.     text-transform: uppercase;
  94.     text-align: center;
  95.     line-height: 1.3;
  96.     letter-spacing: 1px;
  97.     background-color: #ff6600 !important;
  98.     padding: 12px;
  99. }
  100. .icon_event{
  101.     color: #ff6600 !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. {% endblock %}
  114. {% block body %}
  115. {% include 'section/navbar.html.twig' %}
  116. <div class="wrap_header_banner" style="height: 200px; background: url({{ asset('public/inter/table.jpeg')}});        
  117.         background-size: cover;
  118.         background-position: center;
  119.         background-repeat: no-repeat;">
  120.     <div class="overlay-slider">
  121.         <div class="row_site">
  122.             <div class="container_site">
  123.                 <div class="cover_color"></div>
  124.                 <div class="header_banner_el">
  125.                     <div class="header_breadcrumbs">
  126.                         <div id="breadcrumbs">
  127.                         <ul class="breadcrumb">
  128.                             <li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
  129.                             <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  130.                             <li style="color: #fff!important;">Certificats internationaux</li>
  131.                         </ul>
  132.                         </div>
  133.                     </div>
  134.                     <h1 class="header_title" style="color: #fff!important;">Certificats internationaux</h1>
  135.                 </div>
  136.             </div>
  137.         </div>
  138.     </div>
  139. </div>
  140. <div class="container-event">
  141.    <div id="sidebar-active" class="content-event">
  142.         <div class="shadow" style="margin-bottom: 20px !impirtant; width: 100%; padding: 10px !important; 
  143.         border: 1px solid #cfcfcf; background-color: #F5F5F5 !important;">
  144.             <form method="POST">
  145.                 <div class="row" style="width: 100%; margin: 0px !important; padding: 0px !important;">
  146.                     <div class="col-md-12 col-sm-12">
  147.                         <input type="text" class="form-control" name="recherche" id="searchCertyou" placeholder="Rechercher un certificat..." style="width: 100%;" />
  148.                     </div>
  149.                 </div>
  150.             </form>
  151.         </div>
  152.         <div class="mt-4" style="height: 20px;"></div>
  153.       <!-- search form -->
  154.         {% if pagination != null %}
  155.             {% for pag in pagination %}
  156.             <div class="row certyou-item" data-nom="{{ pag.theme|lower }}"  style="padding: 10px; margin-bottom: 10px; border: 1px solid #cfcfcf; width: 100%; margin-left: 2px;">
  157.                 <div class="col-md-12 col-sm-12">
  158.                     <div style="margin-bottom: 20px;"><h3 class="titre-certificat">{{ pag.theme }}</h3></div>
  159.                     <span style="text-transform: lowercase; color: #201D1C;"> {{ pag.vilnom }} &nbsp;|</span>
  160.                     <span style="text-transform: lowercase; color: #ff6600; font-weight: bold;"> {{ pag.session }} &nbsp;</span>
  161.                     <span style="text-transform: lowercase; color: #201D1C;">| Formation {% if pag.type == 'virtuelle' %}<b style="text-transform: lowercase; color: #ff6600;">En ligne</b>
  162.                     {% else %}<b style="text-transform: lowercase; color: #ff6600;">Présentielle + en ligne</b>{% endif %} &nbsp; |</span>
  163.                     <span style="text-transform: lowercase; color: #ff6600; font-weight: bold;">&nbsp; {{ pag.prix }} {{ pag.devise }} &nbsp;</span>
  164.                     <span style="text-transform: lowercase;">
  165.                         <a href="{{ path('front.inter.detail.certificat', {'slug': pag.slug }) }}" style="color: #201D1C;">| voir les autres dates | &nbsp;</a>
  166.                     </span>
  167.                     <a style="text-transform: lowercase; color: #ff6600;" href="{{ path('front.inscription',{'slug': pag.slug, 'id': pag.id,'seminaires': 'certificats interantionaux'}) }}">S'inscrire</a>
  168.                 </div>
  169.             </div>
  170.             {% endfor %}
  171.         {% endif %}
  172.    </div>
  173.    {% include 'section/aside.html.twig' %}
  174. </div>
  175.    {% include 'section/footer.html.twig' %}
  176.     <script>
  177.         document.getElementById('searchCertyou').addEventListener('keyup', function () {
  178.             let value = this.value.toLowerCase().trim();
  179.             let items = document.querySelectorAll('.certyou-item');
  180.         
  181.             items.forEach(function (item) {
  182.                 let nom = item.dataset.nom;
  183.         
  184.                 if (nom.includes(value)) {
  185.                     item.style.display = '';
  186.                 } else {
  187.                     item.style.display = 'none';
  188.                 }
  189.             });
  190.         });
  191.     </script>
  192. {% endblock %}