templates/Theme/layoutbasehome.html.twig line 592

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="keywords" content="Adelivery on-demand delivery african africa amoney myaconnect myaconect" />
  7. <!-- Favicons-->
  8. <link rel="icon" href="{{ asset('admintemplate/images/logo.png') }}" sizes="32x32"/>
  9. <!-- Favicons-->
  10. {% block meta %} {% endblock %}
  11.   <title>{% block title %}{{ site }}{% endblock %}</title>
  12. {% block stylesheets %}
  13.   <link href="{{ asset('templatecourse/css/bootstrap.min.css') }}" rel="stylesheet">
  14.   <link rel="stylesheet" href="{{ asset('templatecourse/css/select_option1.css') }}">
  15.   <link rel="stylesheet" href="{{ asset('templatecourse/css/font-awesome.min.css') }}">
  16.   <link rel="stylesheet" href="{{ asset('templatecourse/css/flexslider.css') }}" type="text/css" media="screen" />
  17.   <link rel="stylesheet" href="{{ asset('templatecourse/css/fullcalendar.min.css') }}">
  18.   <link rel="stylesheet" href="{{ asset('templatecourse/css/animate.css') }}">
  19.   <link rel="stylesheet" href="{{ asset('templatecourse/css/magnific-popup.css') }}">
  20.   <link rel="stylesheet" type="text/css" href="{{ asset('templatecourse/css/settings.css') }}" media="screen">
  21.   <link rel="stylesheet" type="text/css" href="{{ asset('templatecourse/css/owl.carousel.css') }}" media="screen">
  22.   <!-- GOOGLE FONT -->
  23.   <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,600italic,400italic,700' rel='stylesheet' type='text/css'>
  24.   <link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,700' rel='stylesheet' type='text/css'>
  25.   <!-- CUSTOM CSS -->
  26.   <link rel="stylesheet" href="{{ asset('templatecourse/css/style.css') }}">
  27.   <link rel="stylesheet" href="{{ asset('templatecourse/css/default.css') }}" id="option_color">
  28.   <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  29.   <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  30.   <!--[if lt IE 9]>
  31.   <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  32.   <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  33.   <![endif]-->
  34.       <script src="{{ asset('templatecourse/js/jquery-1.11.1.min.js') }}"></script>
  35.     <link rel="stylesheet" href="{{ asset('template/notify/themes/alertify.core.css') }}"/>
  36.     <link rel="stylesheet" href="{{ asset('template/notify/themes/alertify.default.css') }}" id="toggleCSS"/>
  37.     <script src="{{ asset('template/notify/lib/alertify.min.js') }}"></script>
  38.     <script>
  39.         function resetNotif(){
  40.             $("#toggleCSS").attr("href", "{{ asset('template/notify/themes/alertify.default.css') }}");
  41.             alertify.set({
  42.                 labels : {
  43.                     ok     : "OK",
  44.                     cancel : "Cancel"
  45.                 },
  46.                 delay : 5000,
  47.                 buttonReverse : false,
  48.                 buttonFocus   : "ok"
  49.             });
  50.         }
  51.     </script>
  52. {% endblock %}
  53. <style>
  54.   aside{
  55.   position: fixed;
  56.   width: 100%;
  57.   top: 0;
  58.   left: 0;
  59.   background: #f4f4f4;
  60.   opacity: 0;
  61.   visibility: hidden;
  62.   transition: all .5s ease;
  63.   z-index: 90000!important;
  64.   height: 100vh;
  65. }
  66. .open {
  67.   opacity: 1;
  68.   visibility: visible;
  69. }
  70. .close-nav {
  71.   position: fixed;
  72.   top: 20px;
  73.   left: 15px;
  74.   color: white;
  75.   z-index: 3;
  76.   cursor: pointer;
  77.   font-family: sans-serif;
  78. }
  79. .close-nav:hover{
  80.     background: red!important;
  81.     color: #fff!important;
  82. }
  83. .hiden-scroll-bar-body{
  84.     height: 400px;
  85.     overflow-y: hidden;
  86. }
  87. .close-nav span,
  88. .close-nav span:before,
  89. .close-nav span:after {
  90.   border-radius: 4px;
  91.   height: 5px;
  92.   width: 35px;
  93.   background: white;
  94.   position: absolute;
  95.   display: block;
  96.   content: '';
  97. }
  98. .close-nav span {
  99.   background: transparent;
  100. }
  101. .close-nav span:before {
  102.   -webkit-transform: rotate(45deg);
  103.           transform: rotate(45deg);
  104. }
  105. .close-nav span:after {
  106.   -webkit-transform: rotate(-45deg);
  107.           transform: rotate(-45deg);
  108. }
  109. .outer-close {
  110.   position: absolute;
  111.   right: 0;
  112.   top: 0;
  113.   width: 85px;
  114.   height: 85px;
  115.   cursor: pointer;
  116. }
  117. .position-current-user, .position-current-user p{
  118.     background: #3565ae!important;
  119.     color: #fff!important;
  120. }
  121. .bg-struct{
  122.     background: #3565ae!important;
  123.     color: #fff!important;
  124. }
  125. .silly_scrollbar {
  126.     height: calc(100vh - 60px);
  127.     -webkit-box-shadow:0 0 3px #333;
  128.     -webkit-box-sizing: border-box;
  129.     padding:0 14px;
  130.     overflow:auto;
  131. }
  132. .silly_scrollbar::-webkit-scrollbar {
  133.     width: 12px;
  134. }
  135.  
  136. .silly_scrollbar::-webkit-scrollbar-track {
  137.     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
  138.     border-radius: 10px;
  139. }
  140.  
  141. .silly_scrollbar::-webkit-scrollbar-thumb {
  142.     border-radius: 10px;
  143.     -webkit-box-shadow: inset 0 0 6px red; 
  144. }
  145. .silly_scrollbar::-webkit-scrollbar-thumb:hover {
  146.     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.8);
  147. }
  148. .btn-home {
  149.   font-family: "Barlow", sans-serif;
  150.   font-weight: 700;
  151.   font-size: 18px;
  152.   padding: 15px 40px;
  153.   background: #fff;
  154.   border: none;
  155.   cursor: pointer;
  156.   transition: 0.4s all cubic-bezier(0.25, 0.46, 0.45, 0.94);
  157.   position: relative;
  158.   z-index: 2;
  159.   border-radius: 50px;
  160.   overflow: hidden;
  161. }
  162. .btn-home:after {
  163.   content: "";
  164.   position: absolute;
  165.   transition: 0.4s all cubic-bezier(0.25, 0.46, 0.45, 0.94);
  166. }
  167. .btn-4 {
  168.   color: #252D4A;
  169.   border: 2px solid currentColor;
  170. }
  171. .btn-4:after {
  172.   border: solid #5568AA;
  173.   border-width: 0 2px 2px 0;
  174.   display: inline-block;
  175.   padding: 4px;
  176.   transform: rotate(-45deg) translateY(-48%);
  177.   top: 48%;
  178.   right: 27%;
  179.   opacity: 0;
  180.   visibility: hidden;
  181.   z-index: -1;
  182. }
  183. .btn-4:hover, .btn-4:focus {
  184.   color: #5568AA;
  185.   border: 2px solid transparent;
  186.   padding: 15px 70px;
  187. }
  188. .btn-4:hover:after, .btn-4:focus:after {
  189.   opacity: 1;
  190.   visibility: visible;
  191.   right: 18%;
  192. }
  193. .btn-4:focus {
  194.   border-color: currentColor;
  195. }
  196. .btn-4:hover{
  197.   box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  198. }
  199. @media (max-width: 400px) {
  200.   .my-panel-souscription {
  201.     width: 100%!important;
  202.   }
  203. }
  204. @media (min-width: 400px){
  205.   .my-panel-souscription{
  206.     width: 400px!important;
  207.   }
  208. }
  209. .breadcrumbs {
  210.   list-style: none;
  211.   margin: 0px 0px 16px 0px;
  212.   padding: 0;
  213. }
  214. .breadcrumbs li {
  215.   list-style: none;
  216.   margin: 0;
  217.   padding: 0;
  218.   display: block;
  219.   float: left;
  220.   font-family: Montserrat,sans-serif;
  221.   text-transform: capitalize;
  222.   font-weight: 700;
  223.   letter-spacing: .05em;
  224.   line-height: 20px;
  225.   color: hsl(0, 0%, 30%);
  226. }
  227. .breadcrumbs li a {
  228.   display: block;
  229.   padding: 0 40px 0 0px;
  230.   color: hsl(0, 0%, 30%);
  231.   text-decoration: none;
  232.   height: 20px;
  233.   position: relative;
  234.   perspective: 700px;
  235. }
  236. .breadcrumbs li a:after {
  237.   content: '';
  238.   width: 20px;
  239.   height: 20px;
  240.   border-color: #333;
  241.   border-style: solid;
  242.   border-width: 1px 1px 0 0;
  243.   
  244.   -webkit-backface-visibility: hidden;
  245.   outline: 1px solid transparent;
  246.   
  247.   position: absolute;
  248.   right: 20px;
  249.   -webkit-transition: all .15s ease;
  250.      -moz-transition: all .15s ease;
  251.       -ms-transition: all .15s ease;
  252.           transition: all .15s ease;
  253.   -webkit-transform: rotateZ(45deg) skew(10deg, 10deg);
  254.      -moz-transform: rotateZ(45deg) skew(10deg, 10deg);
  255.       -ms-transform: rotateZ(45deg) skew(10deg, 10deg);
  256.           transform: rotateZ(45deg) skew(10deg, 10deg);
  257. }
  258. .breadcrumbs li a:hover:after {
  259.   right: 15px;
  260.   -webkit-transform: rotateZ(45deg) skew(-10deg, -10deg);
  261.      -moz-transform: rotateZ(45deg) skew(-10deg, -10deg);
  262.       -ms-transform: rotateZ(45deg) skew(-10deg, -10deg);
  263.           transform: rotateZ(45deg) skew(-10deg, -10deg);
  264. }
  265. .c-navigation-breadcrumbs__directory {
  266.   display: flex;
  267. }
  268. .c-navigation-breadcrumbs__link:link {
  269.   color: #007c89;
  270. }
  271. .c-navigation-breadcrumbs__link:link:hover {
  272.   background-image: linear-gradient(currentColor, currentColor);
  273.   background-size: auto 1px;
  274.   background-repeat: repeat-x;
  275.   background-position: 0 calc(50% + 1ex);
  276. }
  277. @media (max-width: 500px) {
  278.   .c-navigation-breadcrumbs__item:not(:nth-last-child(2)) {
  279.     display: none;
  280.   }
  281.   .c-navigation-breadcrumbs__link:before {
  282.     display: inline-block;
  283.     content: '\200b';
  284.     background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23007c89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round%5C'%3E%3Cline x1='19' y1='12' x2='5' y2='12'%3E%3C/line%3E%3Cpolyline points='12 19 5 12 12 5'%3E%3C/polyline%3E%3C/svg%3E") center/16px 16px no-repeat;
  285.     width: 16px;
  286.   }
  287. }
  288. @media (min-width: 501px) {
  289.   .c-navigation-breadcrumbs__item:nth-last-child(n+2):after {
  290.     display: inline-block;
  291.     content: '\200b';
  292.     background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23767676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round%5C'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") center/16px 16px no-repeat;
  293.     width: 16px;
  294.     margin: 0 8px;
  295.   }
  296.   .c-navigation-breadcrumbs__link {
  297.     display: block;
  298.     float: left;
  299.   }
  300. }
  301. .pagination {
  302.     background: #fff;
  303.     padding: 20px;
  304.     margin-bottom: 20px;
  305.     display: block;
  306.     border-radius: 7px;
  307. }
  308. .page {
  309.     display: inline-block;
  310.     padding: 0px 9px;
  311.     margin-right: 4px;
  312.     border-radius: 3px;
  313.     border: solid 1px #c0c0c0;
  314.     background: #e9e9e9;
  315.     box-shadow: inset 0px 1px 0px rgba(255,255,255, .8), 0px 1px 3px rgba(0,0,0, .1);
  316.     font-size: .875em;
  317.     font-weight: bold;
  318.     text-decoration: none;
  319.     color: #717171;
  320.     text-shadow: 0px 1px 0px rgba(255,255,255, 1);
  321. }
  322. .page:hover, .page.gradient:hover {
  323.     background: #fefefe;
  324.     background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FEFEFE), to(#f0f0f0));
  325.     background: -moz-linear-gradient(0% 0% 270deg,#FEFEFE, #f0f0f0);
  326. }
  327. .page.active {
  328.     border: none;
  329.     background: #616161;
  330.     box-shadow: inset 0px 0px 8px rgba(0,0,0, .5), 0px 1px 0px rgba(255,255,255, .8);
  331.     color: #f0f0f0;
  332.     text-shadow: 0px 0px 3px rgba(0,0,0, .5);
  333. }
  334. .page.gradient {
  335.     background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f8f8f8), to(#e9e9e9));
  336.     background: -moz-linear-gradient(0% 0% 270deg,#f8f8f8, #e9e9e9);
  337. }
  338. .pagination.dark {
  339.     background: #414449;
  340.     color: #feffff;
  341. }
  342. .page.dark {
  343.     border: solid 1px #32373b;
  344.     background: #3e4347;
  345.     box-shadow: inset 0px 1px 1px rgba(255,255,255, .1), 0px 1px 3px rgba(0,0,0, .1);
  346.     color: #feffff;
  347.     text-shadow: 0px 1px 0px rgba(0,0,0, .5);
  348. }
  349. .page.dark:hover, .page.dark.gradient:hover {
  350.     background: #3d4f5d;
  351.     background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#547085), to(#3d4f5d));
  352.     background: -moz-linear-gradient(0% 0% 270deg,#547085, #3d4f5d);
  353. }
  354. .page.dark.active {
  355.     border: none;
  356.     background: #2f3237;
  357.     box-shadow: inset 0px 0px 8px rgba(0,0,0, .5), 0px 1px 0px rgba(255,255,255, .1);
  358. }
  359. .page.dark.gradient {
  360.     background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#565b5f), to(#3e4347));
  361.     background: -moz-linear-gradient(0% 0% 270deg,#565b5f, #3e4347);
  362. }
  363. .my-div {
  364.     width: 100%;
  365.     margin-bottom: 10px;
  366.     padding: 10px;
  367.     background-color: #fff;
  368.     border-radius: 1em;
  369. }
  370. .banner{
  371.   background: transparent!important;
  372. }
  373. @media (max-width: 700px) {
  374.     .my-div {
  375.         width: auto;
  376.         margin: 0 auto;
  377.         border-radius: 0;
  378.         padding: 1em;
  379.     }
  380. }
  381. .list_block, .sidebar_item, .formArea{
  382.   border-top-color: #0060b1!important;
  383. }
  384. .border-secondary{
  385.   border: 1px solid #76b4e7!important;
  386. }
  387. .bg-primary{
  388.   background: #092759!important;
  389. }
  390. .bg-secondary{
  391.   background: #76b4e7!important;
  392. }
  393. .features li{
  394.   color: #092759;
  395. }
  396. .features li i{
  397.   color: #76b4e7!important;
  398. }
  399. .partnersLogo img{
  400.   height: 100px;
  401. }
  402. hr {
  403.     display: inline-block!important;
  404. }
  405. /*=============Begin tab pure css Accordio==========*/
  406. .section-left-filter{
  407.   min-height: 894px;
  408.   background: #FFFFFF;
  409.   border: 1px solid #e1e8ed; padding: 15px;
  410.   border-radius: 10px;
  411. }
  412. .section-left-filter-title{
  413.   font-family: 'MontserratAlternates-Regular';
  414.   font-style: normal;
  415.   font-weight: 700;
  416.   font-size: 16px;
  417.   line-height: 20px;
  418.   color: #000000;
  419. }
  420. .menu-aside input[type="checkbox"] {
  421.   position: absolute;
  422.   opacity: 0;
  423.   z-index: -1;
  424. }
  425. /* Accordion styles */
  426. .menu-aside .ads-tabs {
  427.   border-radius: 8px;
  428.   overflow: hidden;
  429. }
  430. .menu-aside .ads-tab {
  431.   width: 100%;
  432.   color: #333;
  433.   overflow: hidden;
  434. }
  435. .menu-aside .tab-label {
  436.   display: flex;
  437.   justify-content: space-between;
  438.   padding: 1em;
  439.   /*background: #2c3e50;*/
  440.   font-weight: bold;
  441.   cursor: pointer;
  442.   /* Icon */
  443. }
  444. .menu-aside .tab-label:hover {
  445.   /*background: #1a252f;*/
  446. }
  447. .menu-aside .tab-label::after {
  448.   content: "❯";
  449.   width: 1em;
  450.   height: 1em;
  451.   text-align: center;
  452.   transition: all 0.35s;
  453. }
  454. .menu-aside .tab-content1 {
  455.   max-height: 0;
  456.   padding: 0 1em;
  457.   color: #2c3e50;
  458.   background: white;
  459.   transition: all 0.35s;
  460. }
  461. .menu-aside .tab-close {
  462.   display: flex;
  463.   justify-content: flex-end;
  464.   padding: 1em;
  465.   font-size: 0.75em;
  466.   background: #2c3e50;
  467.   cursor: pointer;
  468. }
  469. .menu-aside .tab-close:hover {
  470.   background: #1a252f;
  471. }
  472. .menu-aside input:checked + .tab-label {
  473.   /*background: #1a252f;*/
  474. }
  475. .menu-aside input:checked + .tab-label::after {
  476.   transform: rotate(90deg);
  477. }
  478. .menu-aside input:checked ~ .tab-content1 {
  479.   max-height: 100vh;
  480.   padding: 1em;
  481. }
  482. /*=============End tab pure css Accordio==========*/
  483. .btn-effet {
  484.     position: relative;
  485.     display: inline-block;
  486.     margin: 5px;
  487.     padding: 5px 10px;
  488.     text-align: center;
  489.     font-size: 14px;
  490.     letter-spacing: 1px;
  491.     text-decoration: none;
  492.     color: #999999;
  493.     background: #ffffff;
  494.     border: 3px solid #999999;
  495.     border-radius: 7px;
  496.     cursor: pointer;
  497.     transition: ease-out 0.5s;
  498.     -webkit-transition: ease-out 0.5s;
  499.     -moz-transition: ease-out 0.5s;
  500. }
  501. .btn-effet.btn-border-3::after,
  502. .btn-effet.btn-border-3::before {
  503.     position: absolute;
  504.     content: "";
  505.     width: 0;
  506.     height: 0;
  507.     transition: .5s;
  508. }
  509. .btn-effet.btn-border-3::after {
  510.     top: -9px;
  511.     left: -9px;
  512.     border-top: 3px solid transparent;
  513.     border-left: 3px solid transparent;
  514. }
  515. .btn-effet.btn-border-3::before {
  516.     bottom: -9px;
  517.     right: -9px;
  518.     border-bottom: 3px solid transparent;
  519.     border-right: 3px solid transparent;
  520. }
  521. .btn-effet.btn-border-3:hover {
  522.     color: #222222;
  523. }
  524. .btn-effet.btn-border-3:hover::after,
  525. .btn-effet.btn-border-3:hover::before {
  526.     width: 30px;
  527.     height: 30px;
  528.     border-color: #222222;
  529. }
  530. </style>
  531. </head> 
  532. <body class="body-wrapper">
  533.   <div class="main_wrapper"> 
  534.     {{ render(controller("App\\Controller\\General\\Template\\MenuController:menubare", {'position': 'home'})) }}
  535.     {% block body %}
  536.       
  537.     {% endblock %}
  538.     {{ render(controller("App\\Controller\\General\\Template\\MenuController:footer", {'position': 'home', 'hideblock': hideblock|default(false)})) }}
  539.     <aside>
  540.       <div class="outer-close toggle-overlay">
  541.         <a class="close-nav text-center open-scroll-bar-body" style="background: #fff; color: #333; display: inline-block; height: 40px; width: 40px; border-radius: 20px; padding-top: 7px;"><i class="fa fa-arrow-left"></i></a> 
  542.         
  543.         <div style="position: fixed; z-index: 3; bottom: 0px; width: 100%; left: 0px; background: #fff; padding: 7px 10px; border-top: 1px solid #ddd;">
  544.           <div style="font-size: 12px;">© 2014 - {{ "now"|date('Y') }} - {{ site }}</div>
  545.         </div>
  546.       </div>
  547.       
  548.       <div class="content-article-tech">
  549.       
  550.       </div>
  551.     </aside>
  552.   </div>
  553. <script src="{{ asset('templatecourse/js/bootstrap.min.js') }}"></script>
  554. <script src="{{ asset('templatecourse/js/jquery.selectbox-0.1.3.min.js') }}"></script>
  555. <script src="{{ asset('templatecourse/js/jquery.magnific-popup.js') }}"></script>
  556. <script src="{{ asset('templatecourse/js/jquery.counterup.js') }}"></script>
  557. <script src="{{ asset('templatecourse/js/owl.carousel.js') }}"></script>
  558. <script src="{{ asset('templatecourse/js/jquery.flexslider.js') }}"></script>
  559. <script src="{{ asset('templatecourse/js/jquery.themepunch.tools.min.js') }}"></script>
  560. <script src="{{ asset('templatecourse/js/jquery.themepunch.revolution.min.js') }}"></script>
  561. <!-- script src="{{ asset('templatecourse/js/wow.min.js') }}"></script>
  562. <script src="{{ asset('templatecourse/js/moment.min.js') }}"></script>
  563. <script src="{{ asset('templatecourse/js/jquery.syotimer.js') }}"></script>
  564. <script src="{{ asset('templatecourse/js/SmoothScroll.js') }}"></script>
  565. <script src="{{ asset('templatecourse/js/waypoints.min.js') }}"></script -->
  566. <!-- link href="{{ asset('templatecourse/css/optionswitch.css') }}" rel="stylesheet" -->
  567. <!-- script src="{{ asset('templatecourse/js/optionswitcher.js') }}"></script -->
  568. {% block srcjavascript %}
  569. {% endblock %}
  570. <script type="text/javascript">
  571.   /*$window.load(
  572.     function(){
  573.       $('.flexslider').flexslider({animation:'slide',animationLoop:false,itemWidth:228,itemMargin:0,prevText:'',nextText:'',minItems:getGridSize(),maxItems:getGridSize()});
  574.     });*/
  575.     //$window.resize(function(){var gridSize=getGridSize();flexslider.vars.minItems=gridSize;flexslider.vars.maxItems=gridSize;});
  576.      
  577.     var owl=$('.owl-carousel.success-inner');
  578.     owl.owlCarousel(
  579.       {loop:true,margin:0,autoplay:true,autoplayTimeout:4000,autoplayHoverPause:true,nav:false,moveSlides:1,dots:true,smartSpeed:1000,responsive:{320:{items:1},768:{items:1},992:{items:1}}}
  580.     );
  581.     var owl=$('.owl-carousel.banner-slider');
  582.     owl.owlCarousel(
  583.       {loop:true,margin:0,autoplay:true,autoplayTimeout:2000,autoplayHoverPause:true,nav:false,moveSlides:1,dots:false,smartSpeed:1000,responsive:{320:{items:1},768:{items:1},992:{items:1}}}
  584.     );
  585.     var owl=$('.owl-carousel.bannerBottom-slider');
  586.     owl.owlCarousel(
  587.       {loop:true,margin:0,autoplay:false,nav:true,moveSlides:1,dots:false,smartSpeed:1000,responsive:{320:{items:1},768:{items:1},992:{items:1}}}
  588.     );
  589.     var owl=$('.owl-carousel.partnersLogoSlider');
  590.     owl.owlCarousel(
  591.       {loop:true,margin:28,autoplay:true,autoplayTimeout:2000,autoplayHoverPause:true,nav:true,dots:false,smartSpeed:500,responsive:{320:{slideBy:1,items:1},480:{slideBy:1,items:2},768:{slideBy:1,items:3},992:{slideBy:1,items:5}}}
  592.     );
  593.     
  594.     $(function(){
  595.         {% block javascript %}
  596.         {% endblock %}
  597.     });
  598. </script>    
  599.     
  600. <style>
  601.     .side-nav-dashboad {
  602.         position: fixed; background: #f0f3f5; padding: 10px 0px; width: 100%; z-index: 50000;
  603.     }
  604.     #style-4{
  605.         box-shadow: 0px -1px 10px rgba(50, 50, 50, 0.2);
  606.     }
  607. </style>
  608. <div class="content-alert-action-hosting-user" value="0" name="0" style="display: none;"></div>
  609. <div class="panel-result-action-hosting-user" style="display: none; position: fixed; z-index: 10000; width: 100%; text-align: center; top: 40%;">
  610.     <span style="display: inline-block; width: 80px; height: 80px; background: #fff; text-align: center; padding-top: 25px;">
  611.         <img src="{{ asset('template/images/loader.gif') }}" alt="Attente" style="height: 30px; width: 30px;"/>
  612.     </span>
  613. </div>
  614. {#
  615. <div id="style-4" class="text-center side-nav-dashboad" >
  616.     <div style="margin-top: -35px;">
  617.         <a href="#!" class="hide-nav-premuim text-center btn"style="opacity: 1!important; color: #fff; display: none; width: 50px; height: 50px; border-radius: 50%; background: #3565ae; padding-top: 15px; box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);"><span class="fa fa-chevron-down"></span></a>
  618.         
  619.         <a href="#!" class="show-nav-premuim text-center btn" style="opacity: 1!important;position: sticky; color: #fff; width: 50px; height: 50px; border-radius: 50%; background: #3565ae; padding-top: 8px; box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);">
  620.             <span class="fa fa-chevron-up"></span>
  621.             <strong id="DivClignotante" style="display: inline-block; background: red; padding: 2px 7px; height: 25px; width: 25px; border-radius: 50%; font-size: 14px; position: absolute; right: 10px; top: -15px;">0</strong>
  622.         </a>
  623.     </div>
  624.     
  625.     <div style="height: 100%; overflow: auto; position: sticky; position: -webkit-sticky; position: sticky;">
  626.     <div class="container">
  627.     <div class="row">
  628.         <div class="col-md-12">
  629.         <div class="card_content_update" style="margin-top: 7px;">
  630.             <div class="text-center" style="padding-top: 50px; min-height: 300px;">
  631.                 <h2>Inscription en cours</h2>
  632.                 
  633.                 <div>
  634.                     <span class="fa fa-info-circle"></span> Vérifiez votre commande et cliquez sur suivant pour poursuivre l'inscrption.
  635.                 </div>
  636.             </div>
  637.         </div>
  638.         </div>
  639.     </div>
  640.     </div>
  641.     </div>
  642. </div>
  643. #}
  644. <script type="text/javascript">
  645. var animtail = 0;
  646. if($(window).height() > 600)
  647. {
  648.     var panelheight = $(window).height() - 20;
  649.     if(panelheight > 800)
  650.     {
  651.         panelheight = 780;
  652.     }
  653. }else{
  654.     var panelheight = $(window).height() -20;
  655. }
  656. $(function(){
  657.   $('.video_btn').magnificPopup({
  658.       type: 'iframe'
  659.   });
  660.   $('.video_media').magnificPopup({
  661.       type: 'iframe'
  662.   });
  663. $(".dropdown").hover(function(){
  664.     var dropdownMenu = $(this).children(".dropdown-menu");
  665.     
  666.     dropdownMenu.parent().toggleClass("open");
  667.     if($(this).hasClass("open"))
  668.     {
  669.     $(this).find('span.item-caret').html('<span class="fa fa-angle-up"></span>');
  670.     }else{
  671.     $(this).find('span.item-caret').html('<span class="fa fa-angle-down"></span>');
  672.     }        
  673. });
  674. $("button.navbar-toggle").click(function(){
  675.     $("div.navbar-collapse").toggleClass("collapse");
  676. });
  677. /*
  678. $('#menu-drop-notif').bind('mouseleave.dragged',function(e){
  679.         menuDrop.dataset.drop = 'disabled';
  680.         menuDrop.classList.remove('active2');
  681.       });
  682. */
  683.     
  684. $('.side-nav-dashboad').css('height', panelheight+'px');
  685. $('.side-nav-dashboad').css('bottom', -panelheight+'px');
  686. $('.hide-nav-premuim').click(function(){
  687.   closeCardPanel();
  688. });
  689. $('.show-nav-premuim').click(function(){
  690.   rafraichissementpanier();
  691. });
  692. $("[data-toggle=popover]").each(function(i, obj){
  693.     $(this).popover({
  694.       html: true,
  695.       content: function() {
  696.         var id = $(this).attr('id')
  697.         return $('#popover-content-' + id).html();
  698.       }
  699.     });
  700. });
  701. $('.toggle-overlay-article').click(function(){
  702.   var id = $(this).attr('value');
  703.   openArticleOverlay(id);
  704. });
  705. $('.open-scroll-bar-body').click(function(){
  706.     $('aside').toggleClass('open');
  707.      $('.content-article-tech').html('');
  708. });
  709. $('.open-liste-formation').click(function(){
  710.     $('.list-group-flush').hide();
  711.     $('.item-formation-'+$(this).attr('value')).show();
  712. });
  713. });
  714. function openCardPanel()
  715. {
  716.     if(animtail == 0)
  717.     {
  718.       $('.content-alert-action-hosting-user').show();
  719.       $('.content-alert-action-hosting-user').html('<div style="position: fixed; top: 0px; margin-bottom: '+$(window).scrollTop()+'px; left: 0px; z-index: 9000; width: '+($(window).width() + 100)+'px; height: '+($(window).height() + $(window).scrollTop())+'px; background: rgba(0,0,0,0.5);"></div>');
  720.       
  721.       $( ".side-nav-dashboad" ).animate({ "bottom": "+="+panelheight+"px" }, "slow" );
  722.       $( ".hide-nav-premuim" ).show();
  723.       $( ".show-nav-premuim" ).hide();
  724.       animtail = panelheight;
  725.     }
  726. }
  727. function closeCardPanel()
  728. {
  729.     if(animtail == panelheight)
  730.     {
  731.       $( ".side-nav-dashboad" ).animate({ "bottom": "-="+panelheight+"px"}, "slow");
  732.       $( ".hide-nav-premuim" ).hide();
  733.       $( ".show-nav-premuim" ).show();
  734.       $('.content-alert-action-hosting-user').hide();
  735.       animtail = 0;
  736.     }
  737. }
  738. function rafraichissementpanier()
  739. {
  740.     openCardPanel();
  741.     
  742.     var hauteur = $('.card_content_update').height() + 2;
  743.     var largeur = $('.card_content_update').width() + 32;
  744.     var padding = Math.round(hauteur/2 - 50);
  745.     $('.card_content_update').before('<div class="attente-resultat col-md-12" style="padding-top: 250px; z-index: 10000; height: '+hauteur+'px; text-align: center; vertical-align: center; width: '+largeur+'px; position: absolute; background: rgba(221, 221, 221, 0.48);; margin-top: 15px;"><span><img src="{{ asset('template/images/loader.gif') }}" alt="..." style="width: 30px; height: 30px;" /></span></div>');
  746.     $.get('{{ path('produit_produit_reglement_commande_du_panier') }}',function(data){
  747.       if(data == 0)
  748.       {
  749.           resetNotif();
  750.           alertify.alert("Echec, Vous n'avez aucune formation valide pour cette section en cours.");
  751.           $('.card_content_update').html('<div class="text-center" style="height: 150px padding-top: 70px;"><main style="box-shadow:0px 0px 2px rgba(0,0,0,0.02); background: #fff; margin: 0px; padding: 7px; min-width: 100%; min-height: 250px;"> <h2>Votre panier est vide</h2><a href="{{ path('users_user_acces_plateforme') }}">Ciquez ici pour vous inscrire à une formation</a></main></div>');
  752.       }else if(data == 2){
  753.           resetNotif();
  754.           alertify.alert("Echec, Le panier en cours ne contient aucune formation.");
  755.           $('.card_content_update').html('<div class="text-center" style="height: 150px padding-top: 70px;"><main style="box-shadow:0px 0px 2px rgba(0,0,0,0.02); background: #fff; margin: 0px; padding: 7px; min-width: 100%; min-height: 250px;"> <h2>Votre panier est vide</h2><a href="{{ path('users_user_acces_plateforme') }}">Ciquez ici pour vous inscrire à une formation</a></main></div>');
  756.       }else{
  757.         $('.card_content_update').html(data);
  758.       }
  759.       $('.attente-resultat').hide();
  760.     });
  761. }
  762. function openArticleOverlay(id)
  763. {
  764.   var height = ($(window).height() + $(window).scrollTop());
  765.   var width = $(window).width() + 100;
  766.   var scrolltop = $(window).scrollTop();
  767.   $('.panel-result-action-hosting-user').show();
  768.   $('.content-alert-action-hosting-user').show();
  769.   $('.content-alert-action-hosting-user').html('<div style="position: fixed; top: 0px; margin-bottom: '+scrolltop+'px; left: 0px; z-index: 9000; width: '+width+'px; height: '+height+'px; background: rgba(0,0,0,0.5);"></div>');
  770.   $.post('{{ path('produit_service_detail_article_support') }}',{ id: id }, function(data){
  771.       if(data != 0)
  772.       {
  773.           $('.panel-result-action-hosting-user').hide();
  774.           $('.content-alert-action-hosting-user').hide();
  775.           
  776.           $('.content-article-tech').html(data);
  777.           $('aside').toggleClass('open');
  778.       }else{
  779.           resetNotif();
  780.           alertify.alert("Echec, Une erreur a été rencontrée lors de l\'enregistrement de la commande.");
  781.           $('.panel-result-action-hosting-user').hide();
  782.           $('.content-alert-action-hosting-user').hide();
  783.       }
  784.   });
  785. }
  786. $('.commande-offer-formation').click(function(){
  787.   var id = $(this).attr('value');
  788.   var type = $(this).attr('name');
  789.   var height = ($(window).height() + $(window).scrollTop());
  790.   var width = $(window).width() + 100;
  791.   var scrolltop = $(window).scrollTop();
  792.   $('.panel-result-action-hosting-user').show();
  793.   $('.content-alert-action-hosting-user').show();
  794.   $('.content-alert-action-hosting-user').html('<div style="position: fixed; top: 0px; margin-bottom: '+scrolltop+'px; left: 0px; z-index: 9000; width: '+width+'px; height: '+height+'px; background: rgba(0,0,0,0.5);"></div>');
  795.   $.post('{{ path('produit_produit_ajouter_product_panier') }}',{ id: id, type: type }, function(data){
  796.       if(data == 1)
  797.       {
  798.           $('.panel-result-action-hosting-user').hide();
  799.           $('.content-alert-action-hosting-user').hide();
  800.           rafraichissementpanier();
  801.       }else{
  802.           resetNotif();
  803.           alertify.alert("Echec, Une erreur a été rencontrée lors de l\'enregistrement de la commande.");
  804.           $('.panel-result-action-hosting-user').hide();
  805.           $('.content-alert-action-hosting-user').hide();
  806.       }
  807.   });
  808. });
  809. </script>
  810. </body>
  811. </html>