templates\site\home\index3.html.twig line 1

Open in your IDE?
  1. {% extends 'layouts/site.html.twig' %}
  2. {% block title %}Bienvenue sur Orishas-finance{% endblock %}
  3. {% block meta %}
  4.     <meta name="description" content="Nous vous proposons les meilleurs Contenus, Services et Solutions pour maitriser vos activités et investissements sur les marchés Africains.">
  5.     <meta property="og:title" content="Bienvenue sur Orishas-finance">
  6.     <meta property="og:description" content="Nous vous proposons les meilleurs Contenus, Services et Solutions pour maitriser vos activités et investissements sur les marchés Africains.">
  7.     <meta property="og:image" content="https://www.orishas-finance.com/assets/site/images/logot.png">
  8.     <meta property="og:url" content="https://www.orishas-finance.com">
  9.     <meta name="twitter:card" content="summary_large_image">
  10. {% endblock %}
  11. {% block css %}
  12.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
  13.     <link rel="stylesheet"
  14.           href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css">
  15.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.css">
  16.     <link rel="stylesheet" href="{{ asset('assets/common/modal-video-player/css/modal-video.min.css') }}">
  17.     <link rel="stylesheet" href="{{ asset('assets/common/flag-icon-css/css/flag-icon.min.css') }}">
  18.     <link rel="stylesheet" href="{{ asset('assets/common/flag-icon-css/css/flag-icon.min.css') }}">
  19.     <link rel="stylesheet" href="{{ asset('assets/site/css/buttons.css') }}">
  20.     <style>
  21.         /*sans bordure (1ère photo)*/
  22.         .arrondie {
  23.             -moz-border-radius: 50px;
  24.             -webkit-border-radius: 10px;
  25.             border-radius: 50px;
  26.         }
  27.         .carousel-wrap {
  28.             margin: auto;
  29.             position: relative;
  30.         }
  31.         .owl-carousel .owl-nav {
  32.             overflow: hidden;
  33.             height: 0px;
  34.         }
  35.         .owl-theme .owl-dots .owl-dot.active span,
  36.         .owl-theme .owl-dots .owl-dot:hover span {
  37.             background: #2caae1;
  38.         }
  39.         .owl-carousel .item {
  40.             text-align: left;
  41.         }
  42.         .owl-carousel .nav-btn {
  43.             height: 47px;
  44.             position: absolute;
  45.             width: 26px;
  46.             cursor: pointer;
  47.             top: 100px !important;
  48.         }
  49.         .owl-carousel .owl-prev.disabled,
  50.         .owl-carousel .owl-next.disabled {
  51.             pointer-events: none;
  52.             opacity: 0.2;
  53.         }
  54.         .owl-carousel .prev-slide {
  55.             background: url(https://freakyjolly.com/demo/jquery/OwlCarousel2/nav-icon.png) no-repeat scroll 0 0;
  56.             left: -33px;
  57.         }
  58.         .owl-carousel .next-slide {
  59.             background: url(https://freakyjolly.com/demo/jquery/OwlCarousel2/nav-icon.png) no-repeat scroll -24px 0px;
  60.             right: -33px;
  61.         }
  62.         .owl-carousel .prev-slide:hover {
  63.             background-position: 0px -53px;
  64.         }
  65.         .owl-carousel .next-slide:hover {
  66.             background-position: -24px -53px;
  67.         }
  68.     </style>
  69.     <style>
  70.         /*style Nos Services */
  71.         @import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
  72.         .section-title {
  73.             text-align: center;
  74.             color: #28a745;
  75.             margin-bottom: 50px;
  76.             text-transform: uppercase;
  77.         }
  78.         #what-we-do {
  79.             background: #ffff;
  80.         }
  81.         #what-we-do1 {
  82.             background: #2ca4e8;
  83.         }
  84.         .text-muted1 {
  85.             color: #ffff !important;
  86.         }
  87.         #what-we-do .card {
  88.             padding: 1rem !important;
  89.             border: none;
  90.             margin-bottom: 1rem;
  91.             -webkit-transition: .5s all ease;
  92.             -moz-transition: .5s all ease;
  93.             transition: .5s all ease;
  94.         }
  95.         #what-we-do .card:hover {
  96.             -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
  97.             -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
  98.             box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
  99.         }
  100.         #what-we-do .card .card-block {
  101.             padding-left: 50px;
  102.             position: relative;
  103.         }
  104.         #what-we-do .card .card-block a {
  105.             color: #007b5e !important;
  106.             font-weight: 700;
  107.             text-decoration: none;
  108.         }
  109.         #what-we-do .card .card-block a i {
  110.             display: none;
  111.         }
  112.         #what-we-do .card:hover .card-block a i {
  113.             display: inline-block;
  114.             font-weight: 700;
  115.         }
  116.         #what-we-do .card .card-block:before {
  117.             font-family: FontAwesome;
  118.             position: absolute;
  119.             font-size: 39px;
  120.             color: #28a745;
  121.             left: 0;
  122.             -webkit-transition: -webkit-transform .2s ease-in-out;
  123.             transition: transform .2s ease-in-out;
  124.         }
  125.         #what-we-do .card .block-1:before {
  126.             content: "\f233";
  127.         }
  128.         #what-we-do .card .block-2:before {
  129.             content: "\f0eb";
  130.         }
  131.         #what-we-do .card .block-3:before {
  132.             content: "\f201";
  133.         }
  134.         #what-we-do .card .block-4:before {
  135.             content: "\f219";
  136.         }
  137.         #what-we-do .card .block-5:before {
  138.             content: "\f2b5";
  139.         }
  140.         #what-we-do .card .block-6:before {
  141.             content: "\f218";
  142.         }
  143.         #what-we-do .card:hover .card-block:before {
  144.             -webkit-transform: rotate(360deg);
  145.             transform: rotate(360deg);
  146.             -webkit-transition: .5s all ease;
  147.             -moz-transition: .5s all ease;
  148.             transition: .5s all ease;
  149.         }
  150.         h3, .h3 {
  151.             font-size: 0.75rem;
  152.             font-weight: bold;
  153.         }
  154.         .section-title1 {
  155.             text-align: center;
  156.             color: #ffff;
  157.             margin-bottom: 50px;
  158.             text-transform: uppercase;
  159.             font-weight: bold;
  160.         }
  161.         .card-title1 {
  162.             margin-bottom: 0.75rem;
  163.             color: #007bff;
  164.             font-weight: bold;
  165.             font-size: 14px;
  166.         }
  167.     </style>
  168.     <style>
  169.         .ml11 {
  170.             font-weight: 700;
  171.             font-size: 3.5em;
  172.         }
  173.         .ml11 .text-wrapper {
  174.             position: relative;
  175.             display: inline-block;
  176.             padding-top: 0.1em;
  177.             padding-right: 0.05em;
  178.             padding-bottom: 0.15em;
  179.         }
  180.         .ml11 .line {
  181.             opacity: 0;
  182.             position: absolute;
  183.             left: 0;
  184.             height: 100%;
  185.             width: 3px;
  186.             background-color: #fff;
  187.             transform-origin: 0 50%;
  188.         }
  189.         .ml11 .line1 {
  190.             top: 0;
  191.             left: 0;
  192.         }
  193.         .ml11 .letter {
  194.             display: inline-block;
  195.             line-height: 1em;
  196.         }
  197.         .tailleform {
  198.             width: 250px;
  199.             margin-right: 10px;
  200.         }
  201.         .w-100 {
  202.             width: 100px
  203.         }
  204.     </style>
  205.     <style>
  206.         .carousel-caption1 {
  207.             position: absolute;
  208.             right: 1%;
  209.             bottom: 20px;
  210.             left: 4%;
  211.             z-index: 10;
  212.             padding-top: 20px;
  213.             padding-bottom: 20px;
  214.             color: #fff;
  215.             text-align: center;
  216.             background-color: #000;
  217.             filter: alpha(opacity=50);
  218.             opacity: 0.5;
  219.             width: 300px;
  220.         }
  221.     </style>
  222. {% endblock %}
  223. {% block body %}
  224.     <style>
  225.         a {
  226.             color: #000;
  227.             font-size: 13px;
  228.             font-weight: bold;
  229.         }
  230.         .a1 {
  231.             color: #000;
  232.             font-weight: 10;
  233.             font-size: 15px;
  234.         }
  235.     </style>
  236.     <section class="row">
  237.         <div class="col-md-12">
  238.             <div class="block block-primary">
  239.                 <h3 class="block-title"><span>A la une</span></h3>
  240.                 <div class="carousel-wrap p-4">
  241.                     <div class="owl-carousel owl-theme main-slide" id="main-slide">
  242.                         {% for news in newsimgfinance %}
  243.                             {% if news.image %}
  244.                                 <div class="item">
  245.                                     <div class="of-slide-wrapper clearfix">
  246.                                         <div class="of-slide-header">
  247.                                           {#{% if is_granted('IS_AUTHENTICATED_FULLY') %}#}
  248.                                             <a href="{{ path('site_news_show',{'id': news.id}) }}">
  249.                                                 <img src=" {{ asset('uploads/news/' ~ news.image) }}" class="img-fluid"
  250.                                                      style="height: 250px;">
  251.                                             </a>
  252.                                             {#{%else%}
  253.                                              <a href="" data-toggle="modal" data-target="#lecture_news">
  254.                                                 <img src=" {{ asset('uploads/news/' ~ news.image) }}" class="img-fluid"
  255.                                                      style="height: 250px;">
  256.                                             </a>
  257.                                             {%endif%}#}
  258.                                         </div>
  259.                                         <div class="of-slide-caption" title="{{ news.titre }}">
  260.                                             {% for type in news.type %}
  261.                                              {#{% if is_granted('IS_AUTHENTICATED_FULLY') %}#}
  262.                                                 <a class="of-slide-cat "
  263.                                                    href="{{ path('site_news_show',{'id': news.id}) }}">{{ type.libelle }}</a>
  264.                                                  {#{%else%}
  265.                                                  <a class="of-slide-cat " data-toggle="modal" data-target="#lecture_news"
  266.                                                    href="">{{ type.libelle }}</a>
  267.                                                  {%endif%}#}
  268.                                             {% endfor %}
  269.                                             <h2 class="of-slide-title text-truncate">
  270.                                              {#{% if is_granted('IS_AUTHENTICATED_FULLY') %}#}
  271.                                                 <a href="{{ path('site_news_show',{'id': news.id}) }}"> {{ news.titre| slice(0,100) }} </a>
  272.                                                 {#{%else%}
  273.                                                  <a data-toggle="modal" data-target="#lecture_news"
  274.                                                    href="">{{ news.titre| slice(0,100) }}</a>
  275.                                                  {%endif%}#}
  276.                                             </h2>
  277.                                             <div class="of-slide-meta">
  278.                                                 <span class="of-slide-meta-date">{{ news.date? news.date|date("d/m/Y"):'' }}</span>
  279.                                             </div>
  280.                                         </div>
  281.                                     </div>
  282.                                 </div>
  283.                             {% endif %}
  284.                         {% endfor %}
  285.                     </div>
  286.                 </div>
  287.             </div>
  288.         </div>
  289.     </section>
  290.     <!-- Services section -->
  291.     <section id="what-we-do1" class="corpss">
  292.         <div class="block-primary div1">
  293.             <h2 class="section-title1 mb-2 h1 ml11">
  294.             <span class="text-wrapper">
  295.                 <span class="line line1"></span>
  296.                 <span class="letters">L'AFRIQUE ICI ET MAINTENANT </span>
  297.             </span>
  298.             </h2>
  299.             <p class="text-center text-muted1 h5">
  300.                 <span>Nous vous proposons les meilleurs Contenus, Services et Solutions pour maitriser vos activités et investissements sur les marchés Africains.</span>
  301.             </p>
  302.         </div>
  303.     </section>
  304.     <!-- /Services section -->
  305.     <!-- Services section -->
  306.     <section id="what-we-do" class="corpss">
  307.         <div class="block block-green">
  308.             <h3 class="block-title"><span>Nos Services</span></h3>
  309.             <div class="container-fluid">
  310.                 <div class="row mt-5 corpss">
  311.                     {% set i=1 %}
  312.                     {% for service in services %}
  313.                         <div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 col-xl-4">
  314.                             <div class="card">
  315.                                 <div class="card-block block-{{ i }}">
  316.                                     <h3 class="card-title1">{{ service.libelle }}</h3>
  317.                                     <p>{{ service.description|striptags|slice(0,106)|raw }}
  318.                                     </p>
  319.                                     <a align="right" href="{{ path('servicefront_show', {'id': service.id}) }}"
  320.                                        title="Read more" class="read-more">Plus<i
  321.                                                 class="fa fa-angle-double-right ml-2"></i></a>
  322.                                 </div>
  323.                             </div>
  324.                         </div>
  325.                         {% set i=i+1 %}
  326.                     {% endfor %}
  327.                     <div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 col-xl-4">
  328.                         <div>
  329.                             <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
  330.                                 <div class="carousel-inner">
  331.                                     <div class="card-header">
  332.                                         <span style="font-weight:bold">Produits</span>
  333.                                     </div>
  334.                                     {% set i=1 %}
  335.                                     {% for produit in produit %}
  336.                                         <div class="carousel-item {% if i==1 %}active{% endif %}">
  337.                                             <a href="{{ path('produit_show', {'id': produit.id}) }}">
  338.                                                 <img src="{{ asset('uploads/produits/' ~ produit.image) }}"
  339.                                                      width="340px" height="180px" alt="..."
  340.                                                      style="background-color: rgba(0,0,0,.6);background-blend-mode: color;">
  341.                                                 <div class="carousel-caption1 d-none d-md-block">
  342.                                                     <h5 style="color:#fff;font-weight:bold">{{ produit.libelle }}</h5>
  343.                                                     {#<p>{{produit.description|striptags|slice(0, 50)|raw}}</p>#}
  344.                                                 </div>
  345.                                             </a>
  346.                                         </div>
  347.                                         {% set i=i+1 %}
  348.                                     {% endfor %}
  349.                                 </div>
  350.                                 <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button"
  351.                                    data-slide="prev">
  352.                                     <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  353.                                     <span class="sr-only">Previous</span>
  354.                                 </a>
  355.                                 <a class="carousel-control-next" href="#carouselExampleIndicators" role="button"
  356.                                    data-slide="next">
  357.                                     <span class="carousel-control-next-icon" aria-hidden="true"></span>
  358.                                     <span class="sr-only">Next</span>
  359.                                 </a>
  360.                             </div>
  361.                         </div>
  362.                     </div>
  363.                 </div>
  364.             </div>
  365.         </div>
  366.     </section>
  367.     <!-- /Services section -->
  368.     <section class="row">
  369.         <div class="col-md-12 mb-4">
  370.             <div class="block block-gray">
  371.                 <h3 class="block-title"><span>Ils nous font confiance</span></h3>
  372.                 <div class="carousel-wrap">
  373.                     <div class="owl-carousel owl-theme " id="client-carousel">
  374.                         <div class="item card">
  375.                             <a href="#">
  376.                                 <img src="{{ asset('uploads/clients/logo-AMSA-fond-bleu-01.png') }}"
  377.                                      class="card-img-top" alt="AMSA" width="200" height="100">
  378.                             </a>
  379.                         </div>
  380.                         <div class="item card">
  381.                             <a href="#">
  382.                                 <img src="{{ asset('uploads/clients/_BOA.jpg') }}"
  383.                                      class="card-img-top" alt="BOA" width="200" height="100">
  384.                             </a>
  385.                         </div>
  386.                         <div class="item card">
  387.                             <a href="#">
  388.                                 <img src="{{ asset('uploads/clients/petroci-logo-1.jpg') }}"
  389.                                      class="card-img-top" alt="PETROCI" width="200" height="100">
  390.                             </a>
  391.                         </div>
  392.                         <div class="item card">
  393.                             <a href="#">
  394.                                 <img src="{{ asset('uploads/clients/sib-logo.jpg') }}"
  395.                                      class="card-img-top" alt="SIB" width="200" height="100">
  396.                             </a>
  397.                         </div>
  398.                         <div class="item card">
  399.                             <a href="#">
  400.                                 <img src="{{ asset('uploads/clients/arcep.jpg') }}"
  401.                                      class="card-img-top" alt="ARCEP" width="200" height="100">
  402.                             </a>
  403.                         </div>
  404.                         <div class="item card">
  405.                             <a href="#">
  406.                                 <img src="{{ asset('uploads/clients/nsia-blanc.jpg') }}"
  407.                                      class="card-img-top" alt="NSIA Banque & Assurrance" width="200" height="100">
  408.                             </a>
  409.                         </div>
  410.                         <div class="item card">
  411.                             <a href="#">
  412.                                 <img src="{{ asset('uploads/clients/bridge-bank-group.jpg') }}"
  413.                                      class="card-img-top" alt="Bridge Bank" width="200" height="100">
  414.                             </a>
  415.                         </div>
  416.                         <div class="item card">
  417.                             <a href="#">
  418.                                 <img src="{{ asset('uploads/clients/institut-universitaire-abidjan.jpg') }}"
  419.                                      class="card-img-top" alt="IUA" width="200" height="100">
  420.                             </a>
  421.                         </div>
  422.                         <div class="item card">
  423.                             <a href="#">
  424.                                 <img src="{{ asset('uploads/clients/centif.jpg') }}"
  425.                                      class="card-img-top" alt="CENTIF" width="200" height="100">
  426.                             </a>
  427.                         </div>
  428.                         <div class="item card">
  429.                             <a href="#">
  430.                                 <img src="{{ asset('uploads/clients/african-lease.jpg') }}"
  431.                                      class="card-img-top" alt="African Lease" width="200" height="100">
  432.                             </a>
  433.                         </div>
  434.                         <div class="item card">
  435.                             <a href="#">
  436.                                 <img src="{{ asset('uploads/clients/banque-atlantique-2.jpg') }}"
  437.                                      class="card-img-top" alt="Banque Atlantique" width="200" height="100">
  438.                             </a>
  439.                         </div>
  440.                         <div class="item card">
  441.                             <a href="#">
  442.                                 <img src="{{ asset('uploads/clients/logo_afg.webp') }}"
  443.                                      class="card-img-top" alt="AFG CI" width="200" height="100">
  444.                             </a>
  445.                         </div>
  446.                         <div class="item card">
  447.                             <a href="#">
  448.                                 <img src="{{ asset('uploads/clients/cica-re.jpg') }}"
  449.                                      class="card-img-top" alt="CICA RE" width="200" height="100">
  450.                             </a>
  451.                         </div>
  452.                         <div class="item card">
  453.                             <a href="#">
  454.                                 <img src="{{ asset('uploads/clients/logo-coris-bank.jpg') }}"
  455.                                      class="card-img-top" alt="Coris Bank" width="200" height="100">
  456.                             </a>
  457.                         </div>
  458.                         <div class="item card">
  459.                             <a href="#">
  460.                                 <img src="{{ asset('uploads/clients/ib-bank.jpg') }}"
  461.                                      class="card-img-top" alt="IB Bank" width="200" height="100">
  462.                             </a>
  463.                         </div>
  464.                         <div class="item card">
  465.                             <a href="#">
  466.                                 <img src="{{ asset('uploads/clients/boad.jpg') }}"
  467.                                      class="card-img-top" alt="BOAD" width="200" height="100">
  468.                             </a>
  469.                         </div>
  470.                         <div class="item card">
  471.                             <a href="#">
  472.                                 <img src="{{ asset('uploads/clients/soaga-logo.jpg') }}"
  473.                                      class="card-img-top" alt="SOAGA" width="200" height="100">
  474.                             </a>
  475.                         </div>
  476.                         <div class="item card">
  477.                             <a href="#">
  478.                                 <img src="{{ asset('uploads/clients/BGFI_logo.png') }}"
  479.                                      class="card-img-top" alt="BGFI Group" width="200" height="100">
  480.                             </a>
  481.                         </div>
  482.                         <div class="item card">
  483.                             <a href="#">
  484.                                 <img src="{{ asset('uploads/clients/bis.png') }}"
  485.                                      class="card-img-top" alt="Banque Islamique du Sénégal" width="200" height="100">
  486.                             </a>
  487.                         </div>
  488.                         <div class="item card">
  489.                             <a href="#">
  490.                                 <img src="{{ asset('uploads/clients/bia-niger1.jpg') }}"
  491.                                      class="card-img-top" alt="BIA Niger" width="200" height="100">
  492.                             </a>
  493.                         </div>
  494.                         <div class="item card">
  495.                             <a href="#">
  496.                                 <img src="{{ asset('uploads/clients/bim-sa.jpg') }}"
  497.                                      class="card-img-top" alt="BIM" width="200" height="100">
  498.                             </a>
  499.                         </div>
  500.                         <div class="item card">
  501.                             <a href="#">
  502.                                 <img src="{{ asset('uploads/clients/logo-bsic.jpg') }}"
  503.                                      class="card-img-top" alt="BSIC" width="200" height="100">
  504.                             </a>
  505.                         </div>
  506.                         <div class="item card">
  507.                             <a href="#">
  508.                                 <img src="{{ asset('uploads/clients/scb-c.jpg') }}"
  509.                                      class="card-img-top" alt="SCB Cameroun" width="200" height="100">
  510.                             </a>
  511.                         </div>
  512.                         <div class="item card">
  513.                             <a href="#">
  514.                                 <img src="{{ asset('uploads/clients/versus-bank.jpg') }}"
  515.                                      class="card-img-top" alt="Versus Bank" width="200" height="100">
  516.                             </a>
  517.                         </div>
  518.                         <div class="item card">
  519.                             <a href="#">
  520.                                 <img src="{{ asset('uploads/clients/VISTABANK.jpg') }}"
  521.                                      class="card-img-top" alt="Versus Bank" width="200" height="100">
  522.                             </a>
  523.                         </div>
  524.                         <div class="item card">
  525.                             <a href="#">
  526.                                 <img src="{{ asset('uploads/clients/huston-&-cie.png') }}"
  527.                                      class="card-img-top" alt="Versus Bank" width="200" height="100">
  528.                             </a>
  529.                         </div>
  530.                         <div class="item card">
  531.                             <a href="#">
  532.                                 <img src="{{ asset('uploads/clients/lbc-congo-logo.png') }}"
  533.                                      class="card-img-top" alt="LBC Congo" width="200" height="100">
  534.                             </a>
  535.                         </div>
  536.                         <div class="item card">
  537.                             <a href="#">
  538.                                 <img src="{{ asset('uploads/clients/mansa-bank-logo.png') }}"
  539.                                      class="card-img-top" alt="MANSA BANK" width="200" height="100">
  540.                             </a>
  541.                         </div>
  542.                         <div class="item card">
  543.                             <a href="#">
  544.                                 <img src="{{ asset('uploads/clients/logo_sunu.png') }}"
  545.                                      class="card-img-top" alt="SUNU Group" width="200" height="100">
  546.                             </a>
  547.                         </div>
  548.                         <div class="item card">
  549.                             <a href="#">
  550.                                 <img src="{{ asset('uploads/clients/Logo-BICICI.png') }}"
  551.                                      class="card-img-top" alt="BICICI" width="200" height="100">
  552.                             </a>
  553.                         </div>
  554.                     </div>
  555.                 </div>
  556.             </div>
  557.         </div>
  558.     </section>
  559.     <section class="row mt-4">
  560.         <div class="col-md-9">
  561.             <div class="block block-primary mb-5">
  562.                 <h3 class="block-title">
  563.                     <span>Recemment publiées</span>
  564.                     <div class="float-right">
  565.                             <a href="{{ path('site_news') }}" class="font-italic small font-weight-bold">voir plus >></a>
  566.                     </div>
  567.                 </h3>
  568.                 <div class="row">
  569.                     {% for news in newsimgfinance %}
  570.                         {% if news.image %}
  571.                             <div class="col-md-6 col-sm-12">
  572.                                 <div class="media">
  573.                                     <div class="media-left w-30">
  574.                                         <div class="of-img-hoverable">
  575.                                         {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  576.                                             <a href="{{ path('site_news_show',{'id': news.id}) }}">
  577.                                                 <img class="media-object w-100"
  578.                                                      src=" {{ asset('uploads/news/' ~ news.image) }}" alt="...">
  579.                                             </a>
  580.                                             {%else%}
  581.                                              <a href="{{ path('site_news_show',{'id': news.id}) }}" {#data-toggle="modal" data-target="#lecture_news"#}>
  582.                                                  <img class="media-object w-100"
  583.                                                      src=" {{ asset('uploads/news/' ~ news.image) }}" alt="...">
  584.                                             </a>
  585.                                             {%endif%}
  586.                                             {#<a class="a1" href="{{ path('site_news_show',{'id': news.id}) }}">
  587.                                                 <img class="media-object w-100"
  588.                                                      src=" {{ asset('uploads/news/' ~ news.image) }}" alt="...">
  589.                                             </a>#}
  590.                                         </div>
  591.                                     </div>
  592.                                     <div class="media-body">
  593.                                         <h6 class="media-heading">
  594.                                             <small class="font-weight-bold"
  595.                                                    style="color:#2ca4e8">{{ news.date? news.date|date("d/m/Y"):'' }} |
  596.                                                 <font style="color:#28a745">
  597.                                                     {% for type in news.type %}
  598.                                                         {{ type.libelle }}
  599.                                                     {% endfor %}
  600.                                                 </font>
  601.                                                 {% set i=0 %}
  602.                                                {% for commentaire  in commentaires %}
  603.                                                {% if commentaire.news.id == news.id and commentaire.status==1 %}
  604.                                                 {% set i=i+1 %}
  605.                                                {% endif %}
  606.                                                {% endfor %}
  607.                                                {% if i %}
  608.                                                <span class="badge bg-info" style="font-size:12px"title="Le nombre de commentaires sur l'article" >{{i}}  </span>
  609.                                                 {% endif %}
  610.                                                 </small><br>
  611.                                                  {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  612.                                             <a class="a1" href="{{ path('site_news_show',{'id': news.id}) }}">{{ news.titre|slice(0,100) }}</a>
  613.                                             {%else%}
  614.                                             <a class="a1" href="{{ path('site_news_show',{'id': news.id}) }}" data-toggle="modal" data-target="#lecture_news">{{ news.titre|slice(0,100) }}</a>
  615.                                             {% endif %}
  616.                                         </h6>
  617.                                     </div>
  618.                                 </div>
  619.                             </div>
  620.                         {% endif %}
  621.                         <hr>
  622.                     {% endfor %}
  623.                     {#
  624.                     <div class="col-md-6 col-sm-12">
  625.                         <div class="media">
  626.                             <div class="media-left w-20">
  627.                                 <div class="of-img-hoverable">
  628.                                     <a href="#">
  629.                                         <img class="media-object w-100" src="{{ asset('assets/site/img/img-15.jpg') }}">
  630.                                     </a>
  631.                                 </div>
  632.                             </div>
  633.                             <div class="media-body">
  634.                                 <h6 class="media-heading">
  635.                                     <small class="font-weight-bold"><i class="fa fa-calendar-alt"></i> 06/02/2021 | <font style="color:#28a745">Economie/Forex</font></small><br>
  636.                                     <a href="#!">Lorem ipsum dolor sit amet, ebitis dolorum eius eum facere </a>
  637.                                 </h6>
  638.                             </div>
  639.                         </div>
  640.                     </div>
  641.                     #}
  642.                 </div>
  643.             </div>
  644.             {#block Formation #}
  645.             <div class="block block-green mb-5">
  646.                 <h3 class="block-title">
  647.                     <span>Nos Formations</span>
  648.                     <div class="carousel-nav">
  649.                         <a href="#" class="btn btn-sm last-news-prev" id="last-news-prev"><i
  650.                                     class="fa fa-chevron-left"></i></a>
  651.                         <a href="#" class="btn btn-sm last-news-next" id="last-news-next"><i
  652.                                     class="fa fa-chevron-right"></i></a>
  653.                     </div>
  654.                 </h3>
  655.                 <div class="carousel-wrap">
  656.                     <div class="owl-carousel owl-theme" id="news-carousel">
  657.                         {% for programme in programmes %}
  658.                             <div class="item card mb-1 ">
  659.                                 <div class="of-img-hoverable">
  660.                                     <a href="{{ path('site_formation_show',{'id': programme.id}) }}"
  661.                                        title="{{ programme.formation.titre }}">
  662.                                         <img src="{{ programme.formation.image?asset("uploads/formations/#{programme.formation.getImage()}"):asset('uploads/formations/default.jpg') }}"
  663.                                              class="card-img-top" alt="">
  664.                                     </a>
  665.                                 </div>
  666.                                 <div class="card-body">
  667.                                     <p class="m-0">
  668.                                         <small class="badge badge-info">
  669.                                             <i class="fa fa-calendar-alt"></i> {{ programme.dateDebut?programme.dateDebut|date('d/m/Y'):'<i>Prochainement</i>'|raw }}
  670.                                         </small>
  671.                                         {% for cat in programme.formation.categorie %}
  672.                                             <small class="badge badge-success"> {{ cat.titre }} </small>
  673.                                         {% endfor %}
  674.                                     </p>
  675.                                     <h6 class="card-title text-truncate"><a
  676.                                                 href="{{ path('site_formation_show',{'id': programme.id}) }}"
  677.                                                 title="{{ programme.formation.titre }}">{{ programme.formation.titre }}</a>
  678.                                     </h6>
  679.                                     <p class="card-text"></p>
  680.                                 </div>
  681.                             </div>
  682.                         {% endfor %}
  683.                         {#
  684.                         <div class="item card mb-1">
  685.                             <div class="of-img-hoverable">
  686.                                 <img src="{{ asset('assets/site/img/img-10.jpg') }}" class="card-img-top" alt="...">
  687.                             </div>
  688.                             <div class="card-body">
  689.                                 <h6 class="card-title">Formation business by Orishas Finance</h6>
  690.                                 <p class="card-text"></p>
  691.                             </div>
  692.                         </div>
  693.                        #}
  694.                     </div>
  695.                 </div>
  696.                 <div class="mx-auto text-center mt-3">
  697.                         <a href="{{ path('site_formation') }}" class="btn btn-outline-primary">voir plus >></a>
  698.                 </div>
  699.             </div>
  700.             {#End:block Formation #}
  701.         </div>
  702.         <div class="col-md-3 mb-2">
  703.             <div class="block block-green" style="display:none">
  704.                 <h3 class="block-title"><span>Nos Services</span></h3>
  705.                 <div class="mb-2">
  706.                     <div class="list-group">
  707.                         <a href="#" class="list-group-item list-group-item-action services-link">Service 1</a>
  708.                         <a href="#" class="list-group-item list-group-item-action services-link">Service 2</a>
  709.                         <a href="#" class="list-group-item list-group-item-action services-link">Service 3</a>
  710.                         <a href="#" class="list-group-item list-group-item-action services-link">Service 4</a>
  711.                         <a href="#" class="list-group-item list-group-item-action services-link">Service 6</a>
  712.                     </div>
  713.                     <div class="mx-auto p-1">
  714.                         <a href="" class="btn btn-outline-primary btn-block centered">En voir plus</a>
  715.                     </div>
  716.                 </div>
  717.             </div>
  718.             <div class="block block-gray mb-5">
  719.                 <h3 class="block-title"><span>Publicité</span></h3>
  720.                 {#<div>
  721.                     {% for publicite in publicites %}
  722.                         {% if( (publicite.espace=="Pub") and (publicite.status=="1")) %}
  723.                             {% if publicite.type.libelle =="Image" %}
  724.                                 <p>
  725.                                     <img src="{{ asset('uploads/publicites/' ~ publicite.support) }}" width="250px"
  726.                                          height="200px" alt="...">
  727.                                 </p>
  728.                             {% elseif publicite.type.libelle =="Video" %}
  729.                                 <p>
  730.                                     <video controls src="{{ asset('uploads/publicites/' ~ publicite.support) }}"
  731.                                            width="220px" height="210px"></video>
  732.                                 </p>
  733.                             {% else %}
  734.                                 <p><a href="{{ asset('uploads/publicites/' ~ publicite.support) }}"
  735.                                       target="_blank">Voir</a></p>
  736.                             {% endif %}
  737.                         {% endif %}
  738.                     {% endfor %}
  739.                 </div>#}
  740.             </div>
  741.             <div class="block block-green">
  742.                 <h3 class="block-title"><span>ORISHAS TV</span>
  743.                     <div class="float-right">
  744.                             <a href="{{ path('site_videos') }}" class="font-italic small font-weight-bold">voir plus
  745.                                 >></a>
  746.                     </div>
  747.                 </h3>
  748.                 <div class="card">
  749.                     {% for video in videosa %}
  750.                         {% if video.type == '0' %}
  751.                             <a href="{{ path('site_videos_show',{id: video.id,cat: video.categorie.id}) }}" class="js-video-button-off" data-video-id='{{ video.youtubeId }}'
  752.                                data-channel="youtube">
  753.                                 <div class="of-video-img-1">
  754.                                     <i class="fa fa-play-circle fa-4x"></i>
  755.                                     <img src="{{ asset("uploads/videos/thumbnails/#{video.getThumbnail()}") }}"
  756.                                          class="card-img-top" alt="...">
  757.                                 </div>
  758.                                 <div class="card-body">
  759.                                     <h6 class="card-title">
  760.                                         {{ video.libelle }}
  761.                                     </h6>
  762.                                     <div class="card-text">
  763.                                     <div class="float-right">
  764.                                         <a href="{{ path('site_videos_show',{id: video.id,cat: video.categorie.id}) }}" class="js-video-button-off font-italic small font-weight-bold" data-video-id='{{ video.youtubeId }}'
  765.                                            data-channel="youtube">Voir la
  766.                                             vidéo >></a>
  767.                                     </div>
  768.                                     </div>
  769.                                 </div>
  770.                             </a>
  771.                             <hr>
  772.                         {% endif %}
  773.                     {% endfor %}
  774.                 </div>
  775.             </div>
  776.         </div>
  777.     </section>
  778.     <section class="row">
  779.         <div class="col-md-12 mb-4">
  780.             {#block Calendrier_eco #}
  781.             <div class="block block-primary">
  782.                 <h3 class="block-title"><span>Evénements Economiques</span>
  783.                     <div class="float-right">
  784.                         {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  785.                             <a href="{{ path('site_evenements') }}" class="font-italic small font-weight-bold">Voir
  786.                                 plus >></a>
  787.                                  {% else %}
  788.                            <a href="{{ path('site_evenements') }}" class="font-italic small font-weight-bold" data-toggle="modal" data-target="#lecture_evenene">Voir
  789.                                 plus >></a>
  790.                                 {% endif %}
  791.                     </div>
  792.                 </h3>
  793.                 <div class="row">
  794.                     <div class="col-md-4">
  795.                         {% if evenements %}
  796.                             Export
  797.                             {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  798.                                 <a href="{{ path('site_export_bulk',{'page':'home'}) }}" class="btn btn-sm btn-outline-danger"><i class="fa fa-file-pdf"></i> Pdf
  799.                                 </a>
  800.                                 <a href="{{ path('site_export_csv_bulk',{'format':'xlsx','page':'home'}) }}" class="btn btn-sm btn-outline-info">
  801.                                     <i class="fa fa-file-excel"></i> Excel
  802.                                 </a>
  803.                             {% else %}
  804.                                 <button class="btn btn-sm btn-outline-danger" data-toggle="modal"
  805.                                         data-target="#exampleModal"><i class="fa fa-file-pdf"></i> Pdf
  806.                                 </button>
  807.                                 <button class="btn btn-sm btn-outline-info" data-toggle="modal" data-target="#exampleModal">
  808.                                     <i class="fa fa-file-excel"></i> Excel
  809.                                 </button>
  810.                             {% endif %}
  811.                         {% endif %}
  812.                         <button type="button" id="exporttable" style="display:none"
  813.                                 class="btn btn-lg btn-info clearfix">
  814.                             <span class="fa fa-file-pdf-o"></span> PDF
  815.                         </button>
  816.                         <button id="exportButton" style="display:none" class="btn btn-lg btn-success clearfix"><span
  817.                                     class="fa fa-file-pdf-o"></span> PDF
  818.                         </button>
  819.                     </div>
  820.                     <div class="col-md-8" style="display:none">
  821.                         <input class="form-control" id="myInput" name="myInput" placeholder="Recherche"/>
  822.                     </div>
  823.                 </div>
  824.                 <div class="table-responsive">
  825.                     <table class="table table-hover table-sm" id="htmltable">
  826.                         <thead>
  827.                         <tr>
  828.                             <th scope="col" class="">Heure</th>
  829.                             <th scope="col">Pays</th>
  830.                             <th scope="col">Evénement</th>
  831.                             <th scope="col">Volatilité</th>
  832.                             <th scope="col">Actuel</th>
  833.                             <th scope="col">Prévision</th>
  834.                             <th scope="col">Précedent</th>
  835.                         </tr>
  836.                         </thead>
  837.                         <tbody>
  838.                         <tr>
  839.                             <th colspan="7"
  840.                                 style="background-color: lightgray; text-align: center; font-weight: bold;">{{ "now"|date('d/m/Y') }}</th>
  841.                         </tr>
  842.                         {% for evenement in evenements %}
  843.                             <tr>
  844.                                 <td>
  845.                                     {% if evenement.importance!=0 %}
  846.                                         {{ evenement.heure? evenement.heure|date("H:i"):'' }}
  847.                                     {% else %}
  848.                                         <span class="">Toute la journée</span>
  849.                                     {% endif %}
  850.                                 </td>
  851.                                 <td><i class="flag-icon flag-icon-{{ evenement.pays.isoCode2|lower }}"
  852.                                        title="{{ evenement.pays.nompays }}"></i> {{ evenement.pays.monnaieCode }}</td>
  853.                                 <td>
  854.                                     {{ evenement.nom }} {{ evenement.periode }}
  855.                                     {% if evenement.importance!=0 %}
  856.                                         {% if evenement.precedente is null %}
  857.                                             <i class="fa fa-bullhorn" style="font-size:20px;color:#019934"></i>
  858.                                         {% endif %}
  859.                                     {% else %}
  860.                                         <span class=""></span>
  861.                                     {% endif %}
  862.                                 </td>
  863.                                 <td>
  864.                                     {% if evenement.importance == 1 %}
  865.                                         <i class="fa fa-star" style="color: var(--color-primary);"></i>
  866.                                         <i class="fa fa-star" style="color: var(--color-gray);"></i>
  867.                                         <i class="fa fa-star" style="color: var(--color-gray);"></i>
  868.                                     {% elseif evenement.importance == 2 %}
  869.                                         <i class="fa fa-star" style="color: var(--color-primary);"></i>
  870.                                         <i class="fa fa-star" style="color: var(--color-primary);"></i>
  871.                                         <i class="fa fa-star" style="color: var(--color-gray);"></i>
  872.                                     {% elseif evenement.importance == 3 %}
  873.                                         <i class="fa fa-star" style="color: var(--color-primary);"></i>
  874.                                         <i class="fa fa-star" style="color: var(--color-primary);"></i>
  875.                                         <i class="fa fa-star" style="color: var(--color-primary);"></i>
  876.                                     {% else %}
  877.                                         {{ evenement.fullImportance }}
  878.                                     {% endif %}
  879.                                 </td>
  880.                                  <td>{{ evenement.actuelle|compare_actuelle(evenement.prevision)|raw }}</td>
  881.                                  <td>{{ evenement.prevision }}</td>
  882.                                     <td>{{ evenement.precedente|compare_precedent(evenement.compaprecedent)|raw }} </td>
  883.                                {# <td>
  884.                                     {% if (evenement.actuelle|number_format) > (evenement.prevision|number_format) and  evenement.prevision!=null %}
  885.                                         <span style="font-weight: bold;color:green">{{ evenement.actuelle }}</span>
  886.                                     {% elseif (evenement.actuelle|number_format) < (evenement.prevision|number_format) %}
  887.                                         <span style="font-weight: bold;color:red">{{ evenement.actuelle }}</span>
  888.                                     {% else %}
  889.                                         <span style="font-weight: bold">{{ evenement.actuelle }}</span>
  890.                                     {% endif %}
  891.                                 </td>
  892.                                 <td><span class="">{{ evenement.prevision }}</span></td>
  893.                                 <td>
  894.                                     {% if evenement.precedente > evenement.compaprecedent %}
  895.                                         <span>{{ evenement.precedente }}</span>
  896.                                         <i class="fa fa-dot-circle"
  897.                                            title="Révision de {{ evenement.compaprecedent }}"></i>
  898.                                     {% elseif (evenement.precedente ) == (evenement.compaprecedent) %}
  899.                                         <span class="" style="">{{ evenement.precedente }}</span>
  900.                                     {% else %}
  901.                                         <span>{{ evenement.precedente }}</span>
  902.                                         <i class="fa fa-dot-circle"
  903.                                            title="Révision de {{ evenement.compaprecedent }}"></i>
  904.                                     {% endif %}
  905.                                 </td>#}
  906.                             </tr>
  907.                         {% else %}
  908.                             <tr>
  909.                                 <td colspan="7" style="text-align:center;"> Aucun événement prévu a cette date</td>
  910.                             </tr>
  911.                         {% endfor %}
  912.                         </tbody>
  913.                     </table>
  914.                 </div>
  915.             </div>
  916.             <!-- Modal -->
  917.             <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  918.                  aria-hidden="true">
  919.                 <div class="modal-dialog" role="document">
  920.                     <div class="modal-content">
  921.                         <div class="modal-header" style="text-align:center">
  922.                             <h5 class="modal-title" id="exampleModalLabel">Accès membre  Orishas-Finance</h5>
  923.                             <button type="button" class="close " data-dismiss="modal" aria-label="Close">
  924.                                 <span aria-hidden="true">&times;</span>
  925.                             </button>
  926.                         </div>
  927.                         <div class="modal-body">
  928.                         <div class="row">
  929.                         <div class="col-md-5">
  930.                             <img src="{{ asset('assets/site/images/logoh.png') }}" alt="Orishas-finance" width="150px;"
  931.                                  height="40px;">
  932.                                 </div>
  933.                                 <div class="col-md-7">
  934.                             INFORMATIONS RÉSERVÉES AUX MEMBRES
  935.                             </div>
  936.                         </div>
  937.                         </div>
  938.                         <div class="modal-footer">
  939.                         L'accès à cette fiche est réservé à nos membres:
  940.                         <br>
  941.                         <hr>
  942.                         <a href="{{ path('app_login') }}" align="left" class="btn btn-primary">connectez-vous</a>
  943.                          <a href="{{ path('app_register') }}" class="btn btn-secondary">Devenez membre gratuitement</a>
  944.                         </div>
  945.                     </div>
  946.                 </div>
  947.             </div>
  948.             <!-- Modal Calendrier Economique -->
  949.             <div class="modal fade" id="lecture_evenene" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  950.                  aria-hidden="true">
  951.                 <div class="modal-dialog" role="document">
  952.                    <div class="modal-content">
  953.                         <div class="modal-header" style="text-align:center">
  954.                             <h5 class="modal-title" id="exampleModalLabel">Accès membre  Orishas-Finance</h5>
  955.                             <button type="button" class="close " data-dismiss="modal" aria-label="Close">
  956.                                 <span aria-hidden="true">&times;</span>
  957.                             </button>
  958.                         </div>
  959.                         <div class="modal-body">
  960.                         <div class="row">
  961.                         <div class="col-md-5">
  962.                             <img src="{{ asset('assets/site/images/logoh.png') }}" alt="Orishas-finance" width="150px;"
  963.                                  height="40px;">
  964.                                 </div>
  965.                                 <div class="col-md-7">
  966.                             INFORMATIONS RÉSERVÉES AUX MEMBRES
  967.                             </div>
  968.                         </div>
  969.                         </div>
  970.                         <div class="modal-footer">
  971.                         L'accès à cette fiche est réservé à nos membres:
  972.                         <br>
  973.                         <hr>
  974.                         <a href="{{ path('app_login') }}" align="left" class="btn btn-primary">connectez-vous</a>
  975.                          <a href="{{ path('app_register') }}" class="btn btn-secondary">Devenez membre gratuitement</a>
  976.                         </div>
  977.                     </div>
  978.                 </div>
  979.             </div>
  980.             <!-- Modal News Financières -->
  981.             <div class="modal fade" id="lecture_news" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  982.                  aria-hidden="true">
  983.                 <div class="modal-dialog" role="document">
  984.                     <div class="modal-content">
  985.                         <div class="modal-header" style="text-align:center">
  986.                             <h5 class="modal-title" id="exampleModalLabel">Accès membre  Orishas-Finance</h5>
  987.                             <button type="button" class="close " data-dismiss="modal" aria-label="Close">
  988.                                 <span aria-hidden="true">&times;</span>
  989.                             </button>
  990.                         </div>
  991.                         <div class="modal-body">
  992.                         <div class="row">
  993.                         <div class="col-md-5">
  994.                             <img src="{{ asset('assets/site/images/logoh.png') }}" alt="Orishas-finance" width="150px;"
  995.                                  height="40px;">
  996.                                 </div>
  997.                                 <div class="col-md-7">
  998.                             INFORMATIONS RÉSERVÉES AUX MEMBRES
  999.                             </div>
  1000.                         </div>
  1001.                         </div>
  1002.                         <div class="modal-footer">
  1003.                         L'accès à cette fiche est réservé à nos membres:
  1004.                         <br>
  1005.                         <hr>
  1006.                         <a href="{{ path('app_login') }}" align="left" class="btn btn-primary">connectez-vous</a>
  1007.                          <a href="{{ path('app_register') }}" class="btn btn-secondary">Devenez membre gratuitement</a>
  1008.                         </div>
  1009.                     </div>
  1010.                 </div>
  1011.             </div>
  1012.             {#End:block Calendrier_eco #}
  1013.         </div>
  1014.     </section>
  1015.     <section class="row">
  1016.         <div class="col-md-12 mb-4">
  1017.             <div class="block block-gray">
  1018.                 <h3 class="block-title"><span>Nos partenaires</span></h3>
  1019.                 <div class="carousel-wrap">
  1020.                     <div class="owl-carousel owl-theme " id="patner-carousel">
  1021.                         {% for partenaire in partenaires %}
  1022.                             {% if (partenaire.status==true) %}
  1023.                                 <div class="item card">
  1024.                                     <a href="{{ path('show_partenaire', {'id': partenaire.id,'nom': partenaire.nom}) }}">
  1025.                                         <img src="{{ asset('uploads/partenaires/' ~ partenaire.logo) }}"
  1026.                                              class="card-img-top" alt="..." width="200" height="100">
  1027.                                     </a>
  1028.                                 </div>
  1029.                             {% endif %}
  1030.                         {% endfor %}
  1031.                     </div>
  1032.                 </div>
  1033.             </div>
  1034.         </div>
  1035.     </section>
  1036. {% endblock %}
  1037. {% block scripts %}
  1038.     {#<script>
  1039.         //First one
  1040.         function sendNotif(){
  1041.             Push.create("ORISHAS FINANCE", {
  1042.             body: "Vous avez 10 News en attentes de lecture'?",
  1043.             icon: 'https://www.orishas-finance.com/assets/site/images/icon_logo.jpg',
  1044.             link: 'actualites',
  1045.             timeout: 5000,
  1046.             onClick: function () {
  1047.                 window.location ="https://www.orishas-finance.com/actualites";
  1048.                 this.close();
  1049.             }
  1050.             });
  1051.             }
  1052.             $(document).ready(function() {
  1053.                 sendNotif();
  1054.              });
  1055.     </script>#}
  1056.     <script>
  1057.         $(function () {
  1058.             $("#exporttable").click(function (e) {
  1059.                 var table = $("#htmltable");
  1060.                 if (table && table.length) {
  1061.                     $(table).table2excel({
  1062.                         exclude: ".noExl",
  1063.                         name: "Excel Document Name",
  1064.                         filename: "BBBootstrap" + new Date().toISOString().replace(/[\-\:\.]/g, "") + ".xls",
  1065.                         fileext: ".xls",
  1066.                         exclude_img: true,
  1067.                         exclude_links: true,
  1068.                         exclude_inputs: true,
  1069.                         preserveColors: false
  1070.                     });
  1071.                 }
  1072.             });
  1073.         });
  1074.     </script>
  1075.     <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
  1076.     {#<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>#}
  1077. <!--    <script>
  1078.         $(document).ready(function () {
  1079.             $("#myInput").on("keyup", function () {
  1080.                 var value = $(this).val().toLowerCase();
  1081.                 $("#myTable tr").filter(function () {
  1082.                     $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
  1083.                 });
  1084.             });
  1085.         });
  1086.     </script>-->
  1087.     {#<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>
  1088.     <script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>#}
  1089.     <script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
  1090.     <script src="{{ asset('assets/common/modal-video-player/js/jquery-modal-video.js') }}"></script>
  1091.     <!-- you need to include the shieldui css and js assets in order for the components to work -->
  1092.     <link rel="stylesheet" type="text/css"
  1093.           href="http://www.shieldui.com/shared/components/latest/css/light/all.min.css"/>
  1094.     <script type="text/javascript"
  1095.             src="http://www.shieldui.com/shared/components/latest/js/shieldui-all.min.js"></script>
  1096.     <script type="text/javascript" src="http://www.shieldui.com/shared/components/latest/js/jszip.min.js"></script>
  1097.     <script type="text/javascript">
  1098.         jQuery(function ($) {
  1099.             $("#exportButton").click(function () {
  1100.                 // parse the HTML table element having an id=exportTable
  1101.                 var dataSource = shield.DataSource.create({
  1102.                     data: "#myTable",
  1103.                     schema: {
  1104.                         type: "table",
  1105.                         fields: {
  1106.                             Heure: {type: String},
  1107.                             Pays: {type: String},
  1108.                             Evénement: {type: String},
  1109.                             Volatilité: {type: String},
  1110.                             Actuel: {type: String},
  1111.                             Prévision: {type: String},
  1112.                             Précedente: {type: String}
  1113.                         }
  1114.                     }
  1115.                 });
  1116.                 // when parsing is done, export the data to PDF
  1117.                 dataSource.read().then(function (data) {
  1118.                     var pdf = new shield.exp.PDFDocument({
  1119.                         author: "PrepBootstrap",
  1120.                         created: new Date()
  1121.                     });
  1122.                     pdf.addPage("a4", "portrait");
  1123.                     pdf.table(
  1124.                         50,
  1125.                         50,
  1126.                         data,
  1127.                         [
  1128.                             {field: "Heure", title: "Heure", width: 20},
  1129.                             {field: "Pays", title: "Pays", width: 20},
  1130.                             {field: "Evénement", title: "Evenment", width: 200},
  1131.                             {field: "Volatilité", title: "Volatilité"},
  1132.                             {field: "Actuel", title: "Actuel"},
  1133.                             {field: "Prévision", title: "Prevision"},
  1134.                             {field: "Précedente", title: "Précedent"}
  1135.                         ],
  1136.                         {
  1137.                             margins: {
  1138.                                 top: 50,
  1139.                                 left: 50
  1140.                             }
  1141.                         }
  1142.                     );
  1143.                     pdf.saveAs({
  1144.                         fileName: "PrepBootstrapPDF"
  1145.                     });
  1146.                 });
  1147.             });
  1148.         });
  1149.     </script>
  1150.     <script>
  1151.         // Wrap every letter in a span
  1152.         var textWrapper = document.querySelector('.ml11 .letters');
  1153.         textWrapper.innerHTML = textWrapper.textContent.replace(/([^\x00-\x80]|\w)/g, "<span class='letter'>$&</span>");
  1154.         anime.timeline({loop: true})
  1155.             .add({
  1156.                 targets: '.ml11 .line',
  1157.                 scaleY: [0, 1],
  1158.                 opacity: [0.5, 1],
  1159.                 easing: "easeOutExpo",
  1160.                 duration: 700
  1161.             })
  1162.             .add({
  1163.                 targets: '.ml11 .line',
  1164.                 translateX: [0, document.querySelector('.ml11 .letters').getBoundingClientRect().width + 10],
  1165.                 easing: "easeOutExpo",
  1166.                 duration: 700,
  1167.                 delay: 100
  1168.             }).add({
  1169.             targets: '.ml11 .letter',
  1170.             opacity: [0, 1],
  1171.             easing: "easeOutExpo",
  1172.             duration: 600,
  1173.             offset: '-=775',
  1174.             delay: (el, i) => 34 * (i + 1)
  1175.         }).add({
  1176.             targets: '.ml11',
  1177.             opacity: 0,
  1178.             duration: 5000,
  1179.             easing: "easeOutExpo",
  1180.             delay: 5000
  1181.         });
  1182.     </script>
  1183.     <script>
  1184.         // Hero slider JS
  1185.         $(document).ready(function () {
  1186.             $('.main-slide').owlCarousel({
  1187.                 margin: 10,
  1188.                 loop: true,
  1189.                 autoplay: true,
  1190.                 autoplayHoverPause: false,
  1191.                 nav: false,
  1192.                 dots: false,
  1193.                 navText: ["<div class='nav-btn prev-slide'></div>", "<div class='nav-btn next-slide'></div>"],
  1194.                 responsive: {
  1195.                     0: {
  1196.                         items: 1
  1197.                     },
  1198.                     600: {
  1199.                         items: 2
  1200.                     },
  1201.                     1000: {
  1202.                         items: 3
  1203.                     }
  1204.                 }
  1205.             });
  1206.             var lastestNews = $('#news-carousel'), patnerCarousel = $('#patner-carousel, #client-carousel');
  1207.             lastestNews.owlCarousel({
  1208.                 margin: 10,
  1209.                 dots: false,
  1210.                 loop: true,
  1211.                 autoplay: false,
  1212.                 /*nav: false,
  1213.                 navText:["<div class='nav-btn prev-slide'></div>","<div class='nav-btn next-slide'></div>"],*/
  1214.                 responsive: {
  1215.                     0: {
  1216.                         items: 2
  1217.                     },
  1218.                     600: {
  1219.                         items: 3
  1220.                     },
  1221.                     1000: {
  1222.                         items: 4
  1223.                     }
  1224.                 }
  1225.             });
  1226.             $('.last-news-prev').click(function (e) {
  1227.                 e.preventDefault();
  1228.                 //alert('lorem');
  1229.                 lastestNews.trigger('prev.owl.carousel');
  1230.             });
  1231.             $('.last-news-next').click(function (e) {
  1232.                 e.preventDefault();
  1233.                 lastestNews.trigger('next.owl.carousel');
  1234.             });
  1235.             patnerCarousel.owlCarousel({
  1236.                 margin: 10,
  1237.                 dots: false,
  1238.                 loop: true,
  1239.                 autoplay: true,
  1240.                 /*nav: false,
  1241.                 navText:["<div class='nav-btn prev-slide'></div>","<div class='nav-btn next-slide'></div>"],*/
  1242.                 responsive: {
  1243.                     0: {
  1244.                         items: 2
  1245.                     },
  1246.                     600: {
  1247.                         items: 4
  1248.                     },
  1249.                     1000: {
  1250.                         items: 5
  1251.                     }
  1252.                 }
  1253.             });
  1254.             // video modal
  1255.             $(".js-video-button").modalVideo({
  1256.                 channel: 'youtube',
  1257.                 youtube: {
  1258.                     autoplay: 1,
  1259.                     cc_load_policy: 1,
  1260.                     color: null,
  1261.                     controls: 1,
  1262.                     disablekb: 0,
  1263.                     enablejsapi: 0,
  1264.                     fs: 1,
  1265.                     iv_load_policy: 1,
  1266.                     list: null,
  1267.                     listType: null,
  1268.                     loop: 0,
  1269.                     rel: 0,
  1270.                     showinfo: 1,
  1271.                     start: 0,
  1272.                     wmode: 'transparent',
  1273.                     theme: 'dark'
  1274.                 },
  1275.                 ratio: '16:9',
  1276.                 vimeo: {
  1277.                     api: false,
  1278.                     autopause: true,
  1279.                     autoplay: true,
  1280.                     byline: true,
  1281.                     callback: null,
  1282.                     color: null,
  1283.                     height: null,
  1284.                     loop: false,
  1285.                     maxheight: null,
  1286.                     maxwidth: null,
  1287.                     muted: false,
  1288.                     player_id: null,
  1289.                     portrait: true,
  1290.                     title: true,
  1291.                     width: null,
  1292.                     xhtml: false
  1293.                 },
  1294.             });
  1295.         })
  1296.     </script>
  1297.     {#<script src="{{ asset('assets/site/tooltip/tooltip.js')}}"></script>#}
  1298.   {#  <script src="{{ asset('assets/site/js/jquery.glossarize.js')}}"></script>
  1299.     <script>
  1300.         $(function(){
  1301.           $('.corps').glossarizer({
  1302.             sourceURL: "{{ asset('assets/site/css/glossary.json')}}",
  1303.             callback: function(){
  1304.               new tooltip();
  1305.             }
  1306.           });
  1307.         });
  1308.         </script>#}
  1309.         {# Début Glossaire js #}
  1310.     <script src="{{ asset('assets/site/js/jquery.glossarize.js')}}"></script>
  1311.     <script>
  1312.         $(function(){
  1313.           $('.corpss').glossarizer({
  1314.             sourceURL: "{{ asset('assets/site/css/glossary.json')}}",
  1315.             callback: function(){
  1316.               new tooltip();
  1317.             }
  1318.           });
  1319.         });
  1320.         </script>
  1321.     {# Fin glossaire js #}
  1322.         <script>
  1323.             // $( "abbr" ).wrap( "<a  href='https://orishas-finance.com/glossaire'> Glossaire </a>" );
  1324.             //$( ".glossarizer_replaced" ).wrap( "a" ).attr('href', 'https://orishas-finance.com/glossaire');
  1325.            // $( ".glossarizer_replaced" ).wrap( "<a  href='https://orishas-finance.com/glossaire'> Glossaire </a>" );
  1326.         </script>
  1327.         <script type="text/javascript">
  1328.            // $(".glossarizer_replaced").wrapAll('<a href="https://orishas-finance.com/glossaire">ORISHAS GLOSSAIRE</a>');
  1329.         </script>
  1330. {% endblock %}