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. <style id='wp-emoji-styles-inline-css' type='text/css'>
  5. .events_pagination ul.pagination {
  6.     display: flex;
  7.     flex-wrap: wrap;
  8.     justify-content: center;
  9.     list-style: none;
  10.     margin: 0;
  11.     padding: 0;
  12. }
  13. .page-item.active .page-link {
  14.     background-color: #ff6600;
  15.     color: #fff;
  16. }
  17. .page-link {
  18.     margin: 10px;
  19.     color: #051a53;
  20.     background-color: #ededed;
  21.     border-radius: 5px;
  22.     padding: 10px;
  23.     /* margin: 0 3px; */
  24. }
  25. .titre-certificat{
  26.     color: #051a53;
  27.     font-family: arial !important;
  28.     font-size: 16px;
  29.     text-transform: uppercase !important;
  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/wp-content/uploads/2023/06/header-banner.jpg')}});">
  117.     <div class="overlay-slider">
  118.         <div class="row_site">
  119.             <div class="container_site">
  120.                 <div class="cover_color"></div>
  121.                 <div class="header_banner_el">
  122.                     <div class="header_breadcrumbs">
  123.                         <div id="breadcrumbs">
  124.                         <ul class="breadcrumb">
  125.                             <li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
  126.                             <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  127.                             <li style="color: #fff!important;">Certificats personnalisés</li>
  128.                         </ul>
  129.                         </div>
  130.                     </div>
  131.                     <h1 class="header_title" style="color: #fff!important;">Certificats personnalisés</h1>
  132.                 </div>
  133.             </div>
  134.         </div>
  135.     </div>
  136. </div>
  137. <div class="container-event">
  138.    <div id="sidebar-active" class="content-event" style="width: 100%; margin: 0px !important; padding: 0px !important;">
  139.        <div class="shadow" style="margin-left: -10px; margin-bottom: 20px !impirtant; width: 100%; padding: 10px !important; 
  140.        border: 1px solid #cfcfcf; background-color: #F5F5F5 !important;">
  141.             <form method="POST">
  142.                 <div class="row" style="width: 100%; margin: 0px !important; padding: 0px !important;">
  143.                     <div class="col-md-12 col-sm-12">
  144.                         <input type="text" class="form-control" name="recherche" id="searchCertyou" placeholder="Rechercher un certificat..." style="width: 100%;" />
  145.                     </div>
  146.                 </div>
  147.             </form>
  148.         </div>
  149.         <div class="mt-4" style="height: 20px;"></div>
  150.       <!-- search form -->
  151.         {% if pagination != null %}
  152.             {% for pag in pagination %}
  153.             <div class="row certyou-item" data-nom="{{ pag.theme|lower }}" style="padding: 10px; margin-bottom: 10px; border: 1px solid #cfcfcf; width: 100%;">
  154.                 <div class="col-md-12 col-sm-12">
  155.                     <div style="margin-bottom: 20px;"><h3 class="titre-certificat">{{ pag.theme }}</h3></div>
  156.                     <span style="color: #201D1C;">Formation {% if pag.type == 'virtuelle' %}<b style="text-transform: lowercase; color: #ff6600;">En ligne</b>
  157.                     {% else %}<b style="text-transform: lowercase; color: #ff6600;">Présentielle + en ligne</b>{% endif %} &nbsp; |</span>
  158.                     <span style="color: #201D1C;">&nbsp;Durée &nbsp;<b style="text-transform: lowercase; color: #ff6600;">{{ pag.duree }} </b>&nbsp;</span>
  159.                     <a style="text-transform: lowercase; color: #ff6600;" href="{{ path('front.inter.certificat.certyou.inscription',{'slug': pag.slug, 'id': pag.id}) }}">| &nbsp;S'inscrire</a>
  160.                 </div>
  161.             </div>
  162.             {% endfor %}
  163.         {% endif %}
  164.         
  165.    </div>
  166.    {% include 'section/aside.html.twig' %}
  167. </div>
  168.    {% include 'section/footer.html.twig' %}
  169. <script>
  170. document.getElementById('searchCertyou').addEventListener('keyup', function () {
  171.     let value = this.value.toLowerCase().trim();
  172.     let items = document.querySelectorAll('.certyou-item');
  173.     items.forEach(function (item) {
  174.         let nom = item.dataset.nom;
  175.         if (nom.includes(value)) {
  176.             item.style.display = '';
  177.         } else {
  178.             item.style.display = 'none';
  179.             
  180.         }
  181.     });
  182. });
  183. </script>
  184. {% endblock %}