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

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 75
  129. yield " ";
  130. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  131. // line 78
  132. yield " </div>
  133. <!-- /.container-fluid -->
  134. </div>
  135. <!-- End of Main Content -->
  136. ";
  137. // line 84
  138. yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
  139. // line 93
  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 119
  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 143
  190. yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  191. // line 150
  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 text-gray-800\">";
  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 " ";
  285. $context['_parent'] = $context;
  286. $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); })()));
  287. foreach ($context['_seq'] as $context["_key"] => $context["button"]) {
  288. // line 70
  289. yield " ";
  290. $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"));
  291. // line 71
  292. yield " <a class=\"btn ";
  293. 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);
  294. yield " active mb-3\" href=\"";
  295. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(CoreExtension::getAttribute($this->env, $this->source, $context["button"], "route", [], "any", false, false, false, 71));
  296. yield "\">";
  297. 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);
  298. yield "</a>
  299. ";
  300. }
  301. $_parent = $context['_parent'];
  302. unset($context['_seq'], $context['_key'], $context['button'], $context['_parent']);
  303. $context = array_intersect_key($context, $_parent) + $_parent;
  304. // line 73
  305. yield " ";
  306. }
  307. // line 74
  308. yield " ";
  309. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  310. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  311. yield from [];
  312. }
  313. // line 75
  314. /**
  315. * @return iterable<null|scalar|\Stringable>
  316. */
  317. public function block_body(array $context, array $blocks = []): iterable
  318. {
  319. $macros = $this->macros;
  320. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  321. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  322. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  323. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  324. // line 76
  325. yield " ";
  326. yield from $this->unwrap()->yieldBlock('actions', $context, $blocks);
  327. // line 77
  328. yield " ";
  329. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  330. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  331. yield from [];
  332. }
  333. // line 76
  334. /**
  335. * @return iterable<null|scalar|\Stringable>
  336. */
  337. public function block_actions(array $context, array $blocks = []): iterable
  338. {
  339. $macros = $this->macros;
  340. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  341. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
  342. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  343. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
  344. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  345. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  346. yield from [];
  347. }
  348. // line 84
  349. /**
  350. * @return iterable<null|scalar|\Stringable>
  351. */
  352. public function block_footer(array $context, array $blocks = []): iterable
  353. {
  354. $macros = $this->macros;
  355. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  356. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  357. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  358. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  359. // line 85
  360. yield " ";
  361. // line 86
  362. yield " ";
  363. // line 87
  364. yield " ";
  365. // line 88
  366. yield " ";
  367. // line 89
  368. yield " ";
  369. // line 90
  370. yield " ";
  371. // line 91
  372. yield " ";
  373. // line 92
  374. yield " ";
  375. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  376. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  377. yield from [];
  378. }
  379. // line 143
  380. /**
  381. * @return iterable<null|scalar|\Stringable>
  382. */
  383. public function block_javascripts(array $context, array $blocks = []): iterable
  384. {
  385. $macros = $this->macros;
  386. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  387. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  388. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  389. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  390. // line 144
  391. yield " ";
  392. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("lelp");
  393. yield "
  394. ";
  395. // line 146
  396. yield " ";
  397. 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))) {
  398. // line 147
  399. yield " ";
  400. 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));
  401. yield "
  402. ";
  403. }
  404. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  405. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  406. yield from [];
  407. }
  408. /**
  409. * @codeCoverageIgnore
  410. */
  411. public function getTemplateName(): string
  412. {
  413. return "base.html.twig";
  414. }
  415. /**
  416. * @codeCoverageIgnore
  417. */
  418. public function isTraitable(): bool
  419. {
  420. return false;
  421. }
  422. /**
  423. * @codeCoverageIgnore
  424. */
  425. public function getDebugInfo(): array
  426. {
  427. 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,);
  428. }
  429. public function getSourceContext(): Source
  430. {
  431. return new Source("{% set title = topbar_title|default(createMenu('breadcrumb')|striptags|raw) %}
  432. <!DOCTYPE html>
  433. <html lang=\"fr\">
  434. <head>
  435. <meta charset=\"utf-8\">
  436. <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  437. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  438. <title>{{ title }}</title>
  439. <link rel=\"icon\" href=\"{{ asset('build/images/logo.png') }}\"/>
  440. {% block stylesheets %}
  441. {{ encore_entry_link_tags('lelp') }}
  442. <style>
  443. {% set fontCookie = app.request.cookies.get('font-size') %}
  444. {% if fontCookie %}
  445. html {
  446. font-size: {{ fontCookie }}em;
  447. }
  448. {% endif %}
  449. </style>
  450. {% endblock %}
  451. </head>
  452. <body id=\"page-top\" class=\"{{ app.request.attributes.get('_route') }} env-{{ app.environment }}\">
  453. <!-- Page Wrapper -->
  454. <div id=\"wrapper\">
  455. {% include 'sidebar/sidebar.html.twig' %}
  456. <!-- Content Wrapper -->
  457. <div id=\"content-wrapper\" class=\"d-flex flex-column\">
  458. <!-- Main Content -->
  459. <div id=\"content\">
  460. {% block topbar %}
  461. <nav class=\"navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow\">
  462. <!-- Sidebar Toggle (Topbar) -->
  463. <button id=\"sidebarToggleTop\" class=\"btn btn-link d-md-none rounded-circle mr-3\">
  464. <i class=\"fas fa-bars\"></i>
  465. </button>
  466. <div class=\"d-sm-flex align-items-center justify-content-between\">
  467. <h1 class=\"h3 mb-0 text-gray-800\">{{ title }}</h1>
  468. </div>
  469. </nav>
  470. {% endblock %}
  471. <!-- Begin Page Content -->
  472. <div class=\"container-fluid\">
  473. {% for type, messages in app.flashes() %}
  474. {% for message in messages %}
  475. <div class=\"alert alert-{{ type }} alert-dismissible\">
  476. {{ message|raw }}
  477. <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Fermer\">
  478. <span aria-hidden=\"true\">&times;</span>
  479. </button>
  480. </div>
  481. {% endfor %}
  482. {% endfor %}
  483. {% block buttons %}
  484. {% set buttons = createMenu('buttons')|raw %}
  485. {% if buttons|length > 1 %}
  486. {% for button in buttons %}
  487. {% set class = button.route == app.request.attributes.get('_route') ? 'btn-primary' : 'btn-light' %}
  488. <a class=\"btn {{ class }} active mb-3\" href=\"{{ url(button.route) }}\">{{ button.libelle }}</a>
  489. {% endfor %}
  490. {% endif %}
  491. {% endblock %}
  492. {% block body %}
  493. {% block actions %}{% endblock %}
  494. {% endblock %}
  495. </div>
  496. <!-- /.container-fluid -->
  497. </div>
  498. <!-- End of Main Content -->
  499. {% block footer %}
  500. {#<footer class=\"sticky-footer bg-white\">#}
  501. {#<div class=\"container my-auto\">#}
  502. {#<div class=\"copyright text-center my-auto\">#}
  503. {#<span>Copyright &copy; Proxidriver {{ \"now\"|date(\"Y\") }}</span>#}
  504. {#</div>#}
  505. {#</div>#}
  506. {#</footer>#}
  507. {% endblock %}
  508. </div>
  509. <!-- End of Content Wrapper -->
  510. </div>
  511. <!-- End of Page Wrapper -->
  512. <!-- Scroll to Top Button-->
  513. <a class=\"scroll-to-top rounded\" href=\"#page-top\">
  514. <i class=\"fas fa-angle-up\"></i>
  515. </a>
  516. <!-- Logout Modal-->
  517. <div class=\"modal fade\" id=\"logoutModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\"
  518. aria-hidden=\"true\">
  519. <div class=\"modal-dialog\" role=\"document\">
  520. <div class=\"modal-content\">
  521. <div class=\"modal-header\">
  522. <h5 class=\"modal-title\" id=\"exampleModalLabel\">Déconnexion</h5>
  523. <button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\">
  524. <span aria-hidden=\"true\">×</span>
  525. </button>
  526. </div>
  527. <div class=\"modal-body\">Voulez-vous vous déconnecter ?</div>
  528. <div class=\"modal-footer\">
  529. <button class=\"btn btn-secondary\" type=\"button\" data-dismiss=\"modal\">Annuler</button>
  530. <a class=\"btn btn-primary\" href=\"{{ url('app_logout') }}\">Déconnexion</a>
  531. </div>
  532. </div>
  533. </div>
  534. </div>
  535. <!-- Modal -->
  536. <div class=\"modal fade\" id=\"lelpModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"lelpModalTitle\"
  537. aria-hidden=\"true\">
  538. <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  539. <div class=\"modal-content\">
  540. <div class=\"modal-header\">
  541. <h5 class=\"modal-title\" id=\"lelpModalTitle\">Modal title</h5>
  542. <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  543. <span aria-hidden=\"true\">&times;</span>
  544. </button>
  545. </div>
  546. <div class=\"modal-body\"></div>
  547. <div class=\"modal-footer\">
  548. </div>
  549. </div>
  550. </div>
  551. </div>
  552. {% block javascripts %}
  553. {{ encore_entry_script_tags('lelp') }}
  554. {# javascript spécifique à cette page #}
  555. {% if asset_exists(app.request.attributes.get('_route')) %}
  556. {{ encore_entry_script_tags(app.request.attributes.get('_route')) }}
  557. {% endif %}
  558. {% endblock %}
  559. </body>
  560. </html>
  561. ", "base.html.twig", "/var/www/html/templates/base.html.twig");
  562. }
  563. }