var/cache/dev/twig/81/819ccb9ddabac9561948e7c0b50fc773.php line 96

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\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* dashboard/layout.html.twig */
  18. class __TwigTemplate_ea07652804c03df7eaa16f46ad6e401d extends Template
  19. {
  20.     private Source $source;
  21.     /**
  22.      * @var array<string, MacroNamespace>
  23.      */
  24.     private array $macros = [];
  25.     public function __construct(Environment $env)
  26.     {
  27.         parent::__construct($env);
  28.         $this->source = $this->getSourceContext();
  29.         $this->parent = false;
  30.         $this->blocks = [
  31.             'title' => [$this, 'block_title'],
  32.             'stylesheets' => [$this, 'block_stylesheets'],
  33.             'head' => [$this, 'block_head'],
  34.             'body' => [$this, 'block_body'],
  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", "dashboard/layout.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", "dashboard/layout.html.twig"));
  45.         // line 1
  46.         yield "<!DOCTYPE html>
  47. <html lang=\"fr-FR\">
  48. <head>
  49.     <meta charset=\"UTF-8\">
  50.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  51.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/commun/favicon/apple-touch-icon.png\">
  52.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/commun/favicon/favicon-32x32.png\">
  53.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/commun/favicon/favicon-16x16.png\">
  54.     <link rel=\"manifest\" href=\"/static/img/commun/favicon/site.webmanifest\">
  55.     <link rel=\"mask-icon\" href=\"/static/img/commun/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  56.     <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  57.     <meta name=\"theme-color\" content=\"#ffffff\">
  58.     <title>";
  59.         // line 13
  60.         yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
  61.         yield "</title>
  62.     ";
  63.         // line 16
  64.         yield "    ";
  65.         yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
  66.         // line 19
  67.         yield "    ";
  68.         yield (string) $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("dashboard");
  69.         yield "
  70. ";
  71.         // line 20
  72.         yield from $this->unwrap()->yieldBlock('head', $context, $blocks);
  73.         // line 22
  74.         yield "</head>
  75. <body>
  76. ";
  77.         // line 24
  78.         if ((array_key_exists("site_mode", $context) && ((isset($context["site_mode"]) || array_key_exists("site_mode", $context) ? $context["site_mode"] : (function () { throw new RuntimeError('Variable "site_mode" does not exist.', 24, $this->source); })()) == "prod"))) {
  79.             // line 25
  80.             yield "    <!-- Google Tag Manager (noscript) -->
  81.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-P6WW2D7\"
  82.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  83.     <!-- End Google Tag Manager (noscript) -->
  84. ";
  85.         }
  86.         // line 30
  87.         yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  88.         // line 31
  89.         yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  90.         // line 33
  91.         yield "</body>
  92. </html>
  93. ";
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.         
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98.         return; yield;
  99.     }
  100.     // line 13
  101.     /**
  102.      * @return iterable<null|scalar|\Stringable>
  103.      */
  104.     public function block_title(array $context, array $blocks = []): iterable
  105.     {
  106.         $macros = $this->macros;
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  111.         yield "Welcome!";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.         return; yield;
  117.     }
  118.     // line 16
  119.     /**
  120.      * @return iterable<null|scalar|\Stringable>
  121.      */
  122.     public function block_stylesheets(array $context, array $blocks = []): iterable
  123.     {
  124.         $macros = $this->macros;
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  129.         // line 17
  130.         yield "        ";
  131.         yield (string) $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("dashboard");
  132.         yield "
  133.     ";
  134.         
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  136.         
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  138.         return; yield;
  139.     }
  140.     // line 20
  141.     /**
  142.      * @return iterable<null|scalar|\Stringable>
  143.      */
  144.     public function block_head(array $context, array $blocks = []): iterable
  145.     {
  146.         $macros = $this->macros;
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
  151.         // line 21
  152.         yield "    ";
  153.         
  154.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  155.         
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  157.         return; yield;
  158.     }
  159.     // line 30
  160.     /**
  161.      * @return iterable<null|scalar|\Stringable>
  162.      */
  163.     public function block_body(array $context, array $blocks = []): iterable
  164.     {
  165.         $macros = $this->macros;
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  170.         
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  172.         
  173.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  174.         return; yield;
  175.     }
  176.     // line 31
  177.     /**
  178.      * @return iterable<null|scalar|\Stringable>
  179.      */
  180.     public function block_javascripts(array $context, array $blocks = []): iterable
  181.     {
  182.         $macros = $this->macros;
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  185.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  187.         
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  189.         
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  191.         return; yield;
  192.     }
  193.     /**
  194.      * @codeCoverageIgnore
  195.      */
  196.     public function getTemplateName(): string
  197.     {
  198.         return "dashboard/layout.html.twig";
  199.     }
  200.     /**
  201.      * @codeCoverageIgnore
  202.      */
  203.     public function isTraitable(): bool
  204.     {
  205.         return false;
  206.     }
  207.     /**
  208.      * @codeCoverageIgnore
  209.      */
  210.     public function getDefaultEscapeStrategy(): string|false
  211.     {
  212.         return "html";
  213.     }
  214.     /**
  215.      * @codeCoverageIgnore
  216.      */
  217.     public function getDebugInfo(): array
  218.     {
  219.         return array (  209 => 31,  187 => 30,  176 => 21,  163 => 20,  149 => 17,  136 => 16,  113 => 13,  100 => 33,  98 => 31,  96 => 30,  89 => 25,  87 => 24,  83 => 22,  81 => 20,  76 => 19,  73 => 16,  69 => 13,  55 => 1,);
  220.     }
  221.     public function getSourceContext(): Source
  222.     {
  223.         return new Source("<!DOCTYPE html>
  224. <html lang=\"fr-FR\">
  225. <head>
  226.     <meta charset=\"UTF-8\">
  227.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  228.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/commun/favicon/apple-touch-icon.png\">
  229.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/commun/favicon/favicon-32x32.png\">
  230.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/commun/favicon/favicon-16x16.png\">
  231.     <link rel=\"manifest\" href=\"/static/img/commun/favicon/site.webmanifest\">
  232.     <link rel=\"mask-icon\" href=\"/static/img/commun/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  233.     <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  234.     <meta name=\"theme-color\" content=\"#ffffff\">
  235.     <title>{% block title %}Welcome!{% endblock %}</title>
  236.     {# Run `composer require symfony/webpack-encore-bundle`
  237.            and uncomment the following Encore helpers to start using Symfony UX #}
  238.     {% block stylesheets %}
  239.         {{ encore_entry_link_tags(\x27dashboard\x27) }}
  240.     {% endblock %}
  241.     {{ encore_entry_script_tags(\x27dashboard\x27) }}
  242. {% block head %}
  243.     {% endblock %}
  244. </head>
  245. <body>
  246. {% if site_mode is defined and site_mode == \x27prod\x27 %}
  247.     <!-- Google Tag Manager (noscript) -->
  248.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-P6WW2D7\"
  249.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  250.     <!-- End Google Tag Manager (noscript) -->
  251. {% endif %}
  252. {% block body %}{% endblock %}
  253. {% block javascripts %}
  254. {% endblock %}
  255. </body>
  256. </html>
  257. ", "dashboard/layout.html.twig", "/var/www/dashboard/templates/dashboard/layout.html.twig");
  258.     }
  259. }