templates/front/certyou.html.twig line 1

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