<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* base.html.twig */
class __TwigTemplate_af7a01fab8a20f337c6b586c58eeb818 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'content' => [$this, 'block_content'],
'container' => [$this, 'block_container'],
'scripts' => [$this, 'block_scripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 2
echo "<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link rel=\"icon\" type=\"image/png\" alt=\"Lune\" href=\"assets/images/logo_lune.ico\"/>
<title>";
// line 7
$this->displayBlock('title', $context, $blocks);
echo "</title>
<!--Let browser know website is optimized for mobile-->
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />
";
// line 11
$this->displayBlock('stylesheets', $context, $blocks);
// line 14
echo "</head>
<body>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 16
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
<div class=\"cookies\">
<div class=\"cookies-content\">
<div class=\"cookies-text\">
<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>
</div>
<div class=\"cookies-button\">
<button class=\"cookies-accept\" onclick=\"acceptCookies();\">Accepter</button>
<button class=\"cookies-refuse\">Refuser</button>
</div>
</div>
</div>
<div class=\"Banniere\">
<div class=\"logo\">
<a href=\"";
// line 31
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
echo "\">
<img class=\"img_log\" src=\"";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/LOGO_SB_deepBlue.png"), "html", null, true);
echo "\"/>
</a>
</div>
<div class= \"item-menu\">
";
// line 36
$context["k"] = 0;
// line 37
echo " ";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
// line 38
echo " ";
$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);
// line 39
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 40
echo " ";
if (((isset($context["k"]) || array_key_exists("k", $context) ? $context["k"] : (function () { throw new RuntimeError('Variable "k" does not exist.', 40, $this->source); })()) > 0)) {
// line 41
echo " <button class=\"item-1\" id=\"categories2\">
";
// line 42
$context["i"] = 0;
// line 43
echo " ";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
// line 44
echo " ";
$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);
// line 45
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 46
echo " <div class=\"openMenu2\" id=\"";
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", null, true);
echo "\">
Catégories
</div>
";
// line 50
$context["i"] = 0;
// line 51
echo " ";
$context["j"] = 0;
// line 52
echo " <div id=\"topBar2\">
<div id=\"SelectionCat\">
";
// line 54
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
// line 55
echo " ";
$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);
// line 56
echo " <li class=\"listCat\" id=\"";
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", null, true);
echo "\"><a id=\"";
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", null, true);
echo "\" href=\"#\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cat"], "title", [], "any", false, false, false, 56), "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 58
echo " ";
$context["i"] = 0;
// line 59
echo " </div>
<div id=\"SelectionSousCat\">
";
// line 61
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
// line 62
echo " ";
$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);
// line 63
echo " ";
$context["j"] = 0;
// line 64
echo " <div id=\"affichageSousCat";
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", null, true);
echo "\">
<dl class=\"subMenu2\">
";
// line 66
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Souscat"]) {
// line 67
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Souscat"], "category", [], "any", false, false, false, 67) == $context["cat"])) {
// line 68
echo " ";
$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);
// line 69
echo " <dt class=\"listSousCat\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("search");
echo "?q=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Souscat"], "title", [], "any", false, false, false, 69), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Souscat"], "title", [], "any", false, false, false, 69), "html", null, true);
echo "</a></dt>
";
}
// line 71
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Souscat'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 72
echo " </dl>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cat'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 75
echo " </div>
</div>
</button>
";
} else {
// line 79
echo " <button class=\"item-1\">Aucune Catégorie </button>
";
}
// line 81
echo "
<button class=\"item-1\" onclick=\"window.location.href = '";
// line 82
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("Contributeurs");
echo "';\">Les partenaires</button>
<button class=\"item-1\" onclick=\"window.location.href = '";
// line 83
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ticket");
echo "';\">Aide</button>
";
// line 85
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", false, false, false, 85)) {
// line 86
echo " <button class=\"item-1\" onclick=\"window.location.href = '";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user");
echo "';\">Mon profil</button>
<button class=\"item-1\" onclick=\"window.location.href = '";
// line 87
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("favorite");
echo "';\">Mes favoris</button>
";
// line 88
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MODERATOR")) {
// line 89
echo " <button class=\"item-1\" onclick=\"window.location.href = '";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_accueil_admin");
echo "';\">Administration</button>
";
}
// line 91
echo " <button class=\"lout item-1_btn Btn_primary\" onclick=\"window.location.href = '";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "';\">Se déconnecter</button>
";
} else {
// line 93
echo " <button class=\"item-1_btn Btn_primary\" onclick=\"window.location.href = '";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo "';\">Se connecter</button>
";
}
// line 95
echo " </div>
</div>
";
// line 100
echo " ";
$context['_parent'] = $context;
$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", false, false, false, 100));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 101
echo " <div id=\"notification\">
";
// line 102
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 105
$this->displayBlock('content', $context, $blocks);
// line 107
echo "
";
// line 108
$this->displayBlock('container', $context, $blocks);
// line 138
echo "
";
// line 139
$this->displayBlock('scripts', $context, $blocks);
// line 187
echo "
</body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 7
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Lune";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 11
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 12
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo ">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 105
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 108
public function block_container($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "container"));
// line 109
echo " ";
// line 114
echo "
<div id = \"questionContainer\" class=\"popQuestion container_hidden\">
<div id = \"verif_form\" class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content rounded-4 shadow\">
<div class=\"modal-body p-4 text-center\">
<h5 id = \"question\" class=\"mb-0\">Question</h5>
<p id = \"questionDetail\" class=\"mb-0\">Détails</p>
</div>
<div class=\"modal-footer flex-nowrap p-0\">
<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>
<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>
</div>
</div>
</div>
</div>
<script type=\"module\">
import affichage from \"/assets/js/affichage.js\";
affichage.init();
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 139
public function block_scripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
// line 140
echo " <script src=\"/assets/js/bootstrap.bundle.js\"></script>
<script
src=\"https://code.jquery.com/jquery-3.3.1.min.js\"
integrity=\"sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=\"
crossorigin=\"anonymous\"></script>
<!--JavaScript at end of body for optimized loading-->
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js\"></script>
<script>
\$(document).ready(function(){
// \$('.parallax').parallax();
\$('.sidenav').sidenav();
//\$('select').formSelect();
});
\$('#notification').delay(5000).hide(500)
function imgError(image){
image.onerror = \"\";
image.src = \"https://images.pexels.com/photos/276452/pexels-photo-276452.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\";
return true;
}
</script>
<script type=\"module\">
import home from \"/assets/js/home.js\";
home.init();
</script>
<script type=\"module\">
import gestionIndicateur from \"/assets/js/gestion_indicateurs.js\";
gestionIndicateur.initialisation();
</script>
<script>
function acceptCookies(){
document.cookie += \"acceptCookies=true;\";
document.getElementsByClassName(\"cookies\")[0].style.display = \"none\";
}
//\$(document).ready(function(){
if(document.cookie.indexOf(\"acceptCookies=true\") != -1){
document.getElementsByClassName(\"cookies\")[0].style.display = \"none\";
}
//});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{# templates/base.html.twig #}
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link rel=\"icon\" type=\"image/png\" alt=\"Lune\" href=\"assets/images/logo_lune.ico\"/>
<title>{% block title %}Lune{% endblock %}</title>
<!--Let browser know website is optimized for mobile-->
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}>
{% endblock %}
</head>
<body>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
<div class=\"cookies\">
<div class=\"cookies-content\">
<div class=\"cookies-text\">
<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>
</div>
<div class=\"cookies-button\">
<button class=\"cookies-accept\" onclick=\"acceptCookies();\">Accepter</button>
<button class=\"cookies-refuse\">Refuser</button>
</div>
</div>
</div>
<div class=\"Banniere\">
<div class=\"logo\">
<a href=\"{{ path('home') }}\">
<img class=\"img_log\" src=\"{{ asset('build/images/LOGO_SB_deepBlue.png') }}\"/>
</a>
</div>
<div class= \"item-menu\">
{% set k = 0 %}
{% for cat in category %}
{% set k = k + 1 %}
{% endfor %}
{% if k > 0 %}
<button class=\"item-1\" id=\"categories2\">
{% set i = 0 %}
{% for cat in category %}
{% set i = i+1 %}
{% endfor %}
<div class=\"openMenu2\" id=\"{{i}}\">
Catégories
</div>
{% set i = 0 %}
{% set j = 0 %}
<div id=\"topBar2\">
<div id=\"SelectionCat\">
{% for cat in category %}
{% set i = i+1 %}
<li class=\"listCat\" id=\"{{i}}\"><a id=\"{{i}}\" href=\"#\">{{cat.title}}</a></li>
{% endfor %}
{% set i = 0 %}
</div>
<div id=\"SelectionSousCat\">
{% for cat in category %}
{% set i = i+1 %}
{% set j = 0 %}
<div id=\"affichageSousCat{{i}}\">
<dl class=\"subMenu2\">
{% for Souscat in sousCategory %}
{% if Souscat.category == cat %}
{% set j = j+1 %}
<dt class=\"listSousCat\"><a href=\"{{ path('search') }}?q={{Souscat.title}}\">{{Souscat.title}}</a></dt>
{% endif %}
{% endfor %}
</dl>
</div>
{% endfor %}
</div>
</div>
</button>
{% else %}
<button class=\"item-1\">Aucune Catégorie </button>
{% endif %}
<button class=\"item-1\" onclick=\"window.location.href = '{{ path('Contributeurs') }}';\">Les partenaires</button>
<button class=\"item-1\" onclick=\"window.location.href = '{{path('ticket')}}';\">Aide</button>
{% if app.user %}
<button class=\"item-1\" onclick=\"window.location.href = '{{path('user')}}';\">Mon profil</button>
<button class=\"item-1\" onclick=\"window.location.href = '{{path('favorite')}}';\">Mes favoris</button>
{% if is_granted(\"ROLE_MODERATOR\") %}
<button class=\"item-1\" onclick=\"window.location.href = '{{ path('admin_accueil_admin') }}';\">Administration</button>
{% endif %}
<button class=\"lout item-1_btn Btn_primary\" onclick=\"window.location.href = '{{path('app_logout')}}';\">Se déconnecter</button>
{% else %}
<button class=\"item-1_btn Btn_primary\" onclick=\"window.location.href = '{{path('app_login')}}';\">Se connecter</button>
{% endif %}
</div>
</div>
{# <div id=\"notification\">test</div> #}
{% for message in app.flashes('notification') %}
<div id=\"notification\">
{{ message }}
</div>
{% endfor %}
{% block content %}
{% endblock %}
{% block container %}
{# Permet l'affichage des détails d'un seul article
<div id = \"articleBoxContainer\" class=\"pop_article container_hidden\">
</div> #}
<div id = \"questionContainer\" class=\"popQuestion container_hidden\">
<div id = \"verif_form\" class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content rounded-4 shadow\">
<div class=\"modal-body p-4 text-center\">
<h5 id = \"question\" class=\"mb-0\">Question</h5>
<p id = \"questionDetail\" class=\"mb-0\">Détails</p>
</div>
<div class=\"modal-footer flex-nowrap p-0\">
<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>
<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>
</div>
</div>
</div>
</div>
<script type=\"module\">
import affichage from \"/assets/js/affichage.js\";
affichage.init();
</script>
{% endblock %}
{% block scripts %}
<script src=\"/assets/js/bootstrap.bundle.js\"></script>
<script
src=\"https://code.jquery.com/jquery-3.3.1.min.js\"
integrity=\"sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=\"
crossorigin=\"anonymous\"></script>
<!--JavaScript at end of body for optimized loading-->
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js\"></script>
<script>
\$(document).ready(function(){
// \$('.parallax').parallax();
\$('.sidenav').sidenav();
//\$('select').formSelect();
});
\$('#notification').delay(5000).hide(500)
function imgError(image){
image.onerror = \"\";
image.src = \"https://images.pexels.com/photos/276452/pexels-photo-276452.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\";
return true;
}
</script>
<script type=\"module\">
import home from \"/assets/js/home.js\";
home.init();
</script>
<script type=\"module\">
import gestionIndicateur from \"/assets/js/gestion_indicateurs.js\";
gestionIndicateur.initialisation();
</script>
<script>
function acceptCookies(){
document.cookie += \"acceptCookies=true;\";
document.getElementsByClassName(\"cookies\")[0].style.display = \"none\";
}
//\$(document).ready(function(){
if(document.cookie.indexOf(\"acceptCookies=true\") != -1){
document.getElementsByClassName(\"cookies\")[0].style.display = \"none\";
}
//});
</script>
{% endblock %}
</body>
</html>", "base.html.twig", "/var/www/dev.portail-lune.fr/PortailLune/templates/base.html.twig");
}
}