var/cache/dev/twig/7f/7f7fb34c9ae29a53b3b252db73d3b51b.php line 326

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* base.html.twig */
  16. class __TwigTemplate_f091905c369d948b82cc0134497ae637 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->parent = false;
  28. $this->blocks = [
  29. 'stylesheets' => [$this, 'block_stylesheets'],
  30. 'topbar' => [$this, 'block_topbar'],
  31. 'buttons' => [$this, 'block_buttons'],
  32. 'body' => [$this, 'block_body'],
  33. 'actions' => [$this, 'block_actions'],
  34. 'footer' => [$this, 'block_footer'],
  35. 'javascripts' => [$this, 'block_javascripts'],
  36. ];
  37. }
  38. protected function doDisplay(array $context, array $blocks = []): iterable
  39. {
  40. $macros = $this->macros;
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
  45. // line 1
  46. $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"))));
  47. // line 2
  48. yield "<!DOCTYPE html>
  49. <html lang=\"fr\">
  50. <head>
  51. <meta charset=\"utf-8\">
  52. <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  53. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  54. <title>";
  55. // line 8
  56. 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);
  57. yield "</title>
  58. <link rel=\"icon\" href=\"";
  59. // line 10
  60. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.png"), "html", null, true);
  61. yield "\"/>
  62. ";
  63. // line 12
  64. yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
  65. // line 24
  66. yield "
  67. </head>
  68. <body id=\"page-top\" class=\"";
  69. // line 26
  70. 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);
  71. yield " env-";
  72. 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);
  73. yield "\">
  74. <!-- Page Wrapper -->
  75. <div id=\"wrapper\">
  76. ";
  77. // line 31
  78. yield from $this->loadTemplate("sidebar/sidebar.html.twig", "base.html.twig", 31)->unwrap()->yield($context);
  79. // line 32
  80. yield "
  81. <!-- Content Wrapper -->
  82. <div id=\"content-wrapper\" class=\"d-flex flex-column\">
  83. <!-- Main Content -->
  84. <div id=\"content\">
  85. ";
  86. // line 39
  87. yield from $this->unwrap()->yieldBlock('topbar', $context, $blocks);
  88. // line 53
  89. yield "
  90. <!-- Begin Page Content -->
  91. <div class=\"container-fluid\">
  92. ";
  93. // line 56
  94. $context['_parent'] = $context;
  95. $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));
  96. foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
  97. // line 57
  98. yield " ";
  99. $context['_parent'] = $context;
  100. $context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
  101. foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  102. // line 58
  103. yield " <div class=\"alert alert-";
  104. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["type"], "html", null, true);
  105. yield " alert-dismissible\">
  106. ";
  107. // line 59
  108. yield $context["message"];
  109. yield "
  110. <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Fermer\">
  111. <span aria-hidden=\"true\">&times;</span>
  112. </button>
  113. </div>
  114. ";
  115. }
  116. $_parent = $context['_parent'];
  117. unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
  118. $context = array_intersect_key($context, $_parent) + $_parent;
  119. // line 65
  120. yield " ";
  121. }
  122. $_parent = $context['_parent'];
  123. unset($context['_seq'], $context['type'], $context['messages'], $context['_parent']);
  124. $context = array_intersect_key($context, $_parent) + $_parent;
  125. // line 66
  126. yield " ";
  127. yield from $this->unwrap()->yieldBlock('buttons', $context, $blocks);
  128. // line 79
  129. yield " ";
  130. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  131. // line 82
  132. yield " </div>
  133. <!-- /.container-fluid -->
  134. </div>
  135. <!-- End of Main Content -->
  136. ";
  137. // line 88
  138. yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
  139. // line 97
  140. yield "
  141. </div>
  142. <!-- End of Content Wrapper -->
  143. </div>
  144. <!-- End of Page Wrapper -->
  145. <!-- Scroll to Top Button-->
  146. <a class=\"scroll-to-top rounded\" href=\"#page-top\">
  147. <i class=\"fas fa-angle-up\"></i>
  148. </a>
  149. <!-- Logout Modal-->
  150. <div class=\"modal fade\" id=\"logoutModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\"
  151. aria-hidden=\"true\">
  152. <div class=\"modal-dialog\" role=\"document\">
  153. <div class=\"modal-content\">
  154. <div class=\"modal-header\">
  155. <h5 class=\"modal-title\" id=\"exampleModalLabel\">Déconnexion</h5>
  156. <button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\">
  157. <span aria-hidden=\"true\">×</span>
  158. </button>
  159. </div>
  160. <div class=\"modal-body\">Voulez-vous vous déconnecter ?</div>
  161. <div class=\"modal-footer\">
  162. <button class=\"btn btn-secondary\" type=\"button\" data-dismiss=\"modal\">Annuler</button>
  163. <a class=\"btn btn-primary\" href=\"";
  164. // line 123
  165. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_logout");
  166. yield "\">Déconnexion</a>
  167. </div>
  168. </div>
  169. </div>
  170. </div>
  171. <!-- Modal -->
  172. <div class=\"modal fade\" id=\"lelpModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"lelpModalTitle\"
  173. aria-hidden=\"true\">
  174. <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  175. <div class=\"modal-content\">
  176. <div class=\"modal-header\">
  177. <h5 class=\"modal-title\" id=\"lelpModalTitle\">Modal title</h5>
  178. <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  179. <span aria-hidden=\"true\">&times;</span>
  180. </button>
  181. </div>
  182. <div class=\"modal-body\"></div>
  183. <div class=\"modal-footer\">
  184. </div>
  185. </div>
  186. </div>
  187. </div>
  188. ";
  189. // line 147
  190. yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  191. // line 154
  192. yield "</body>
  193. </html>
  194. ";
  195. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  196. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  197. yield from [];
  198. }
  199. // line 12
  200. /**
  201. * @return iterable<null|scalar|\Stringable>
  202. */
  203. public function block_stylesheets(array $context, array $blocks = []): iterable
  204. {
  205. $macros = $this->macros;
  206. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  207. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  208. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  209. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  210. // line 13
  211. yield " ";
  212. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("lelp");
  213. yield "
  214. <style>
  215. ";
  216. // line 15
  217. $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);
  218. // line 16
  219. yield " ";
  220. if ((isset($context["fontCookie"]) || array_key_exists("fontCookie", $context) ? $context["fontCookie"] : (function () { throw new RuntimeError('Variable "fontCookie" does not exist.', 16, $this->source); })())) {
  221. // line 17
  222. yield " html {
  223. font-size: ";
  224. // line 18
  225. 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);
  226. yield "em;
  227. }
  228. ";
  229. }
  230. // line 22
  231. yield " </style>
  232. ";
  233. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  234. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  235. yield from [];
  236. }
  237. // line 39
  238. /**
  239. * @return iterable<null|scalar|\Stringable>
  240. */
  241. public function block_topbar(array $context, array $blocks = []): iterable
  242. {
  243. $macros = $this->macros;
  244. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  245. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "topbar"));
  246. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  247. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "topbar"));
  248. // line 40
  249. yield " <nav class=\"navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow\">
  250. <!-- Sidebar Toggle (Topbar) -->
  251. <button id=\"sidebarToggleTop\" class=\"btn btn-link d-md-none rounded-circle mr-3\">
  252. <i class=\"fas fa-bars\"></i>
  253. </button>
  254. <div class=\"d-sm-flex align-items-center justify-content-between\">
  255. <h1 class=\"h3 mb-0\">";
  256. // line 48
  257. 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);
  258. yield "</h1>
  259. </div>
  260. </nav>
  261. ";
  262. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  263. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  264. yield from [];
  265. }
  266. // line 66
  267. /**
  268. * @return iterable<null|scalar|\Stringable>
  269. */
  270. public function block_buttons(array $context, array $blocks = []): iterable
  271. {
  272. $macros = $this->macros;
  273. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  274. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "buttons"));
  275. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  276. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "buttons"));
  277. // line 67
  278. yield " ";
  279. $context["buttons"] = $this->extensions['App\Component\TwigExtension\MenuBuilder']->createMenu("buttons");
  280. // line 68
  281. yield " ";
  282. 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)) {
  283. // line 69
  284. yield " <ul class=\"nav nav-tabs mb-3\">
  285. ";
  286. // line 70
  287. $context['_parent'] = $context;
  288. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["buttons"]) || array_key_exists("buttons", $context) ? $context["buttons"] : (function () { throw new RuntimeError('Variable "buttons" does not exist.', 70, $this->source); })()));
  289. foreach ($context['_seq'] as $context["_key"] => $context["button"]) {
  290. // line 71
  291. yield " ";
  292. $context["active"] = (CoreExtension::getAttribute($this->env, $this->source, $context["button"], "route", [], "any", false, false, false, 71) == 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.', 71, $this->source); })()), "request", [], "any", false, false, false, 71), "attributes", [], "any", false, false, false, 71), "get", ["_route"], "method", false, false, false, 71));
  293. // line 72
  294. yield " <li class=\"nav-item\">
  295. <a class=\"nav-link";
  296. // line 73
  297. if ((isset($context["active"]) || array_key_exists("active", $context) ? $context["active"] : (function () { throw new RuntimeError('Variable "active" does not exist.', 73, $this->source); })())) {
  298. yield " active";
  299. }
  300. yield "\" href=\"";
  301. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(CoreExtension::getAttribute($this->env, $this->source, $context["button"], "route", [], "any", false, false, false, 73));
  302. yield "\">";
  303. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["button"], "libelle", [], "any", false, false, false, 73), "html", null, true);
  304. yield "</a>
  305. </li>
  306. ";
  307. }
  308. $_parent = $context['_parent'];
  309. unset($context['_seq'], $context['_key'], $context['button'], $context['_parent']);
  310. $context = array_intersect_key($context, $_parent) + $_parent;
  311. // line 76
  312. yield " </ul>
  313. ";
  314. }
  315. // line 78
  316. yield " ";
  317. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  318. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  319. yield from [];
  320. }
  321. // line 79
  322. /**
  323. * @return iterable<null|scalar|\Stringable>
  324. */
  325. public function block_body(array $context, array $blocks = []): iterable
  326. {
  327. $macros = $this->macros;
  328. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  329. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  330. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  331. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  332. // line 80
  333. yield " ";
  334. yield from $this->unwrap()->yieldBlock('actions', $context, $blocks);
  335. // line 81
  336. yield " ";
  337. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  338. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  339. yield from [];
  340. }
  341. // line 80
  342. /**
  343. * @return iterable<null|scalar|\Stringable>
  344. */
  345. public function block_actions(array $context, array $blocks = []): iterable
  346. {
  347. $macros = $this->macros;
  348. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  349. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
  350. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  351. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
  352. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  353. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  354. yield from [];
  355. }
  356. // line 88
  357. /**
  358. * @return iterable<null|scalar|\Stringable>
  359. */
  360. public function block_footer(array $context, array $blocks = []): iterable
  361. {
  362. $macros = $this->macros;
  363. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  364. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  365. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  366. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  367. // line 89
  368. yield " ";
  369. // line 90
  370. yield " ";
  371. // line 91
  372. yield " ";
  373. // line 92
  374. yield " ";
  375. // line 93
  376. yield " ";
  377. // line 94
  378. yield " ";
  379. // line 95
  380. yield " ";
  381. // line 96
  382. yield " ";
  383. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  384. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  385. yield from [];
  386. }
  387. // line 147
  388. /**
  389. * @return iterable<null|scalar|\Stringable>
  390. */
  391. public function block_javascripts(array $context, array $blocks = []): iterable
  392. {
  393. $macros = $this->macros;
  394. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  395. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  396. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  397. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  398. // line 148
  399. yield " ";
  400. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("lelp");
  401. yield "
  402. ";
  403. // line 150
  404. yield " ";
  405. 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.', 150, $this->source); })()), "request", [], "any", false, false, false, 150), "attributes", [], "any", false, false, false, 150), "get", ["_route"], "method", false, false, false, 150))) {
  406. // line 151
  407. yield " ";
  408. 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.', 151, $this->source); })()), "request", [], "any", false, false, false, 151), "attributes", [], "any", false, false, false, 151), "get", ["_route"], "method", false, false, false, 151));
  409. yield "
  410. ";
  411. }
  412. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  413. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  414. yield from [];
  415. }
  416. /**
  417. * @codeCoverageIgnore
  418. */
  419. public function getTemplateName(): string
  420. {
  421. return "base.html.twig";
  422. }
  423. /**
  424. * @codeCoverageIgnore
  425. */
  426. public function isTraitable(): bool
  427. {
  428. return false;
  429. }
  430. /**
  431. * @codeCoverageIgnore
  432. */
  433. public function getDebugInfo(): array
  434. {
  435. return array ( 482 => 151, 479 => 150, 474 => 148, 461 => 147, 450 => 96, 448 => 95, 446 => 94, 444 => 93, 442 => 92, 440 => 91, 438 => 90, 436 => 89, 423 => 88, 401 => 80, 390 => 81, 387 => 80, 374 => 79, 363 => 78, 359 => 76, 344 => 73, 341 => 72, 338 => 71, 334 => 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 => 154, 212 => 147, 185 => 123, 157 => 97, 155 => 88, 147 => 82, 144 => 79, 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,);
  436. }
  437. public function getSourceContext(): Source
  438. {
  439. return new Source("{% set title = topbar_title|default(createMenu('breadcrumb')|striptags|raw) %}
  440. <!DOCTYPE html>
  441. <html lang=\"fr\">
  442. <head>
  443. <meta charset=\"utf-8\">
  444. <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  445. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  446. <title>{{ title }}</title>
  447. <link rel=\"icon\" href=\"{{ asset('build/images/logo.png') }}\"/>
  448. {% block stylesheets %}
  449. {{ encore_entry_link_tags('lelp') }}
  450. <style>
  451. {% set fontCookie = app.request.cookies.get('font-size') %}
  452. {% if fontCookie %}
  453. html {
  454. font-size: {{ fontCookie }}em;
  455. }
  456. {% endif %}
  457. </style>
  458. {% endblock %}
  459. </head>
  460. <body id=\"page-top\" class=\"{{ app.request.attributes.get('_route') }} env-{{ app.environment }}\">
  461. <!-- Page Wrapper -->
  462. <div id=\"wrapper\">
  463. {% include 'sidebar/sidebar.html.twig' %}
  464. <!-- Content Wrapper -->
  465. <div id=\"content-wrapper\" class=\"d-flex flex-column\">
  466. <!-- Main Content -->
  467. <div id=\"content\">
  468. {% block topbar %}
  469. <nav class=\"navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow\">
  470. <!-- Sidebar Toggle (Topbar) -->
  471. <button id=\"sidebarToggleTop\" class=\"btn btn-link d-md-none rounded-circle mr-3\">
  472. <i class=\"fas fa-bars\"></i>
  473. </button>
  474. <div class=\"d-sm-flex align-items-center justify-content-between\">
  475. <h1 class=\"h3 mb-0\">{{ title }}</h1>
  476. </div>
  477. </nav>
  478. {% endblock %}
  479. <!-- Begin Page Content -->
  480. <div class=\"container-fluid\">
  481. {% for type, messages in app.flashes() %}
  482. {% for message in messages %}
  483. <div class=\"alert alert-{{ type }} alert-dismissible\">
  484. {{ message|raw }}
  485. <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Fermer\">
  486. <span aria-hidden=\"true\">&times;</span>
  487. </button>
  488. </div>
  489. {% endfor %}
  490. {% endfor %}
  491. {% block buttons %}
  492. {% set buttons = createMenu('buttons')|raw %}
  493. {% if buttons|length > 1 %}
  494. <ul class=\"nav nav-tabs mb-3\">
  495. {% for button in buttons %}
  496. {% set active = button.route == app.request.attributes.get('_route') %}
  497. <li class=\"nav-item\">
  498. <a class=\"nav-link{% if active %} active{% endif %}\" href=\"{{ url(button.route) }}\">{{ button.libelle }}</a>
  499. </li>
  500. {% endfor %}
  501. </ul>
  502. {% endif %}
  503. {% endblock %}
  504. {% block body %}
  505. {% block actions %}{% endblock %}
  506. {% endblock %}
  507. </div>
  508. <!-- /.container-fluid -->
  509. </div>
  510. <!-- End of Main Content -->
  511. {% block footer %}
  512. {#<footer class=\"sticky-footer bg-white\">#}
  513. {#<div class=\"container my-auto\">#}
  514. {#<div class=\"copyright text-center my-auto\">#}
  515. {#<span>Copyright &copy; Proxidriver {{ \"now\"|date(\"Y\") }}</span>#}
  516. {#</div>#}
  517. {#</div>#}
  518. {#</footer>#}
  519. {% endblock %}
  520. </div>
  521. <!-- End of Content Wrapper -->
  522. </div>
  523. <!-- End of Page Wrapper -->
  524. <!-- Scroll to Top Button-->
  525. <a class=\"scroll-to-top rounded\" href=\"#page-top\">
  526. <i class=\"fas fa-angle-up\"></i>
  527. </a>
  528. <!-- Logout Modal-->
  529. <div class=\"modal fade\" id=\"logoutModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\"
  530. aria-hidden=\"true\">
  531. <div class=\"modal-dialog\" role=\"document\">
  532. <div class=\"modal-content\">
  533. <div class=\"modal-header\">
  534. <h5 class=\"modal-title\" id=\"exampleModalLabel\">Déconnexion</h5>
  535. <button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\">
  536. <span aria-hidden=\"true\">×</span>
  537. </button>
  538. </div>
  539. <div class=\"modal-body\">Voulez-vous vous déconnecter ?</div>
  540. <div class=\"modal-footer\">
  541. <button class=\"btn btn-secondary\" type=\"button\" data-dismiss=\"modal\">Annuler</button>
  542. <a class=\"btn btn-primary\" href=\"{{ url('app_logout') }}\">Déconnexion</a>
  543. </div>
  544. </div>
  545. </div>
  546. </div>
  547. <!-- Modal -->
  548. <div class=\"modal fade\" id=\"lelpModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"lelpModalTitle\"
  549. aria-hidden=\"true\">
  550. <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  551. <div class=\"modal-content\">
  552. <div class=\"modal-header\">
  553. <h5 class=\"modal-title\" id=\"lelpModalTitle\">Modal title</h5>
  554. <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  555. <span aria-hidden=\"true\">&times;</span>
  556. </button>
  557. </div>
  558. <div class=\"modal-body\"></div>
  559. <div class=\"modal-footer\">
  560. </div>
  561. </div>
  562. </div>
  563. </div>
  564. {% block javascripts %}
  565. {{ encore_entry_script_tags('lelp') }}
  566. {# javascript spécifique à cette page #}
  567. {% if asset_exists(app.request.attributes.get('_route')) %}
  568. {{ encore_entry_script_tags(app.request.attributes.get('_route')) }}
  569. {% endif %}
  570. {% endblock %}
  571. </body>
  572. </html>
  573. ", "base.html.twig", "/var/www/html/templates/base.html.twig");
  574. }
  575. }