var/cache/dev/twig/1a/1ae9301b52eae37adbf0d984f6c3c84115b7493022b55e4305df3aa6ebad71d9.php line 448

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Theme/Produit/Produit/Produit/listeproduituser.html.twig */
  14. class __TwigTemplate_c7f60223612687e4845b2456fbb7ab00631b1fe819d530195163e3b24d7758d5 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'meta' => [$this'block_meta'],
  24.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'userblog_body' => [$this'block_userblog_body'],
  27.             'javascripttemplate' => [$this'block_javascripttemplate'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "Theme/Users/User/layouthome.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Theme/Produit/Produit/Produit/listeproduituser.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Theme/Produit/Produit/Produit/listeproduituser.html.twig"));
  42.         $this->parent $this->loadTemplate("Theme/Users/User/layouthome.html.twig""Theme/Produit/Produit/Produit/listeproduituser.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 2
  50.     public function block_meta($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  57.         // line 3
  58.         echo "\t";
  59.         $this->displayParentBlock("meta"$context$blocks);
  60.         echo "
  61. \t<meta name=\"keywords\" content=\"";
  62.         // line 4
  63.         echo twig_escape_filter($this->env, (isset($context["site"]) || array_key_exists("site"$context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.'4$this->source); })()), "html"nulltrue);
  64.         echo ", Business, Innovation,Administration\"/>
  65. \t<meta name=\"author\" content=\"Noel Kenfack\"/>
  66. \t<meta name=\"description\" content=\"";
  67.         // line 6
  68.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'6$this->source); })()), "nom", [], "any"falsefalsefalse6), "html"nulltrue);
  69.         echo " - ";
  70.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'6$this->source); })()), "description", [], "any"falsefalsefalse6), "html"nulltrue);
  71.         echo "\"/>
  72. ";
  73.         
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.     }
  78.     // line 9
  79.     public function block_title($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  86.         // line 10
  87.         echo "\t";
  88.         $this->displayParentBlock("title"$context$blocks);
  89.         echo " - ";
  90.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'10$this->source); })()), "nom", [], "any"falsefalsefalse10), "html"nulltrue);
  91.         echo "
  92. ";
  93.         
  94.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  95.         
  96.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  97.     }
  98.     // line 13
  99.     public function block_stylesheets($context, array $blocks = [])
  100.     {
  101.         $macros $this->macros;
  102.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  103.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  104.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  105.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  106.         // line 14
  107.         echo "\t";
  108.         $this->displayParentBlock("stylesheets"$context$blocks);
  109.         echo "
  110. ";
  111.         
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  113.         
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  115.     }
  116.     // line 17
  117.     public function block_userblog_body($context, array $blocks = [])
  118.     {
  119.         $macros $this->macros;
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  121.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""userblog_body"));
  122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  123.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""userblog_body"));
  124.         // line 18
  125.         echo "
  126. <link rel=\"stylesheet\" href=\"";
  127.         // line 19
  128.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/css/jquery.expandable.css"), "html"nulltrue);
  129.         echo "\"/>
  130. <script type=\"text/javascript\" src=\"";
  131.         // line 20
  132.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/js/jquery.expandable.js"), "html"nulltrue);
  133.         echo "\"></script>
  134. <div style=\"background: #f0f0f2;\">
  135. <div class=\"container\">
  136. <div class=\"row\">
  137. \t";
  138.         // line 26
  139.         if ($this->extensions['App\Service\Servicetext\TwigExtensions']->is_mobile()) {
  140.             // line 27
  141.             echo "\t<div class=\"col-md-12\">
  142. \t\t<ol class=\"c-navigation-breadcrumbs__directory\">
  143. \t\t<!-- Duplicating the \"Home\" link in both the global navigation and the breadcrumb trail is not recommended. -->
  144. \t\t<li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  145. \t\t  <a class=\"c-navigation-breadcrumbs__link\" href=\"\" property=\"item\" typeof=\"WebPage\">
  146. \t\t\t<span class=\"u-visually-hidden\" property=\"name\"><span class=\"fa fa-home\"> </span> Accueil</span>
  147. \t\t  </a>
  148. \t\t  <meta property=\"position\" content=\"1\">
  149. \t\t</li>
  150. \t\t<li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  151. \t\t  <a class=\"c-navigation-breadcrumbs__link\" href=\"";
  152.             // line 39
  153.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_produit_formation_institut", ["id" => twig_get_attribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'39$this->source); })()), "id", [], "any"falsefalsefalse39)]), "html"nulltrue);
  154.             echo "\" property=\"item\" typeof=\"WebPage\">
  155. \t\t\t<span property=\"name\">";
  156.             // line 40
  157.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'40$this->source); })()), "nom", [], "any"falsefalsefalse40), "html"nulltrue);
  158.             echo "</span>
  159. \t\t  </a>
  160. \t\t  <meta property=\"position\" content=\"2\">
  161. \t\t</li>
  162. \t\t<li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  163. \t\t  <a class=\"c-navigation-breadcrumbs__link\" href=\"#!\" property=\"item\" aria-current=\"location\">
  164. \t\t\t<span property=\"name\">À propos des ";
  165.             // line 47
  166.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'47$this->source); })()), "nom", [], "any"falsefalsefalse47), "html"nulltrue);
  167.             echo "</span>
  168. \t\t  </a>
  169. \t\t  <meta property=\"position\" content=\"3\">
  170. \t\t</li>
  171. \t\t</ol>
  172. \t</div>
  173. \t";
  174.         } else {
  175.             // line 55
  176.             echo "\t<div class=\"col-md-12\">
  177. \t<div style=\"padding: 20px 0px;\">
  178. \t\t<div class=\"btn-group\" style=\"float: right; margin-top: -10px;\">
  179. \t\t<button class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\"> Appliquer un filtre <span class=\"fa fa-angle-down\"></span></button>
  180. \t\t<ul class=\"dropdown-menu pull-right\">
  181. \t\t\t";
  182.             // line 60
  183.             $context['_parent'] = $context;
  184.             $context['_seq'] = twig_ensure_traversable(range(04));
  185.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  186.                 // line 61
  187.                 echo "\t\t\t\t<li><a href=\"\"> formation.nom </a></li>
  188. \t\t\t\t<li class=\"divider\"></li>
  189. \t\t\t";
  190.             }
  191.             $_parent $context['_parent'];
  192.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  193.             $context array_intersect_key($context$_parent) + $_parent;
  194.             // line 64
  195.             echo "\t\t</ul>
  196. \t\t</div>
  197. \t\t<ul class=\"breadcrumbs\">
  198. \t\t  <li><a href=\"#\"><span class=\"fa fa-home\"></span> Accueil</a></li>
  199. \t\t  <li><a href=\"";
  200.             // line 69
  201.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_produit_formation_institut", ["id" => twig_get_attribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'69$this->source); })()), "id", [], "any"falsefalsefalse69)]), "html"nulltrue);
  202.             echo "\">";
  203.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'69$this->source); })()), "nom", [], "any"falsefalsefalse69), "html"nulltrue);
  204.             echo "</a></li>
  205. \t\t  <li>À propos des ";
  206.             // line 70
  207.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'70$this->source); })()), "nom", [], "any"falsefalsefalse70), "html"nulltrue);
  208.             echo "</li>
  209. \t\t</ul>
  210. \t</div>
  211. \t</div>
  212. \t";
  213.         }
  214.         // line 75
  215.         echo "
  216. </div>
  217. </div>
  218. </div>
  219. <style>
  220. #timeline {
  221.   list-style: none;
  222.   padding: 0;
  223.   position: relative;
  224.   -moz-box-sizing: border-box;
  225.   -webkit-box-sizing: border-box;
  226.   box-sizing: border-box;
  227. }
  228. #timeline:after {
  229.   border: 4px solid;
  230.   border-radius: 50%;
  231.   border-color: #374A67;
  232.   content: \"\";
  233.   display: block;
  234.   position: absolute;
  235.   left: 17px;
  236. }
  237. .timeline-item {
  238.   border-left: 2px solid #282F44;
  239.   margin: 0 20px;
  240.   padding: 0px 25px 20px 25px;
  241.   position: relative;
  242.   -moz-box-sizing: border-box;
  243.   -webkit-box-sizing: border-box;
  244.   box-sizing: border-box;
  245. }
  246. .timeline-item:before {
  247.   border: 10px solid #374A67;
  248.   border-radius: 50%;
  249.   content: \"\";
  250.   display: block;
  251.   position: absolute;
  252.   left: -11px;
  253.   width: 20px;
  254.   height: 20px;
  255.   -moz-box-sizing: border-box;
  256.   -webkit-box-sizing: border-box;
  257.   box-sizing: border-box;
  258. }
  259. .timeline-body {
  260.   background-color: #fbfbfb;
  261.   padding: 10px 20px;
  262.   position: relative;
  263.   top: -20px;
  264. }
  265. .timeline-lead {
  266.   line-height: 2px;
  267.   padding-bottom: 5px;
  268. }
  269. .timeline-date {
  270.   font-size: .7rem;
  271.   color: #757780;
  272.   letter-spacing: 1px;
  273.   font-weight: 600;
  274.   text-transform: uppercase;
  275. }
  276. .timeline-title{
  277.   color: #374A67;
  278.   letter-spacing: 1px;
  279.   font-weight: 700;
  280. }
  281. .timeline-content {
  282.   color: #070707;
  283. }
  284. .card-group {
  285.   position: relative;
  286.   width: 100%;
  287.   background: white;
  288.   box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.05);
  289.   border-radius: 0.4rem;
  290.   overflow: hidden;
  291.   box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  292.   transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  293. }
  294. .card-group:hover{
  295. box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  296. }
  297. .card-group .card-header {
  298.   display: -webkit-box;
  299.   display: flex;
  300.   -webkit-box-orient: vertical;
  301.   -webkit-box-direction: reverse;
  302.           flex-direction: column-reverse;
  303.   height: 100px;
  304.   background-position: center;
  305.   background-size: cover;
  306.   -webkit-transition: height 0.3s;
  307.   transition: height 0.3s;
  308. }
  309. .card-group .card-header:hover {
  310.   height: 200px;
  311. }
  312. .card-group .card-header:hover + .card-body {
  313.   height: 29px;
  314. }
  315. .card-group .card-header .card-title {
  316.   font-size: 16px;
  317.   color: inherit;
  318.   margin: 0;
  319.   padding: 0.5rem 1rem;
  320.   padding-top: 1.2rem;
  321.   background: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(60%, white));
  322.   background: linear-gradient(transparent, white 60%);
  323. }
  324. .card-group .card-body {
  325.   height: 150px;
  326.   overflow: hidden;
  327.   padding: 0 1rem;
  328.   -webkit-transition: 0.3s;
  329.   transition: 0.3s;
  330. }
  331. .card-group .card-body .sub-text {
  332.   font-size: 0.9rem;
  333.   color: #646b75;
  334. }
  335. .card-group .card-link-footer {
  336.   display: block;
  337.   padding: 1rem;
  338.   font-weight: bold;
  339.   color: #d96c0f;
  340.   text-align: center;
  341.   text-decoration: none;
  342.   -webkit-transition: 0.2s;
  343.   transition: 0.2s;
  344. }
  345. .card-group .card-link-footer:hover {
  346.   color: white;
  347.   box-shadow: inset 0 -56px 0 #23445e;
  348.   -webkit-transition: 0.2s;
  349.   transition: 0.2s;
  350. }
  351. .mt-0 {
  352.   margin-top: 0;
  353. }
  354. .mb-1 {
  355.   margin-bottom: 0.4rem;
  356. }
  357. .list-episodes {
  358.   list-style: none;
  359.   padding-left: 0;
  360.   margin: 0 -1rem;
  361.   color: #646b75;
  362. }
  363. .list-episodes li {
  364.   padding-left: 0.6rem;
  365. }
  366. .list-episodes li a {
  367.   display: block;
  368.   text-decoration: none;
  369.   color: inherit;
  370.   padding: 0.4rem 1rem;
  371.   padding-left: 0.4rem;
  372.   -webkit-transition: -webkit-transform 0.1s;
  373.   transition: -webkit-transform 0.1s;
  374.   transition: transform 0.1s;
  375.   transition: transform 0.1s, -webkit-transform 0.1s;
  376. }
  377. .list-episodes li a:hover {
  378.   -webkit-transform: translateX(4px);
  379.           transform: translateX(4px);
  380.   -webkit-transition: -webkit-transform 0.1s;
  381.   transition: -webkit-transform 0.1s;
  382.   transition: transform 0.1s;
  383.   transition: transform 0.1s, -webkit-transform 0.1s;
  384. }
  385. .list-episodes li a b {
  386.   font-size: 0.8rem;
  387.   margin-right: 4px;
  388. }
  389. .list-episodes li:nth-child(even) div {
  390.   border-radius: 4px 0 0 4px;
  391.   background: rgba(239, 241, 245, 0.9);
  392. }
  393. </style>
  394. <div style=\"background: #f0f0f2; padding-top: 20px;\">
  395. <div class=\"container\">
  396. <div class=\"row\">
  397. \t<div class=\"col-md-3\">
  398. \t\t";
  399.         // line 270
  400.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Produit\\Service\\ServiceController:menuleft"));
  401.         echo "
  402. \t</div>
  403. \t
  404. \t
  405. \t<div class=\"col-md-9\">
  406. \t\t<div class=\"my-div\">
  407. \t\t<section class=\"testing\" style=\"width: 100%;\">
  408. \t\t   <div class=\"description2 to-expand\">
  409. \t\t\t\t<h2>";
  410.         // line 278
  411.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["souscategorie"]) || array_key_exists("souscategorie"$context) ? $context["souscategorie"] : (function () { throw new RuntimeError('Variable "souscategorie" does not exist.'278$this->source); })()), "nom", [], "any"falsefalsefalse278), "html"nulltrue);
  412.         echo " </h2>
  413. \t\t\t\t<p>
  414. \t\t\t\t\t";
  415.         // line 280
  416.         echo twig_get_attribute($this->env$this->source, (isset($context["souscategorie"]) || array_key_exists("souscategorie"$context) ? $context["souscategorie"] : (function () { throw new RuntimeError('Variable "souscategorie" does not exist.'280$this->source); })()), "description", [], "any"falsefalsefalse280);
  417.         echo "
  418. \t\t\t\t</p>
  419. \t\t   </div>
  420. \t\t</section>
  421. \t\t</div>
  422. \t\t
  423. \t\t<div class=\"my-div\">
  424. \t\t<section class=\"testing\" style=\"width: 100%;\">
  425. \t\t<div class=\"description2 to-expand\">
  426. \t\t<h2 style=\"margin-bottom: 20px;\">Offres de formation</h2>
  427. \t\t\t";
  428.         // line 290
  429.         if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["categorie"]) || array_key_exists("categorie"$context) ? $context["categorie"] : (function () { throw new RuntimeError('Variable "categorie" does not exist.'290$this->source); })()), "typeservice", [], "any"falsefalsefalse290), "diplomante"))) {
  430.             // line 291
  431.             echo "\t\t\t\t\t<ul id=\"timeline\">
  432. \t\t\t\t\t  ";
  433.             // line 292
  434.             $context['_parent'] = $context;
  435.             $context['_seq'] = twig_ensure_traversable((isset($context["liste_produit"]) || array_key_exists("liste_produit"$context) ? $context["liste_produit"] : (function () { throw new RuntimeError('Variable "liste_produit" does not exist.'292$this->source); })()));
  436.             foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
  437.                 // line 293
  438.                 echo "\t\t\t\t\t  <li class=\"timeline-item\">
  439. \t\t\t\t\t\t<div class=\"timeline-icon\"></div>
  440. \t\t\t\t\t\t<div class=\"timeline-body\">
  441. \t\t\t\t\t\t  <div class=\"timeline-lead\">
  442. \t\t\t\t\t\t\t<h3 class=\"timeline-title\"><a href=\"";
  443.                 // line 297
  444.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_detail_produit_market", ["id" => twig_get_attribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse297)]), "html"nulltrue);
  445.                 echo "\">";
  446.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["prod"], "nom", [], "any"falsefalsefalse297), "html"nulltrue);
  447.                 echo "</a></h3>
  448. \t\t\t\t\t\t\t<span class=\"timeline-date\">\${date}</span>
  449. \t\t\t\t\t\t  </div>
  450. \t\t\t\t\t\t  <p class=\"timeline-content\">";
  451.                 // line 300
  452.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["prod"], "contenu", [], "any"falsefalsefalse300), "html"nulltrue);
  453.                 echo "</p>
  454. \t\t\t\t\t\t</div>
  455. \t\t\t\t\t  </li>
  456. \t\t\t\t\t  ";
  457.             }
  458.             $_parent $context['_parent'];
  459.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
  460.             $context array_intersect_key($context$_parent) + $_parent;
  461.             // line 304
  462.             echo "\t\t\t\t\t</ul>
  463. \t\t\t";
  464.         } else {
  465.             // line 306
  466.             echo "\t\t\t  <div class=\"cards row\">
  467. \t\t\t  ";
  468.             // line 307
  469.             $context['_parent'] = $context;
  470.             $context['_seq'] = twig_ensure_traversable((isset($context["liste_produit"]) || array_key_exists("liste_produit"$context) ? $context["liste_produit"] : (function () { throw new RuntimeError('Variable "liste_produit" does not exist.'307$this->source); })()));
  471.             foreach ($context['_seq'] as $context["_key"] => $context["prod"]) {
  472.                 // line 308
  473.                 echo "\t\t\t  <div class=\"col-md-4\">
  474. \t\t\t  
  475. \t\t\t\t<div class=\"card-group\">
  476. \t\t\t\t  <div class=\"card-header\" style=\"background-image: url(";
  477.                 // line 311
  478.                 if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["prod"], "imgproduit", [], "any"falsefalsefalse311), null))) {
  479.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["prod"], "imgproduit", [], "any"falsefalsefalse311), "getwebpath", [], "any"falsefalsefalse311)), "html"nulltrue);
  480.                 } else {
  481.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/present.png"), "html"nulltrue);
  482.                 }
  483.                 echo ");\">
  484. \t\t\t\t\t<h2 class=\"card-title text-left\">
  485. \t\t\t\t\t  <a href=\"";
  486.                 // line 313
  487.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_produit_detail_produit_market", ["id" => twig_get_attribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse313)]), "html"nulltrue);
  488.                 echo "\">";
  489.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["prod"], "nom", [], "any"falsefalsefalse313), "html"nulltrue);
  490.                 echo "</a>
  491. \t\t\t\t\t</h2>
  492. \t\t\t\t  </div>
  493. \t\t\t\t  <div class=\"card-body text-left\">
  494. \t\t\t\t\t<p class=\"sub-text\">";
  495.                 // line 317
  496.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["prod"], "contenu", [], "any"falsefalsefalse317), "html"nulltrue);
  497.                 echo "</p>
  498. \t\t\t\t\t<h4 class=\"mt-0 mb-1\">Caractéristiques</h4>
  499. \t\t\t\t\t<ol class=\"list-episodes\">
  500. \t\t\t\t\t\t";
  501.                 // line 321
  502.                 $context['_parent'] = $context;
  503.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["prod"], "caracteristiqueproduits", [], "any"falsefalsefalse321));
  504.                 foreach ($context['_seq'] as $context["_key"] => $context["carprod"]) {
  505.                     // line 322
  506.                     echo "\t\t\t\t\t\t<li>
  507. \t\t\t\t\t\t\t<div>
  508. \t\t\t\t\t\t\t\t<a href=\"#!\">";
  509.                     // line 324
  510.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["carprod"], "valeur", [], "any"falsefalsefalse324), "html"nulltrue);
  511.                     echo " ";
  512.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["carprod"], "caracteristique", [], "any"falsefalsefalse324), "nom", [], "any"falsefalsefalse324), "html"nulltrue);
  513.                     echo "</a>
  514. \t\t\t\t\t\t\t</div>
  515. \t\t\t\t\t\t</li>
  516. \t\t\t\t\t\t";
  517.                 }
  518.                 $_parent $context['_parent'];
  519.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['carprod'], $context['_parent'], $context['loop']);
  520.                 $context array_intersect_key($context$_parent) + $_parent;
  521.                 // line 328
  522.                 echo "\t\t\t\t\t</ol>
  523. \t\t\t\t  </div>
  524. \t\t\t\t  <a class=\"card-link-footer commande-offer-formation\" value=\"";
  525.                 // line 331
  526.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["prod"], "id", [], "any"falsefalsefalse331), "html"nulltrue);
  527.                 echo "\" name=\"fc\" href=\"#!\"><span class=\"fa fa-hand-pointer-o\"></span> S'inscrire</a>
  528. \t\t\t\t</div>
  529. \t\t\t  </div>
  530. \t\t\t  ";
  531.             }
  532.             $_parent $context['_parent'];
  533.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prod'], $context['_parent'], $context['loop']);
  534.             $context array_intersect_key($context$_parent) + $_parent;
  535.             // line 335
  536.             echo "
  537. \t\t\t</div>
  538. \t\t\t<script type=\"text/javascript\">
  539. \t\t\t\$(document).ready(function(){
  540. \t\t\t  var zindex = 10;
  541. \t\t\t  
  542. \t\t\t  \$(\"div.card\").click(function(e){
  543. \t\t\t\te.preventDefault();
  544. \t\t\t\tvar isShowing = false;
  545. \t\t\t\tif (\$(this).hasClass(\"show\")) {
  546. \t\t\t\t  isShowing = true
  547. \t\t\t\t}
  548. \t\t\t\tif (\$(\"div.cards\").hasClass(\"showing\")) {
  549. \t\t\t\t  // a card is already in view
  550. \t\t\t\t  \$(\"div.card.show\")
  551. \t\t\t\t\t.removeClass(\"show\");
  552. \t\t\t\t  if (isShowing) {
  553. \t\t\t\t\t// this card was showing - reset the grid
  554. \t\t\t\t\t\$(\"div.cards\")
  555. \t\t\t\t\t  .removeClass(\"showing\");
  556. \t\t\t\t  } else {
  557. \t\t\t\t\t// this card isn't showing - get in with it
  558. \t\t\t\t\t\$(this)
  559. \t\t\t\t\t  .css({zIndex: zindex})
  560. \t\t\t\t\t  .addClass(\"show\");
  561. \t\t\t\t  }
  562. \t\t\t\t  zindex++;
  563. \t\t\t\t} else {
  564. \t\t\t\t  // no cards in view
  565. \t\t\t\t  \$(\"div.cards\")
  566. \t\t\t\t\t.addClass(\"showing\");
  567. \t\t\t\t  \$(this)
  568. \t\t\t\t\t.css({zIndex:zindex})
  569. \t\t\t\t\t.addClass(\"show\");
  570. \t\t\t\t  zindex++;
  571. \t\t\t\t}
  572. \t\t\t\t
  573. \t\t\t  });
  574. \t\t\t});
  575. \t\t\t</script>
  576. \t\t  ";
  577.         }
  578.         // line 386
  579.         echo "\t\t  </div>
  580. \t\t</section>
  581. \t\t</div> 
  582. \t</div>
  583. </div>
  584. </div>
  585. </div>
  586. <div style=\"background: #fff;\">
  587. <div class=\"container\">
  588. <div class=\"row\">
  589. \t<div class=\"col-md-12\" style=\"height: 50px;\">
  590. \t\tAvis Utilisateurs
  591. \t</div>
  592. </div>
  593. </div>
  594. </div>
  595. ";
  596.         
  597.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  598.         
  599.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  600.     }
  601.     // line 408
  602.     public function block_javascripttemplate($context, array $blocks = [])
  603.     {
  604.         $macros $this->macros;
  605.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  606.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripttemplate"));
  607.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  608.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripttemplate"));
  609.         // line 409
  610.         echo "
  611. \$('.description2').expandable({
  612. \theight: 600,
  613. \texpand_responsive : 960,
  614. \toffset: 30
  615. });
  616. \$('.accordion-1 > li:eq(0) a').addClass('active').next().slideDown();
  617. \$('.accordion-2 > li:eq(0) a').addClass('active').next().slideDown();
  618. \$('.accordion a.targetlink').click(function(j) {
  619. \tvar dropDown = \$(this).closest('li').find('p');
  620. \t\$(this).closest('.accordion').find('p').not(dropDown).slideUp();
  621. \tif (\$(this).hasClass('active')) {
  622. \t\t\$(this).removeClass('active');
  623. \t} else {
  624. \t\t\$(this).closest('.accordion').find('a.active').removeClass('active');
  625. \t\t\$(this).addClass('active');
  626. \t}
  627. \tdropDown.stop(false, true).slideToggle();
  628. \tj.preventDefault();
  629. });
  630. ";
  631.         
  632.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  633.         
  634.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  635.     }
  636.     public function getTemplateName()
  637.     {
  638.         return "Theme/Produit/Produit/Produit/listeproduituser.html.twig";
  639.     }
  640.     public function isTraitable()
  641.     {
  642.         return false;
  643.     }
  644.     public function getDebugInfo()
  645.     {
  646.         return array (  679 => 409,  669 => 408,  639 => 386,  586 => 335,  576 => 331,  571 => 328,  559 => 324,  555 => 322,  551 => 321,  544 => 317,  535 => 313,  526 => 311,  521 => 308,  517 => 307,  514 => 306,  510 => 304,  500 => 300,  492 => 297,  486 => 293,  482 => 292,  479 => 291,  477 => 290,  464 => 280,  459 => 278,  448 => 270,  251 => 75,  243 => 70,  237 => 69,  230 => 64,  222 => 61,  218 => 60,  211 => 55,  200 => 47,  190 => 40,  186 => 39,  172 => 27,  170 => 26,  161 => 20,  157 => 19,  154 => 18,  144 => 17,  131 => 14,  121 => 13,  106 => 10,  96 => 9,  82 => 6,  77 => 4,  72 => 3,  62 => 2,  39 => 1,);
  647.     }
  648.     public function getSourceContext()
  649.     {
  650.         return new Source("{% extends \"Theme/Users/User/layouthome.html.twig\" %}
  651. {% block meta %}
  652. \t{{ parent() }}
  653. \t<meta name=\"keywords\" content=\"{{ site }}, Business, Innovation,Administration\"/>
  654. \t<meta name=\"author\" content=\"Noel Kenfack\"/>
  655. \t<meta name=\"description\" content=\"{{ categorie.nom }} - {{ categorie.description }}\"/>
  656. {% endblock %}
  657. {% block title %}
  658. \t{{ parent() }} - {{ categorie.nom }}
  659. {% endblock %}
  660. {% block stylesheets %}
  661. \t{{ parent() }}
  662. {% endblock %}
  663. {% block userblog_body %}
  664. <link rel=\"stylesheet\" href=\"{{ asset('template/css/jquery.expandable.css') }}\"/>
  665. <script type=\"text/javascript\" src=\"{{ asset('template/js/jquery.expandable.js') }}\"></script>
  666. <div style=\"background: #f0f0f2;\">
  667. <div class=\"container\">
  668. <div class=\"row\">
  669. \t{% if is_mobile() %}
  670. \t<div class=\"col-md-12\">
  671. \t\t<ol class=\"c-navigation-breadcrumbs__directory\">
  672. \t\t<!-- Duplicating the \"Home\" link in both the global navigation and the breadcrumb trail is not recommended. -->
  673. \t\t<li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  674. \t\t  <a class=\"c-navigation-breadcrumbs__link\" href=\"\" property=\"item\" typeof=\"WebPage\">
  675. \t\t\t<span class=\"u-visually-hidden\" property=\"name\"><span class=\"fa fa-home\"> </span> Accueil</span>
  676. \t\t  </a>
  677. \t\t  <meta property=\"position\" content=\"1\">
  678. \t\t</li>
  679. \t\t<li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  680. \t\t  <a class=\"c-navigation-breadcrumbs__link\" href=\"{{ path('produit_produit_produit_formation_institut', {'id': categorie.id }) }}\" property=\"item\" typeof=\"WebPage\">
  681. \t\t\t<span property=\"name\">{{ categorie.nom }}</span>
  682. \t\t  </a>
  683. \t\t  <meta property=\"position\" content=\"2\">
  684. \t\t</li>
  685. \t\t<li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  686. \t\t  <a class=\"c-navigation-breadcrumbs__link\" href=\"#!\" property=\"item\" aria-current=\"location\">
  687. \t\t\t<span property=\"name\">À propos des {{ categorie.nom }}</span>
  688. \t\t  </a>
  689. \t\t  <meta property=\"position\" content=\"3\">
  690. \t\t</li>
  691. \t\t</ol>
  692. \t</div>
  693. \t{% else %}
  694. \t<div class=\"col-md-12\">
  695. \t<div style=\"padding: 20px 0px;\">
  696. \t\t<div class=\"btn-group\" style=\"float: right; margin-top: -10px;\">
  697. \t\t<button class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\"> Appliquer un filtre <span class=\"fa fa-angle-down\"></span></button>
  698. \t\t<ul class=\"dropdown-menu pull-right\">
  699. \t\t\t{% for i in range(0,4) %}
  700. \t\t\t\t<li><a href=\"\"> formation.nom </a></li>
  701. \t\t\t\t<li class=\"divider\"></li>
  702. \t\t\t{% endfor %}
  703. \t\t</ul>
  704. \t\t</div>
  705. \t\t<ul class=\"breadcrumbs\">
  706. \t\t  <li><a href=\"#\"><span class=\"fa fa-home\"></span> Accueil</a></li>
  707. \t\t  <li><a href=\"{{ path('produit_produit_produit_formation_institut', {'id': categorie.id }) }}\">{{ categorie.nom }}</a></li>
  708. \t\t  <li>À propos des {{ categorie.nom }}</li>
  709. \t\t</ul>
  710. \t</div>
  711. \t</div>
  712. \t{% endif %}
  713. </div>
  714. </div>
  715. </div>
  716. <style>
  717. #timeline {
  718.   list-style: none;
  719.   padding: 0;
  720.   position: relative;
  721.   -moz-box-sizing: border-box;
  722.   -webkit-box-sizing: border-box;
  723.   box-sizing: border-box;
  724. }
  725. #timeline:after {
  726.   border: 4px solid;
  727.   border-radius: 50%;
  728.   border-color: #374A67;
  729.   content: \"\";
  730.   display: block;
  731.   position: absolute;
  732.   left: 17px;
  733. }
  734. .timeline-item {
  735.   border-left: 2px solid #282F44;
  736.   margin: 0 20px;
  737.   padding: 0px 25px 20px 25px;
  738.   position: relative;
  739.   -moz-box-sizing: border-box;
  740.   -webkit-box-sizing: border-box;
  741.   box-sizing: border-box;
  742. }
  743. .timeline-item:before {
  744.   border: 10px solid #374A67;
  745.   border-radius: 50%;
  746.   content: \"\";
  747.   display: block;
  748.   position: absolute;
  749.   left: -11px;
  750.   width: 20px;
  751.   height: 20px;
  752.   -moz-box-sizing: border-box;
  753.   -webkit-box-sizing: border-box;
  754.   box-sizing: border-box;
  755. }
  756. .timeline-body {
  757.   background-color: #fbfbfb;
  758.   padding: 10px 20px;
  759.   position: relative;
  760.   top: -20px;
  761. }
  762. .timeline-lead {
  763.   line-height: 2px;
  764.   padding-bottom: 5px;
  765. }
  766. .timeline-date {
  767.   font-size: .7rem;
  768.   color: #757780;
  769.   letter-spacing: 1px;
  770.   font-weight: 600;
  771.   text-transform: uppercase;
  772. }
  773. .timeline-title{
  774.   color: #374A67;
  775.   letter-spacing: 1px;
  776.   font-weight: 700;
  777. }
  778. .timeline-content {
  779.   color: #070707;
  780. }
  781. .card-group {
  782.   position: relative;
  783.   width: 100%;
  784.   background: white;
  785.   box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.05);
  786.   border-radius: 0.4rem;
  787.   overflow: hidden;
  788.   box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  789.   transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  790. }
  791. .card-group:hover{
  792. box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  793. }
  794. .card-group .card-header {
  795.   display: -webkit-box;
  796.   display: flex;
  797.   -webkit-box-orient: vertical;
  798.   -webkit-box-direction: reverse;
  799.           flex-direction: column-reverse;
  800.   height: 100px;
  801.   background-position: center;
  802.   background-size: cover;
  803.   -webkit-transition: height 0.3s;
  804.   transition: height 0.3s;
  805. }
  806. .card-group .card-header:hover {
  807.   height: 200px;
  808. }
  809. .card-group .card-header:hover + .card-body {
  810.   height: 29px;
  811. }
  812. .card-group .card-header .card-title {
  813.   font-size: 16px;
  814.   color: inherit;
  815.   margin: 0;
  816.   padding: 0.5rem 1rem;
  817.   padding-top: 1.2rem;
  818.   background: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(60%, white));
  819.   background: linear-gradient(transparent, white 60%);
  820. }
  821. .card-group .card-body {
  822.   height: 150px;
  823.   overflow: hidden;
  824.   padding: 0 1rem;
  825.   -webkit-transition: 0.3s;
  826.   transition: 0.3s;
  827. }
  828. .card-group .card-body .sub-text {
  829.   font-size: 0.9rem;
  830.   color: #646b75;
  831. }
  832. .card-group .card-link-footer {
  833.   display: block;
  834.   padding: 1rem;
  835.   font-weight: bold;
  836.   color: #d96c0f;
  837.   text-align: center;
  838.   text-decoration: none;
  839.   -webkit-transition: 0.2s;
  840.   transition: 0.2s;
  841. }
  842. .card-group .card-link-footer:hover {
  843.   color: white;
  844.   box-shadow: inset 0 -56px 0 #23445e;
  845.   -webkit-transition: 0.2s;
  846.   transition: 0.2s;
  847. }
  848. .mt-0 {
  849.   margin-top: 0;
  850. }
  851. .mb-1 {
  852.   margin-bottom: 0.4rem;
  853. }
  854. .list-episodes {
  855.   list-style: none;
  856.   padding-left: 0;
  857.   margin: 0 -1rem;
  858.   color: #646b75;
  859. }
  860. .list-episodes li {
  861.   padding-left: 0.6rem;
  862. }
  863. .list-episodes li a {
  864.   display: block;
  865.   text-decoration: none;
  866.   color: inherit;
  867.   padding: 0.4rem 1rem;
  868.   padding-left: 0.4rem;
  869.   -webkit-transition: -webkit-transform 0.1s;
  870.   transition: -webkit-transform 0.1s;
  871.   transition: transform 0.1s;
  872.   transition: transform 0.1s, -webkit-transform 0.1s;
  873. }
  874. .list-episodes li a:hover {
  875.   -webkit-transform: translateX(4px);
  876.           transform: translateX(4px);
  877.   -webkit-transition: -webkit-transform 0.1s;
  878.   transition: -webkit-transform 0.1s;
  879.   transition: transform 0.1s;
  880.   transition: transform 0.1s, -webkit-transform 0.1s;
  881. }
  882. .list-episodes li a b {
  883.   font-size: 0.8rem;
  884.   margin-right: 4px;
  885. }
  886. .list-episodes li:nth-child(even) div {
  887.   border-radius: 4px 0 0 4px;
  888.   background: rgba(239, 241, 245, 0.9);
  889. }
  890. </style>
  891. <div style=\"background: #f0f0f2; padding-top: 20px;\">
  892. <div class=\"container\">
  893. <div class=\"row\">
  894. \t<div class=\"col-md-3\">
  895. \t\t{{ render(controller(\"App\\\\Controller\\\\Produit\\\\Service\\\\ServiceController:menuleft\")) }}
  896. \t</div>
  897. \t
  898. \t
  899. \t<div class=\"col-md-9\">
  900. \t\t<div class=\"my-div\">
  901. \t\t<section class=\"testing\" style=\"width: 100%;\">
  902. \t\t   <div class=\"description2 to-expand\">
  903. \t\t\t\t<h2>{{ souscategorie.nom }} </h2>
  904. \t\t\t\t<p>
  905. \t\t\t\t\t{{ souscategorie.description|raw }}
  906. \t\t\t\t</p>
  907. \t\t   </div>
  908. \t\t</section>
  909. \t\t</div>
  910. \t\t
  911. \t\t<div class=\"my-div\">
  912. \t\t<section class=\"testing\" style=\"width: 100%;\">
  913. \t\t<div class=\"description2 to-expand\">
  914. \t\t<h2 style=\"margin-bottom: 20px;\">Offres de formation</h2>
  915. \t\t\t{% if categorie.typeservice == 'diplomante' %}
  916. \t\t\t\t\t<ul id=\"timeline\">
  917. \t\t\t\t\t  {% for prod in liste_produit %}
  918. \t\t\t\t\t  <li class=\"timeline-item\">
  919. \t\t\t\t\t\t<div class=\"timeline-icon\"></div>
  920. \t\t\t\t\t\t<div class=\"timeline-body\">
  921. \t\t\t\t\t\t  <div class=\"timeline-lead\">
  922. \t\t\t\t\t\t\t<h3 class=\"timeline-title\"><a href=\"{{ path('produit_produit_detail_produit_market', {'id': prod.id}) }}\">{{ prod.nom }}</a></h3>
  923. \t\t\t\t\t\t\t<span class=\"timeline-date\">\${date}</span>
  924. \t\t\t\t\t\t  </div>
  925. \t\t\t\t\t\t  <p class=\"timeline-content\">{{ prod.contenu }}</p>
  926. \t\t\t\t\t\t</div>
  927. \t\t\t\t\t  </li>
  928. \t\t\t\t\t  {% endfor %}
  929. \t\t\t\t\t</ul>
  930. \t\t\t{% else %}
  931. \t\t\t  <div class=\"cards row\">
  932. \t\t\t  {% for prod in liste_produit %}
  933. \t\t\t  <div class=\"col-md-4\">
  934. \t\t\t  
  935. \t\t\t\t<div class=\"card-group\">
  936. \t\t\t\t  <div class=\"card-header\" style=\"background-image: url({% if prod.imgproduit != null %}{{ asset(prod.imgproduit.getwebpath) }}{% else %}{{ asset('template/images/present.png') }}{% endif %});\">
  937. \t\t\t\t\t<h2 class=\"card-title text-left\">
  938. \t\t\t\t\t  <a href=\"{{ path('produit_produit_detail_produit_market', {'id': prod.id}) }}\">{{ prod.nom }}</a>
  939. \t\t\t\t\t</h2>
  940. \t\t\t\t  </div>
  941. \t\t\t\t  <div class=\"card-body text-left\">
  942. \t\t\t\t\t<p class=\"sub-text\">{{ prod.contenu }}</p>
  943. \t\t\t\t\t<h4 class=\"mt-0 mb-1\">Caractéristiques</h4>
  944. \t\t\t\t\t<ol class=\"list-episodes\">
  945. \t\t\t\t\t\t{% for carprod in prod.caracteristiqueproduits %}
  946. \t\t\t\t\t\t<li>
  947. \t\t\t\t\t\t\t<div>
  948. \t\t\t\t\t\t\t\t<a href=\"#!\">{{ carprod.valeur }} {{ carprod.caracteristique.nom }}</a>
  949. \t\t\t\t\t\t\t</div>
  950. \t\t\t\t\t\t</li>
  951. \t\t\t\t\t\t{% endfor %}
  952. \t\t\t\t\t</ol>
  953. \t\t\t\t  </div>
  954. \t\t\t\t  <a class=\"card-link-footer commande-offer-formation\" value=\"{{ prod.id }}\" name=\"fc\" href=\"#!\"><span class=\"fa fa-hand-pointer-o\"></span> S'inscrire</a>
  955. \t\t\t\t</div>
  956. \t\t\t  </div>
  957. \t\t\t  {% endfor %}
  958. \t\t\t</div>
  959. \t\t\t<script type=\"text/javascript\">
  960. \t\t\t\$(document).ready(function(){
  961. \t\t\t  var zindex = 10;
  962. \t\t\t  
  963. \t\t\t  \$(\"div.card\").click(function(e){
  964. \t\t\t\te.preventDefault();
  965. \t\t\t\tvar isShowing = false;
  966. \t\t\t\tif (\$(this).hasClass(\"show\")) {
  967. \t\t\t\t  isShowing = true
  968. \t\t\t\t}
  969. \t\t\t\tif (\$(\"div.cards\").hasClass(\"showing\")) {
  970. \t\t\t\t  // a card is already in view
  971. \t\t\t\t  \$(\"div.card.show\")
  972. \t\t\t\t\t.removeClass(\"show\");
  973. \t\t\t\t  if (isShowing) {
  974. \t\t\t\t\t// this card was showing - reset the grid
  975. \t\t\t\t\t\$(\"div.cards\")
  976. \t\t\t\t\t  .removeClass(\"showing\");
  977. \t\t\t\t  } else {
  978. \t\t\t\t\t// this card isn't showing - get in with it
  979. \t\t\t\t\t\$(this)
  980. \t\t\t\t\t  .css({zIndex: zindex})
  981. \t\t\t\t\t  .addClass(\"show\");
  982. \t\t\t\t  }
  983. \t\t\t\t  zindex++;
  984. \t\t\t\t} else {
  985. \t\t\t\t  // no cards in view
  986. \t\t\t\t  \$(\"div.cards\")
  987. \t\t\t\t\t.addClass(\"showing\");
  988. \t\t\t\t  \$(this)
  989. \t\t\t\t\t.css({zIndex:zindex})
  990. \t\t\t\t\t.addClass(\"show\");
  991. \t\t\t\t  zindex++;
  992. \t\t\t\t}
  993. \t\t\t\t
  994. \t\t\t  });
  995. \t\t\t});
  996. \t\t\t</script>
  997. \t\t  {% endif %}
  998. \t\t  </div>
  999. \t\t</section>
  1000. \t\t</div> 
  1001. \t</div>
  1002. </div>
  1003. </div>
  1004. </div>
  1005. <div style=\"background: #fff;\">
  1006. <div class=\"container\">
  1007. <div class=\"row\">
  1008. \t<div class=\"col-md-12\" style=\"height: 50px;\">
  1009. \t\tAvis Utilisateurs
  1010. \t</div>
  1011. </div>
  1012. </div>
  1013. </div>
  1014. {% endblock %}
  1015. {% block javascripttemplate %}
  1016. \$('.description2').expandable({
  1017. \theight: 600,
  1018. \texpand_responsive : 960,
  1019. \toffset: 30
  1020. });
  1021. \$('.accordion-1 > li:eq(0) a').addClass('active').next().slideDown();
  1022. \$('.accordion-2 > li:eq(0) a').addClass('active').next().slideDown();
  1023. \$('.accordion a.targetlink').click(function(j) {
  1024. \tvar dropDown = \$(this).closest('li').find('p');
  1025. \t\$(this).closest('.accordion').find('p').not(dropDown).slideUp();
  1026. \tif (\$(this).hasClass('active')) {
  1027. \t\t\$(this).removeClass('active');
  1028. \t} else {
  1029. \t\t\$(this).closest('.accordion').find('a.active').removeClass('active');
  1030. \t\t\$(this).addClass('active');
  1031. \t}
  1032. \tdropDown.stop(false, true).slideToggle();
  1033. \tj.preventDefault();
  1034. });
  1035. {% endblock %}""Theme/Produit/Produit/Produit/listeproduituser.html.twig""/home/azcorp-institut/public_html/iaz/templates/Theme/Produit/Produit/Produit/listeproduituser.html.twig");
  1036.     }
  1037. }