<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* base.html.twig */
class __TwigTemplate_f091905c369d948b82cc0134497ae637 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'topbar' => [$this, 'block_topbar'],
'buttons' => [$this, 'block_buttons'],
'body' => [$this, 'block_body'],
'actions' => [$this, 'block_actions'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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 1
$context["title"] = ((array_key_exists("topbar_title", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["topbar_title"]) || array_key_exists("topbar_title", $context) ? $context["topbar_title"] : (function () { throw new RuntimeError('Variable "topbar_title" does not exist.', 1, $this->source); })()), Twig\Extension\CoreExtension::striptags($this->extensions['App\Component\TwigExtension\MenuBuilder']->createMenu("breadcrumb")))) : (Twig\Extension\CoreExtension::striptags($this->extensions['App\Component\TwigExtension\MenuBuilder']->createMenu("breadcrumb"))));
// line 2
yield "<!DOCTYPE html>
<html lang=\"fr\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<title>";
// line 8
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 8, $this->source); })()), "html", null, true);
yield "</title>
<link rel=\"icon\" href=\"";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.png"), "html", null, true);
yield "\"/>
";
// line 12
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 24
yield "
</head>
<body id=\"page-top\" class=\"";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "attributes", [], "any", false, false, false, 26), "get", ["_route"], "method", false, false, false, 26), "html", null, true);
yield " env-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "environment", [], "any", false, false, false, 26), "html", null, true);
yield "\">
<!-- Page Wrapper -->
<div id=\"wrapper\">
";
// line 31
yield from $this->loadTemplate("sidebar/sidebar.html.twig", "base.html.twig", 31)->unwrap()->yield($context);
// line 32
yield "
<!-- Content Wrapper -->
<div id=\"content-wrapper\" class=\"d-flex flex-column\">
<!-- Main Content -->
<div id=\"content\">
";
// line 39
yield from $this->unwrap()->yieldBlock('topbar', $context, $blocks);
// line 53
yield "
<!-- Begin Page Content -->
<div class=\"container-fluid\">
";
// line 56
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 56, $this->source); })()), "flashes", [], "method", false, false, false, 56));
foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
// line 57
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 58
yield " <div class=\"alert alert-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["type"], "html", null, true);
yield " alert-dismissible\">
";
// line 59
yield $context["message"];
yield "
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Fermer\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 65
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['type'], $context['messages'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 66
yield " ";
yield from $this->unwrap()->yieldBlock('buttons', $context, $blocks);
// line 75
yield " ";
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
// line 78
yield " </div>
<!-- /.container-fluid -->
</div>
<!-- End of Main Content -->
";
// line 84
yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
// line 93
yield "
</div>
<!-- End of Content Wrapper -->
</div>
<!-- End of Page Wrapper -->
<!-- Scroll to Top Button-->
<a class=\"scroll-to-top rounded\" href=\"#page-top\">
<i class=\"fas fa-angle-up\"></i>
</a>
<!-- Logout Modal-->
<div class=\"modal fade\" id=\"logoutModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\"
aria-hidden=\"true\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"exampleModalLabel\">Déconnexion</h5>
<button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div class=\"modal-body\">Voulez-vous vous déconnecter ?</div>
<div class=\"modal-footer\">
<button class=\"btn btn-secondary\" type=\"button\" data-dismiss=\"modal\">Annuler</button>
<a class=\"btn btn-primary\" href=\"";
// line 119
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_logout");
yield "\">Déconnexion</a>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class=\"modal fade\" id=\"lelpModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"lelpModalTitle\"
aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"lelpModalTitle\">Modal title</h5>
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div class=\"modal-body\"></div>
<div class=\"modal-footer\">
</div>
</div>
</div>
</div>
";
// line 143
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 150
yield "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 12
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$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 13
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("lelp");
yield "
<style>
";
// line 15
$context["fontCookie"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "cookies", [], "any", false, false, false, 15), "get", ["font-size"], "method", false, false, false, 15);
// line 16
yield " ";
if ((isset($context["fontCookie"]) || array_key_exists("fontCookie", $context) ? $context["fontCookie"] : (function () { throw new RuntimeError('Variable "fontCookie" does not exist.', 16, $this->source); })())) {
// line 17
yield " html {
font-size: ";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["fontCookie"]) || array_key_exists("fontCookie", $context) ? $context["fontCookie"] : (function () { throw new RuntimeError('Variable "fontCookie" does not exist.', 18, $this->source); })()), "html", null, true);
yield "em;
}
";
}
// line 22
yield " </style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 39
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_topbar(array $context, array $blocks = []): iterable
{
$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", "topbar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "topbar"));
// line 40
yield " <nav class=\"navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow\">
<!-- Sidebar Toggle (Topbar) -->
<button id=\"sidebarToggleTop\" class=\"btn btn-link d-md-none rounded-circle mr-3\">
<i class=\"fas fa-bars\"></i>
</button>
<div class=\"d-sm-flex align-items-center justify-content-between\">
<h1 class=\"h3 mb-0 text-gray-800\">";
// line 48
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 48, $this->source); })()), "html", null, true);
yield "</h1>
</div>
</nav>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 66
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_buttons(array $context, array $blocks = []): iterable
{
$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", "buttons"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "buttons"));
// line 67
yield " ";
$context["buttons"] = $this->extensions['App\Component\TwigExtension\MenuBuilder']->createMenu("buttons");
// line 68
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["buttons"]) || array_key_exists("buttons", $context) ? $context["buttons"] : (function () { throw new RuntimeError('Variable "buttons" does not exist.', 68, $this->source); })())) > 1)) {
// line 69
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["buttons"]) || array_key_exists("buttons", $context) ? $context["buttons"] : (function () { throw new RuntimeError('Variable "buttons" does not exist.', 69, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["button"]) {
// line 70
yield " ";
$context["class"] = (((CoreExtension::getAttribute($this->env, $this->source, $context["button"], "route", [], "any", false, false, false, 70) == CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 70, $this->source); })()), "request", [], "any", false, false, false, 70), "attributes", [], "any", false, false, false, 70), "get", ["_route"], "method", false, false, false, 70))) ? ("btn-primary") : ("btn-light"));
// line 71
yield " <a class=\"btn ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 71, $this->source); })()), "html", null, true);
yield " active mb-3\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(CoreExtension::getAttribute($this->env, $this->source, $context["button"], "route", [], "any", false, false, false, 71));
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["button"], "libelle", [], "any", false, false, false, 71), "html", null, true);
yield "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['button'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 73
yield " ";
}
// line 74
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 75
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 76
yield " ";
yield from $this->unwrap()->yieldBlock('actions', $context, $blocks);
// line 77
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 76
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_actions(array $context, array $blocks = []): iterable
{
$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", "actions"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 84
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(array $context, array $blocks = []): iterable
{
$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", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 85
yield " ";
// line 86
yield " ";
// line 87
yield " ";
// line 88
yield " ";
// line 89
yield " ";
// line 90
yield " ";
// line 91
yield " ";
// line 92
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 143
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 144
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("lelp");
yield "
";
// line 146
yield " ";
if ($this->extensions['App\Component\TwigExtension\AssetExists']->isAssetExists(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 146, $this->source); })()), "request", [], "any", false, false, false, 146), "attributes", [], "any", false, false, false, 146), "get", ["_route"], "method", false, false, false, 146))) {
// line 147
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 147, $this->source); })()), "request", [], "any", false, false, false, 147), "attributes", [], "any", false, false, false, 147), "get", ["_route"], "method", false, false, false, 147));
yield "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 474 => 147, 471 => 146, 466 => 144, 453 => 143, 442 => 92, 440 => 91, 438 => 90, 436 => 89, 434 => 88, 432 => 87, 430 => 86, 428 => 85, 415 => 84, 393 => 76, 382 => 77, 379 => 76, 366 => 75, 355 => 74, 352 => 73, 339 => 71, 336 => 70, 331 => 69, 328 => 68, 325 => 67, 312 => 66, 296 => 48, 286 => 40, 273 => 39, 261 => 22, 254 => 18, 251 => 17, 248 => 16, 246 => 15, 240 => 13, 227 => 12, 214 => 150, 212 => 143, 185 => 119, 157 => 93, 155 => 84, 147 => 78, 144 => 75, 141 => 66, 135 => 65, 123 => 59, 118 => 58, 113 => 57, 109 => 56, 104 => 53, 102 => 39, 93 => 32, 91 => 31, 81 => 26, 77 => 24, 75 => 12, 70 => 10, 65 => 8, 57 => 2, 55 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% set title = topbar_title|default(createMenu('breadcrumb')|striptags|raw) %}
<!DOCTYPE html>
<html lang=\"fr\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<title>{{ title }}</title>
<link rel=\"icon\" href=\"{{ asset('build/images/logo.png') }}\"/>
{% block stylesheets %}
{{ encore_entry_link_tags('lelp') }}
<style>
{% set fontCookie = app.request.cookies.get('font-size') %}
{% if fontCookie %}
html {
font-size: {{ fontCookie }}em;
}
{% endif %}
</style>
{% endblock %}
</head>
<body id=\"page-top\" class=\"{{ app.request.attributes.get('_route') }} env-{{ app.environment }}\">
<!-- Page Wrapper -->
<div id=\"wrapper\">
{% include 'sidebar/sidebar.html.twig' %}
<!-- Content Wrapper -->
<div id=\"content-wrapper\" class=\"d-flex flex-column\">
<!-- Main Content -->
<div id=\"content\">
{% block topbar %}
<nav class=\"navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow\">
<!-- Sidebar Toggle (Topbar) -->
<button id=\"sidebarToggleTop\" class=\"btn btn-link d-md-none rounded-circle mr-3\">
<i class=\"fas fa-bars\"></i>
</button>
<div class=\"d-sm-flex align-items-center justify-content-between\">
<h1 class=\"h3 mb-0 text-gray-800\">{{ title }}</h1>
</div>
</nav>
{% endblock %}
<!-- Begin Page Content -->
<div class=\"container-fluid\">
{% for type, messages in app.flashes() %}
{% for message in messages %}
<div class=\"alert alert-{{ type }} alert-dismissible\">
{{ message|raw }}
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Fermer\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
{% endfor %}
{% endfor %}
{% block buttons %}
{% set buttons = createMenu('buttons')|raw %}
{% if buttons|length > 1 %}
{% for button in buttons %}
{% set class = button.route == app.request.attributes.get('_route') ? 'btn-primary' : 'btn-light' %}
<a class=\"btn {{ class }} active mb-3\" href=\"{{ url(button.route) }}\">{{ button.libelle }}</a>
{% endfor %}
{% endif %}
{% endblock %}
{% block body %}
{% block actions %}{% endblock %}
{% endblock %}
</div>
<!-- /.container-fluid -->
</div>
<!-- End of Main Content -->
{% block footer %}
{#<footer class=\"sticky-footer bg-white\">#}
{#<div class=\"container my-auto\">#}
{#<div class=\"copyright text-center my-auto\">#}
{#<span>Copyright © Proxidriver {{ \"now\"|date(\"Y\") }}</span>#}
{#</div>#}
{#</div>#}
{#</footer>#}
{% endblock %}
</div>
<!-- End of Content Wrapper -->
</div>
<!-- End of Page Wrapper -->
<!-- Scroll to Top Button-->
<a class=\"scroll-to-top rounded\" href=\"#page-top\">
<i class=\"fas fa-angle-up\"></i>
</a>
<!-- Logout Modal-->
<div class=\"modal fade\" id=\"logoutModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\"
aria-hidden=\"true\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"exampleModalLabel\">Déconnexion</h5>
<button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div class=\"modal-body\">Voulez-vous vous déconnecter ?</div>
<div class=\"modal-footer\">
<button class=\"btn btn-secondary\" type=\"button\" data-dismiss=\"modal\">Annuler</button>
<a class=\"btn btn-primary\" href=\"{{ url('app_logout') }}\">Déconnexion</a>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class=\"modal fade\" id=\"lelpModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"lelpModalTitle\"
aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"lelpModalTitle\">Modal title</h5>
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div class=\"modal-body\"></div>
<div class=\"modal-footer\">
</div>
</div>
</div>
</div>
{% block javascripts %}
{{ encore_entry_script_tags('lelp') }}
{# javascript spécifique à cette page #}
{% if asset_exists(app.request.attributes.get('_route')) %}
{{ encore_entry_script_tags(app.request.attributes.get('_route')) }}
{% endif %}
{% endblock %}
</body>
</html>
", "base.html.twig", "/var/www/html/templates/base.html.twig");
}
}