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. <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: 14px;
  29.     line-height: 1.3;
  30.     font-weight: bold;
  31. }
  32. .row {
  33.     display: flex;            /* flexbox pour aligner les colonnes */
  34.     flex-wrap: wrap;          /* les colonnes passent à la ligne si nécessaire */
  35.     margin-right: -0.75rem;   /* -gutter/2 */
  36.     margin-left: -0.75rem;    /* -gutter/2 */
  37. }
  38. .events_pagination ul.pagination {
  39.     display: flex;
  40.     flex-wrap: wrap;
  41.     justify-content: center;
  42.     list-style: none;
  43.     margin: 0;
  44.     padding: 0;
  45. }
  46. .page-item.active .page-link {
  47.     background-color: #ff6600;
  48.     color: #fff;
  49. }
  50. .page-link {
  51.     margin: 10px;
  52.     color: #051a53;
  53.     background-color: #ededed;
  54.     border-radius: 5px;
  55.     padding: 10px;
  56.     /* margin: 0 3px; */
  57. }
  58. .text-lien{
  59.    color: #ff6600;
  60.    /* font-size: 16px; */
  61. }
  62. /* Small devices ≥576px */
  63. @media (min-width: 576px) {
  64.   .col-3 { flex: 0 0 100%; max-width: 100%; }
  65.   .col-sm-4 { flex: 0 0 100%; max-width: 100%; }
  66.   .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
  67.   .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  68. }
  69. /* Medium devices ≥768px */
  70. @media (min-width: 768px) {
  71.   .col-md-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  72.   .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  73.   .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  74.   .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  75. }
  76. /* Large devices ≥992px */
  77. @media (min-width: 992px) {
  78.   .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  79.   .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  80.   .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  81.   .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  82. }
  83. .type1 .date-event {
  84.     transition: all 0.5s ease;
  85.     position: absolute;
  86.     bottom: 20px;
  87.     left: 30px;
  88.     z-index: 1;
  89.     font-size: 12px;
  90.     color: #fff;
  91.     font-weight: 700;
  92.     text-transform: uppercase;
  93.     text-align: center;
  94.     line-height: 1.3;
  95.     letter-spacing: 1px;
  96.     background-color: #ff6600 !important;
  97.     padding: 12px;
  98. }
  99. .icon_event{
  100.     color: #ff6600 !important;
  101. }
  102. .wrap_header_banner .overlay-slider {
  103.     position: absolute;
  104.     top: 0;
  105.     left: 0;
  106.     padding-top: 30px; 
  107.     width: 100%;
  108.     height: 100%;
  109.     background-color: rgba(0, 0, 0, 0.6392156863);
  110. }
  111. </style>
  112. {% endblock %}
  113. {% block body %}
  114. {% include 'section/navbar.html.twig' %}
  115. <div class="wrap_header_banner" style="height: 200px; background: url({{ asset('public/inter/wp-content/uploads/2023/06/header-banner.jpg')}});">
  116.     <div class="overlay-slider">
  117.         <div class="row_site">
  118.             <div class="container_site">
  119.                 <div class="cover_color"></div>
  120.                 <div class="header_banner_el">
  121.                     <div class="header_breadcrumbs">
  122.                         <div id="breadcrumbs">
  123.                         <ul class="breadcrumb">
  124.                             <li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
  125.                             <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  126.                             <li style="color: #fff!important;">Certificats internationaux</li>
  127.                         </ul>
  128.                         </div>
  129.                     </div>
  130.                     <h1 class="header_title" style="color: #fff!important;">Certificats internationaux</h1>
  131.                 </div>
  132.             </div>
  133.         </div>
  134.     </div>
  135. </div>
  136. <div class="container-event">
  137.    <div id="sidebar-active" class="content-event">
  138.       <!-- search form -->
  139.         {% if pagination != null %}
  140.             {% for pag in pagination %}
  141.             <div class="row" style="padding: 10px; margin-bottom: 10px; border: 1px solid #cfcfcf; width: 100%;">
  142.                 <div class="col-md-11 col-sm-12">
  143.                     <div style="margin-bottom: 20px;"><label class="titre-certificat">{{ pag.theme }}</label></div>
  144.                     <span style="text-transform: lowercase; color: #201D1C;"> {{ pag.vilnom }} &nbsp;|</span>
  145.                     <span style="text-transform: lowercase; color: #ff6600; font-weight: bold;"> {{ pag.session }} &nbsp;</span>
  146.                     <span style="text-transform: lowercase; color: #201D1C;">| {{ pag.type }} &nbsp;|</span>
  147.                     <span style="text-transform: lowercase; color: #ff6600; font-weight: bold;"> {{ pag.prix }} {{ pag.devise }} &nbsp;</span>
  148.                     <span style="text-transform: lowercase;">
  149.                         <a href="{{ path('front.inter.detail.certificat', {'slug': pag.slug }) }}" style="color: #201D1C;">| voir les autres dates</a>
  150.                     </span>
  151.                 </div>
  152.                 <div class="col-md-1 col-sm-12" style="margin-top: 10%; text-align: center !important;">
  153.                     <a style="text-transform: lowercase; color: #ff6600;" href="{{ path('front.inscription',{'slug': pag.slug, 'id': pag.id,'seminaires': 'certificats interantionaux'}) }}">S'inscrire</a>
  154.                 </div>
  155.             </div>
  156.             {% endfor %}
  157.         {% endif %}
  158.         <div class="events_pagination justify-content-center mt-4">
  159.             {{ knp_pagination_render(pagination, '@KnpPaginator/Pagination/bootstrap_v5_pagination.html.twig') }}
  160.         </div>
  161.    </div>
  162.    {% include 'section/aside.html.twig' %}
  163. </div>
  164.    {% include 'section/footer.html.twig' %}
  165. {% endblock %}