var/cache/dev/twig/46/46c4bbb0025b977dab218af4e22b4d56.php line 305

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. /* base.html.twig */
  14. class __TwigTemplate_af7a01fab8a20f337c6b586c58eeb818 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->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'content' => [$this'block_content'],
  27.             'container' => [$this'block_container'],
  28.             'scripts' => [$this'block_scripts'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  38.         // line 2
  39.         echo "<!DOCTYPE html>
  40. <html>
  41. <head>
  42.     <!--Import Google Icon Font-->
  43.     <link rel=\"icon\" type=\"image/png\" alt=\"Lune\" href=\"assets/images/logo_lune.ico\"/>
  44.     <title>";
  45.         // line 7
  46.         $this->displayBlock('title'$context$blocks);
  47.         echo "</title>
  48.     <!--Let browser know website is optimized for mobile-->
  49.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
  50.     <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />
  51.     ";
  52.         // line 11
  53.         $this->displayBlock('stylesheets'$context$blocks);
  54.         // line 14
  55.         echo "</head>
  56. <body>
  57.     <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  58.         // line 16
  59.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  60.         echo "\">
  61.     <div class=\"cookies\">
  62.         <div class=\"cookies-content\">
  63.             <div class=\"cookies-text\">
  64.                 <p>En poursuivant votre navigation sur ce site, vous acceptez l’utilisation de cookies pour vous proposer des contenus et services adaptés à vos centres d’intérêts. <a href=\"/PolitiqueConf\">En savoir plus</a></p>
  65.             </div>
  66.             <div class=\"cookies-button\">
  67.                 <button class=\"cookies-accept\" onclick=\"acceptCookies();\">Accepter</button>
  68.                 <button class=\"cookies-refuse\">Refuser</button>
  69.             </div>
  70.         </div>
  71.     </div>
  72.     <div class=\"Banniere\">
  73.         
  74.         <div class=\"logo\">
  75.             <a href=\"";
  76.         // line 31
  77.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  78.         echo "\">
  79.                 <img class=\"img_log\" src=\"";
  80.         // line 32
  81.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/LOGO_SB_deepBlue.png"), "html"nulltrue);
  82.         echo "\"/>
  83.             </a>
  84.         </div>
  85.         <div class= \"item-menu\">
  86.             ";
  87.         // line 36
  88.         $context["k"] = 0;
  89.         // line 37
  90.         echo "            ";
  91.         $context['_parent'] = $context;
  92.         $context['_seq'] = twig_ensure_traversable((isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'37$this->source); })()));
  93.         foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
  94.             // line 38
  95.             echo "                ";
  96.             $context["k"] = ((isset($context["k"]) || array_key_exists("k"$context) ? $context["k"] : (function () { throw new RuntimeError('Variable "k" does not exist.'38$this->source); })()) + 1);
  97.             // line 39
  98.             echo "            ";
  99.         }
  100.         $_parent $context['_parent'];
  101.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
  102.         $context array_intersect_key($context$_parent) + $_parent;
  103.         // line 40
  104.         echo "            ";
  105.         if (((isset($context["k"]) || array_key_exists("k"$context) ? $context["k"] : (function () { throw new RuntimeError('Variable "k" does not exist.'40$this->source); })()) > 0)) {
  106.             // line 41
  107.             echo "                <button class=\"item-1\" id=\"categories2\">
  108.                     ";
  109.             // line 42
  110.             $context["i"] = 0;
  111.             // line 43
  112.             echo "                    ";
  113.             $context['_parent'] = $context;
  114.             $context['_seq'] = twig_ensure_traversable((isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'43$this->source); })()));
  115.             foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
  116.                 // line 44
  117.                 echo "                        ";
  118.                 $context["i"] = ((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'44$this->source); })()) + 1);
  119.                 // line 45
  120.                 echo "                    ";
  121.             }
  122.             $_parent $context['_parent'];
  123.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
  124.             $context array_intersect_key($context$_parent) + $_parent;
  125.             // line 46
  126.             echo "                    <div class=\"openMenu2\" id=\"";
  127.             echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'46$this->source); })()), "html"nulltrue);
  128.             echo "\">
  129.                         Catégories
  130.                     </div>
  131.                     
  132.                     ";
  133.             // line 50
  134.             $context["i"] = 0;
  135.             // line 51
  136.             echo "                    ";
  137.             $context["j"] = 0;
  138.             // line 52
  139.             echo "                    <div id=\"topBar2\">
  140.                         <div id=\"SelectionCat\">
  141.                             ";
  142.             // line 54
  143.             $context['_parent'] = $context;
  144.             $context['_seq'] = twig_ensure_traversable((isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'54$this->source); })()));
  145.             foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
  146.                 // line 55
  147.                 echo "                                ";
  148.                 $context["i"] = ((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'55$this->source); })()) + 1);
  149.                 // line 56
  150.                 echo "                                <li class=\"listCat\" id=\"";
  151.                 echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'56$this->source); })()), "html"nulltrue);
  152.                 echo "\"><a id=\"";
  153.                 echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'56$this->source); })()), "html"nulltrue);
  154.                 echo "\" href=\"#\">";
  155.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cat"], "title", [], "any"falsefalsefalse56), "html"nulltrue);
  156.                 echo "</a></li>
  157.                             ";
  158.             }
  159.             $_parent $context['_parent'];
  160.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
  161.             $context array_intersect_key($context$_parent) + $_parent;
  162.             // line 58
  163.             echo "                            ";
  164.             $context["i"] = 0;
  165.             // line 59
  166.             echo "                        </div>
  167.                         <div id=\"SelectionSousCat\">
  168.                             ";
  169.             // line 61
  170.             $context['_parent'] = $context;
  171.             $context['_seq'] = twig_ensure_traversable((isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'61$this->source); })()));
  172.             foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
  173.                 // line 62
  174.                 echo "                            ";
  175.                 $context["i"] = ((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'62$this->source); })()) + 1);
  176.                 // line 63
  177.                 echo "                            ";
  178.                 $context["j"] = 0;
  179.                 // line 64
  180.                 echo "                            <div id=\"affichageSousCat";
  181.                 echo twig_escape_filter($this->env, (isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'64$this->source); })()), "html"nulltrue);
  182.                 echo "\">
  183.                                 <dl class=\"subMenu2\">
  184.                                     ";
  185.                 // line 66
  186.                 $context['_parent'] = $context;
  187.                 $context['_seq'] = twig_ensure_traversable((isset($context["sousCategory"]) || array_key_exists("sousCategory"$context) ? $context["sousCategory"] : (function () { throw new RuntimeError('Variable "sousCategory" does not exist.'66$this->source); })()));
  188.                 foreach ($context['_seq'] as $context["_key"] => $context["Souscat"]) {
  189.                     // line 67
  190.                     echo "                                        ";
  191.                     if ((twig_get_attribute($this->env$this->source$context["Souscat"], "category", [], "any"falsefalsefalse67) == $context["cat"])) {
  192.                         // line 68
  193.                         echo "                                            ";
  194.                         $context["j"] = ((isset($context["j"]) || array_key_exists("j"$context) ? $context["j"] : (function () { throw new RuntimeError('Variable "j" does not exist.'68$this->source); })()) + 1);
  195.                         // line 69
  196.                         echo "                                            <dt class=\"listSousCat\"><a href=\"";
  197.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("search");
  198.                         echo "?q=";
  199.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Souscat"], "title", [], "any"falsefalsefalse69), "html"nulltrue);
  200.                         echo "\">";
  201.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Souscat"], "title", [], "any"falsefalsefalse69), "html"nulltrue);
  202.                         echo "</a></dt>
  203.                                         ";
  204.                     }
  205.                     // line 71
  206.                     echo "                                    ";
  207.                 }
  208.                 $_parent $context['_parent'];
  209.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Souscat'], $context['_parent'], $context['loop']);
  210.                 $context array_intersect_key($context$_parent) + $_parent;
  211.                 // line 72
  212.                 echo "                                </dl>
  213.                             </div>
  214.                             ";
  215.             }
  216.             $_parent $context['_parent'];
  217.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
  218.             $context array_intersect_key($context$_parent) + $_parent;
  219.             // line 75
  220.             echo "                        </div>
  221.                     </div>
  222.                 </button>
  223.             ";
  224.         } else {
  225.             // line 79
  226.             echo "                    <button class=\"item-1\">Aucune Catégorie </button>
  227.             ";
  228.         }
  229.         // line 81
  230.         echo "
  231.             <button class=\"item-1\" onclick=\"window.location.href = '";
  232.         // line 82
  233.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("Contributeurs");
  234.         echo "';\">Les partenaires</button>
  235.             <button class=\"item-1\" onclick=\"window.location.href = '";
  236.         // line 83
  237.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ticket");
  238.         echo "';\">Aide</button>
  239.             ";
  240.         // line 85
  241.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'85$this->source); })()), "user", [], "any"falsefalsefalse85)) {
  242.             // line 86
  243.             echo "                <button class=\"item-1\" onclick=\"window.location.href = '";
  244.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user");
  245.             echo "';\">Mon profil</button>
  246.                 <button class=\"item-1\" onclick=\"window.location.href = '";
  247.             // line 87
  248.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("favorite");
  249.             echo "';\">Mes favoris</button>
  250.                 ";
  251.             // line 88
  252.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MODERATOR")) {
  253.                 // line 89
  254.                 echo "                    <button class=\"item-1\" onclick=\"window.location.href = '";
  255.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_accueil_admin");
  256.                 echo "';\">Administration</button>
  257.                 ";
  258.             }
  259.             // line 91
  260.             echo "                <button class=\"lout item-1_btn Btn_primary\" onclick=\"window.location.href = '";
  261.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  262.             echo "';\">Se déconnecter</button>
  263.             ";
  264.         } else {
  265.             // line 93
  266.             echo "                <button class=\"item-1_btn Btn_primary\" onclick=\"window.location.href = '";
  267.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  268.             echo "';\">Se connecter</button>
  269.             ";
  270.         }
  271.         // line 95
  272.         echo "        </div>
  273.     </div>
  274.     ";
  275.         // line 100
  276.         echo "    ";
  277.         $context['_parent'] = $context;
  278.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'100$this->source); })()), "flashes", ["notification"], "method"falsefalsefalse100));
  279.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  280.             // line 101
  281.             echo "        <div id=\"notification\">
  282.             ";
  283.             // line 102
  284.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  285.             echo "
  286.         </div>
  287.     ";
  288.         }
  289.         $_parent $context['_parent'];
  290.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  291.         $context array_intersect_key($context$_parent) + $_parent;
  292.         // line 105
  293.         $this->displayBlock('content'$context$blocks);
  294.         // line 107
  295.         echo "
  296. ";
  297.         // line 108
  298.         $this->displayBlock('container'$context$blocks);
  299.         // line 138
  300.         echo "
  301. ";
  302.         // line 139
  303.         $this->displayBlock('scripts'$context$blocks);
  304.         // line 187
  305.         echo 
  306. </body>
  307. </html>";
  308.         
  309.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  310.         
  311.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  312.     }
  313.     // line 7
  314.     public function block_title($context, array $blocks = [])
  315.     {
  316.         $macros $this->macros;
  317.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  318.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  319.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  320.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  321.         echo "Lune";
  322.         
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  324.         
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  326.     }
  327.     // line 11
  328.     public function block_stylesheets($context, array $blocks = [])
  329.     {
  330.         $macros $this->macros;
  331.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  332.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  333.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  334.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  335.         // line 12
  336.         echo "            ";
  337.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  338.         echo ">
  339.     ";
  340.         
  341.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  342.         
  343.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  344.     }
  345.     // line 105
  346.     public function block_content($context, array $blocks = [])
  347.     {
  348.         $macros $this->macros;
  349.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  350.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  351.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  352.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  353.         
  354.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  355.         
  356.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  357.     }
  358.     // line 108
  359.     public function block_container($context, array $blocks = [])
  360.     {
  361.         $macros $this->macros;
  362.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  363.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""container"));
  364.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  365.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""container"));
  366.         // line 109
  367.         echo "        ";
  368.         // line 114
  369.         echo "
  370.     <div id = \"questionContainer\" class=\"popQuestion container_hidden\">
  371.       <div id = \"verif_form\" class=\"modal-dialog\" role=\"document\">
  372.         <div class=\"modal-content rounded-4 shadow\">
  373.           <div class=\"modal-body p-4 text-center\">
  374.             <h5 id = \"question\" class=\"mb-0\">Question</h5>
  375.             <p id = \"questionDetail\" class=\"mb-0\">Détails</p>
  376.           </div>
  377.           <div class=\"modal-footer flex-nowrap p-0\">
  378.             <button id= \"choix-1\" type=\"button\" class=\"btn btn-lg btn-link fs-6 text-decoration-none col-6 m-0 rounded-0 border-right\"><strong>Choix 1</strong></button>
  379.             <button id = \"choix-2\" type=\"button\" class=\"btn btn-lg btn-link fs-6 text-decoration-none col-6 m-0 rounded-0\" data-bs-dismiss=\"modal\">Choix 2</button>
  380.           </div>
  381.         </div>
  382.       </div>
  383.        
  384.     </div>
  385.     <script type=\"module\">
  386.         import affichage from \"/assets/js/affichage.js\";
  387.         affichage.init();
  388.     </script>
  389. ";
  390.         
  391.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  392.         
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  394.     }
  395.     // line 139
  396.     public function block_scripts($context, array $blocks = [])
  397.     {
  398.         $macros $this->macros;
  399.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  400.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  401.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  402.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  403.         // line 140
  404.         echo "    <script src=\"/assets/js/bootstrap.bundle.js\"></script>
  405.     <script
  406.             src=\"https://code.jquery.com/jquery-3.3.1.min.js\"
  407.             integrity=\"sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=\"
  408.             crossorigin=\"anonymous\"></script>
  409.     <!--JavaScript at end of body for optimized loading-->
  410.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js\"></script>
  411.     <script>
  412.         \$(document).ready(function(){
  413.             // \$('.parallax').parallax();
  414.             \$('.sidenav').sidenav();
  415.             //\$('select').formSelect();
  416.         });
  417.         \$('#notification').delay(5000).hide(500)
  418.         function imgError(image){
  419.             image.onerror = \"\";
  420.             image.src = \"https://images.pexels.com/photos/276452/pexels-photo-276452.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\";
  421.             return true;
  422.         }  
  423.     </script>
  424.     
  425.     <script type=\"module\">
  426.         import home from \"/assets/js/home.js\";
  427.         home.init();
  428.     </script>
  429.     <script type=\"module\">
  430.         import gestionIndicateur from \"/assets/js/gestion_indicateurs.js\";
  431.         gestionIndicateur.initialisation();
  432.     </script>
  433.     <script>
  434.         function acceptCookies(){
  435.             document.cookie += \"acceptCookies=true;\";
  436.             document.getElementsByClassName(\"cookies\")[0].style.display = \"none\";
  437.         }
  438.         //\$(document).ready(function(){
  439.             if(document.cookie.indexOf(\"acceptCookies=true\") != -1){
  440.                 document.getElementsByClassName(\"cookies\")[0].style.display = \"none\";
  441.             }
  442.         //});
  443.     </script>
  444.     
  445. ";
  446.         
  447.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  448.         
  449.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  450.     }
  451.     /**
  452.      * @codeCoverageIgnore
  453.      */
  454.     public function getTemplateName()
  455.     {
  456.         return "base.html.twig";
  457.     }
  458.     /**
  459.      * @codeCoverageIgnore
  460.      */
  461.     public function isTraitable()
  462.     {
  463.         return false;
  464.     }
  465.     /**
  466.      * @codeCoverageIgnore
  467.      */
  468.     public function getDebugInfo()
  469.     {
  470.         return array (  444 => 140,  434 => 139,  401 => 114,  399 => 109,  389 => 108,  371 => 105,  358 => 12,  348 => 11,  329 => 7,  317 => 187,  315 => 139,  312 => 138,  310 => 108,  307 => 107,  305 => 105,  296 => 102,  293 => 101,  288 => 100,  282 => 95,  276 => 93,  270 => 91,  264 => 89,  262 => 88,  258 => 87,  253 => 86,  251 => 85,  246 => 83,  242 => 82,  239 => 81,  235 => 79,  229 => 75,  221 => 72,  215 => 71,  205 => 69,  202 => 68,  199 => 67,  195 => 66,  189 => 64,  186 => 63,  183 => 62,  179 => 61,  175 => 59,  172 => 58,  159 => 56,  156 => 55,  152 => 54,  148 => 52,  145 => 51,  143 => 50,  135 => 46,  129 => 45,  126 => 44,  121 => 43,  119 => 42,  116 => 41,  113 => 40,  107 => 39,  104 => 38,  99 => 37,  97 => 36,  90 => 32,  86 => 31,  68 => 16,  64 => 14,  62 => 11,  55 => 7,  48 => 2,);
  471.     }
  472.     public function getSourceContext()
  473.     {
  474.         return new Source("{# templates/base.html.twig #}
  475. <!DOCTYPE html>
  476. <html>
  477. <head>
  478.     <!--Import Google Icon Font-->
  479.     <link rel=\"icon\" type=\"image/png\" alt=\"Lune\" href=\"assets/images/logo_lune.ico\"/>
  480.     <title>{% block title %}Lune{% endblock %}</title>
  481.     <!--Let browser know website is optimized for mobile-->
  482.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
  483.     <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />
  484.     {% block stylesheets %}
  485.             {{ encore_entry_link_tags('app') }}>
  486.     {% endblock %}
  487. </head>
  488. <body>
  489.     <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  490.     <div class=\"cookies\">
  491.         <div class=\"cookies-content\">
  492.             <div class=\"cookies-text\">
  493.                 <p>En poursuivant votre navigation sur ce site, vous acceptez l’utilisation de cookies pour vous proposer des contenus et services adaptés à vos centres d’intérêts. <a href=\"/PolitiqueConf\">En savoir plus</a></p>
  494.             </div>
  495.             <div class=\"cookies-button\">
  496.                 <button class=\"cookies-accept\" onclick=\"acceptCookies();\">Accepter</button>
  497.                 <button class=\"cookies-refuse\">Refuser</button>
  498.             </div>
  499.         </div>
  500.     </div>
  501.     <div class=\"Banniere\">
  502.         
  503.         <div class=\"logo\">
  504.             <a href=\"{{ path('home') }}\">
  505.                 <img class=\"img_log\" src=\"{{ asset('build/images/LOGO_SB_deepBlue.png') }}\"/>
  506.             </a>
  507.         </div>
  508.         <div class= \"item-menu\">
  509.             {% set k = 0 %}
  510.             {% for cat in category %}
  511.                 {% set k = k + 1 %}
  512.             {% endfor %}
  513.             {% if k > 0 %}
  514.                 <button class=\"item-1\" id=\"categories2\">
  515.                     {% set i = 0 %}
  516.                     {% for cat in category %}
  517.                         {% set i = i+1 %}
  518.                     {% endfor %}
  519.                     <div class=\"openMenu2\" id=\"{{i}}\">
  520.                         Catégories
  521.                     </div>
  522.                     
  523.                     {% set i = 0 %}
  524.                     {% set j = 0 %}
  525.                     <div id=\"topBar2\">
  526.                         <div id=\"SelectionCat\">
  527.                             {% for cat in category %}
  528.                                 {% set i = i+1 %}
  529.                                 <li class=\"listCat\" id=\"{{i}}\"><a id=\"{{i}}\" href=\"#\">{{cat.title}}</a></li>
  530.                             {% endfor %}
  531.                             {% set i = 0 %}
  532.                         </div>
  533.                         <div id=\"SelectionSousCat\">
  534.                             {% for cat in category %}
  535.                             {% set i = i+1 %}
  536.                             {% set j = 0 %}
  537.                             <div id=\"affichageSousCat{{i}}\">
  538.                                 <dl class=\"subMenu2\">
  539.                                     {% for Souscat in sousCategory %}
  540.                                         {% if Souscat.category == cat %}
  541.                                             {% set j = j+1 %}
  542.                                             <dt class=\"listSousCat\"><a href=\"{{ path('search') }}?q={{Souscat.title}}\">{{Souscat.title}}</a></dt>
  543.                                         {% endif %}
  544.                                     {% endfor %}
  545.                                 </dl>
  546.                             </div>
  547.                             {% endfor %}
  548.                         </div>
  549.                     </div>
  550.                 </button>
  551.             {% else %}
  552.                     <button class=\"item-1\">Aucune Catégorie </button>
  553.             {% endif %}
  554.             <button class=\"item-1\" onclick=\"window.location.href = '{{ path('Contributeurs') }}';\">Les partenaires</button>
  555.             <button class=\"item-1\" onclick=\"window.location.href = '{{path('ticket')}}';\">Aide</button>
  556.             {% if app.user %}
  557.                 <button class=\"item-1\" onclick=\"window.location.href = '{{path('user')}}';\">Mon profil</button>
  558.                 <button class=\"item-1\" onclick=\"window.location.href = '{{path('favorite')}}';\">Mes favoris</button>
  559.                 {% if is_granted(\"ROLE_MODERATOR\") %}
  560.                     <button class=\"item-1\" onclick=\"window.location.href = '{{ path('admin_accueil_admin') }}';\">Administration</button>
  561.                 {% endif %}
  562.                 <button class=\"lout item-1_btn Btn_primary\" onclick=\"window.location.href = '{{path('app_logout')}}';\">Se déconnecter</button>
  563.             {% else %}
  564.                 <button class=\"item-1_btn Btn_primary\" onclick=\"window.location.href = '{{path('app_login')}}';\">Se connecter</button>
  565.             {% endif %}
  566.         </div>
  567.     </div>
  568.     {# <div id=\"notification\">test</div> #}
  569.     {% for message in app.flashes('notification') %}
  570.         <div id=\"notification\">
  571.             {{ message }}
  572.         </div>
  573.     {% endfor %}
  574. {% block content %}
  575. {% endblock %}
  576. {% block container %}
  577.         {# Permet l'affichage des détails d'un seul article
  578.     <div id = \"articleBoxContainer\" class=\"pop_article container_hidden\">
  579.        
  580.     </div> #}
  581.     <div id = \"questionContainer\" class=\"popQuestion container_hidden\">
  582.       <div id = \"verif_form\" class=\"modal-dialog\" role=\"document\">
  583.         <div class=\"modal-content rounded-4 shadow\">
  584.           <div class=\"modal-body p-4 text-center\">
  585.             <h5 id = \"question\" class=\"mb-0\">Question</h5>
  586.             <p id = \"questionDetail\" class=\"mb-0\">Détails</p>
  587.           </div>
  588.           <div class=\"modal-footer flex-nowrap p-0\">
  589.             <button id= \"choix-1\" type=\"button\" class=\"btn btn-lg btn-link fs-6 text-decoration-none col-6 m-0 rounded-0 border-right\"><strong>Choix 1</strong></button>
  590.             <button id = \"choix-2\" type=\"button\" class=\"btn btn-lg btn-link fs-6 text-decoration-none col-6 m-0 rounded-0\" data-bs-dismiss=\"modal\">Choix 2</button>
  591.           </div>
  592.         </div>
  593.       </div>
  594.        
  595.     </div>
  596.     <script type=\"module\">
  597.         import affichage from \"/assets/js/affichage.js\";
  598.         affichage.init();
  599.     </script>
  600. {% endblock %}
  601. {% block scripts %}
  602.     <script src=\"/assets/js/bootstrap.bundle.js\"></script>
  603.     <script
  604.             src=\"https://code.jquery.com/jquery-3.3.1.min.js\"
  605.             integrity=\"sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=\"
  606.             crossorigin=\"anonymous\"></script>
  607.     <!--JavaScript at end of body for optimized loading-->
  608.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js\"></script>
  609.     <script>
  610.         \$(document).ready(function(){
  611.             // \$('.parallax').parallax();
  612.             \$('.sidenav').sidenav();
  613.             //\$('select').formSelect();
  614.         });
  615.         \$('#notification').delay(5000).hide(500)
  616.         function imgError(image){
  617.             image.onerror = \"\";
  618.             image.src = \"https://images.pexels.com/photos/276452/pexels-photo-276452.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\";
  619.             return true;
  620.         }  
  621.     </script>
  622.     
  623.     <script type=\"module\">
  624.         import home from \"/assets/js/home.js\";
  625.         home.init();
  626.     </script>
  627.     <script type=\"module\">
  628.         import gestionIndicateur from \"/assets/js/gestion_indicateurs.js\";
  629.         gestionIndicateur.initialisation();
  630.     </script>
  631.     <script>
  632.         function acceptCookies(){
  633.             document.cookie += \"acceptCookies=true;\";
  634.             document.getElementsByClassName(\"cookies\")[0].style.display = \"none\";
  635.         }
  636.         //\$(document).ready(function(){
  637.             if(document.cookie.indexOf(\"acceptCookies=true\") != -1){
  638.                 document.getElementsByClassName(\"cookies\")[0].style.display = \"none\";
  639.             }
  640.         //});
  641.     </script>
  642.     
  643. {% endblock %} 
  644. </body>
  645. </html>""base.html.twig""/var/www/dev.portail-lune.fr/PortailLune/templates/base.html.twig");
  646.     }
  647. }