var/cache/dev/twig/16/164bcaedbd0dfe9316074931ca3a3c63ce71122bf85c45ff5f91baadf9b2b763.php line 39

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. /* Global/layout.html.twig */
  15. class __TwigTemplate_a224fe8bf0fac3f05838fabbcdad23e1bb759075a297d723897fa568d8d39753 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.             'title' => [$this'block_title'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'navigation' => [$this'block_navigation'],
  28.             'content' => [$this'block_content'],
  29.             'script' => [$this'block_script'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Global/layout.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Global/layout.html.twig"));
  39.         // line 1
  40.         yield "<!doctype html>
  41. <html class=\"left-sidebar-panel sidebar-light js flexbox flexboxlegacy no-touch csstransforms csstransforms3d no-overflowscrolling webkit chrome win js no-mobile-device custom-scroll\" style>
  42.     <head>
  43.         <meta charset=\"UTF-8\">
  44.         <title>";
  45.         // line 7
  46.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  47.         yield " </title>
  48.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\" />
  49.         <link href=\"https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800|Shadows+Into+Light\" rel=\"stylesheet\" type=\"text/css\">
  50.         ";
  51.         // line 14
  52.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  53.         yield "
  54.         <link href=\"https://cdn.datatables.net/buttons/2.4.2/css/buttons.dataTables.min.css\" rel=\"stylesheet\"/>
  55.         ";
  56.         // line 18
  57.         yield from $this->unwrap()->yieldBlock('stylesheets'$context$blocks);
  58.         // line 21
  59.         yield "
  60.     </head>
  61.     <body>
  62.         <section class=\"body\">
  63.             ";
  64.         // line 27
  65.         yield from         $this->loadTemplate("Global/header.html.twig""Global/layout.html.twig"27)->unwrap()->yield($context);
  66.         // line 28
  67.         yield "
  68.             <div class=\"inner-wrapper\">
  69.                 ";
  70.         // line 31
  71.         yield from         $this->loadTemplate("Global/sidebar.html.twig""Global/layout.html.twig"31)->unwrap()->yield($context);
  72.         // line 32
  73.         yield "
  74.                 <section role=\"main\" class=\"content-body\">
  75.                     ";
  76.         // line 35
  77.         yield from $this->unwrap()->yieldBlock('navigation'$context$blocks);
  78.         // line 37
  79.         yield "
  80.                     ";
  81.         // line 39
  82.         $context['_parent'] = $context;
  83.         $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.'39$this->source); })()), "flashes", [], "any"falsefalsefalse39));
  84.         $context['loop'] = [
  85.           'parent' => $context['_parent'],
  86.           'index0' => 0,
  87.           'index'  => 1,
  88.           'first'  => true,
  89.         ];
  90.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  91.             $length count($context['_seq']);
  92.             $context['loop']['revindex0'] = $length 1;
  93.             $context['loop']['revindex'] = $length;
  94.             $context['loop']['length'] = $length;
  95.             $context['loop']['last'] = === $length;
  96.         }
  97.         foreach ($context['_seq'] as $context["type"] => $context["notifications"]) {
  98.             // line 40
  99.             yield "                        ";
  100.             $context['_parent'] = $context;
  101.             $context['_seq'] = CoreExtension::ensureTraversable($context["notifications"]);
  102.             $context['loop'] = [
  103.               'parent' => $context['_parent'],
  104.               'index0' => 0,
  105.               'index'  => 1,
  106.               'first'  => true,
  107.             ];
  108.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  109.                 $length count($context['_seq']);
  110.                 $context['loop']['revindex0'] = $length 1;
  111.                 $context['loop']['revindex'] = $length;
  112.                 $context['loop']['length'] = $length;
  113.                 $context['loop']['last'] = === $length;
  114.             }
  115.             foreach ($context['_seq'] as $context["_key"] => $context["notification"]) {
  116.                 // line 41
  117.                 yield "                            ";
  118.                 yield from                 $this->loadTemplate("Global/alert.html.twig""Global/layout.html.twig"41)->unwrap()->yield(CoreExtension::merge($context, ["text" => $context["notification"], "type" => $context["type"], "notAdmissible" => true]));
  119.                 // line 42
  120.                 yield "                        ";
  121.                 ++$context['loop']['index0'];
  122.                 ++$context['loop']['index'];
  123.                 $context['loop']['first'] = false;
  124.                 if (isset($context['loop']['length'])) {
  125.                     --$context['loop']['revindex0'];
  126.                     --$context['loop']['revindex'];
  127.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  128.                 }
  129.             }
  130.             $_parent $context['_parent'];
  131.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notification'], $context['_parent'], $context['loop']);
  132.             $context array_intersect_key($context$_parent) + $_parent;
  133.             // line 43
  134.             yield "                    ";
  135.             ++$context['loop']['index0'];
  136.             ++$context['loop']['index'];
  137.             $context['loop']['first'] = false;
  138.             if (isset($context['loop']['length'])) {
  139.                 --$context['loop']['revindex0'];
  140.                 --$context['loop']['revindex'];
  141.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  142.             }
  143.         }
  144.         $_parent $context['_parent'];
  145.         unset($context['_seq'], $context['_iterated'], $context['type'], $context['notifications'], $context['_parent'], $context['loop']);
  146.         $context array_intersect_key($context$_parent) + $_parent;
  147.         // line 44
  148.         yield "
  149.                     ";
  150.         // line 45
  151.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  152.         // line 47
  153.         yield "                </section>
  154.             </div>
  155.         </section>
  156.         ";
  157.         // line 55
  158.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  159.         yield "
  160.         <script src=\"https://cdn.datatables.net/buttons/2.4.2/js/dataTables.buttons.min.js\"></script>
  161.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js\"></script>
  162.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js\"></script>
  163.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js\"></script>
  164.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js\"></script>
  165.         <script src=\"https://cdn.datatables.net/buttons/2.4.2/js/buttons.html5.min.js\"></script>
  166.         <script src=\"https://cdn.datatables.net/buttons/2.4.2/js/buttons.print.min.js\"></script>
  167.         ";
  168.         // line 63
  169.         yield from $this->unwrap()->yieldBlock('script'$context$blocks);
  170.         // line 65
  171.         yield "
  172.     </body>
  173. </html>";
  174.         
  175.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  176.         
  177.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  178.         return; yield '';
  179.     }
  180.     // line 7
  181.     public function block_title($context, array $blocks = [])
  182.     {
  183.         $macros $this->macros;
  184.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  185.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  186.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  187.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  188.         
  189.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  190.         
  191.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  192.         return; yield '';
  193.     }
  194.     // line 18
  195.     public function block_stylesheets($context, array $blocks = [])
  196.     {
  197.         $macros $this->macros;
  198.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  199.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  200.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  201.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  202.         // line 19
  203.         yield "
  204.         ";
  205.         
  206.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  207.         
  208.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  209.         return; yield '';
  210.     }
  211.     // line 35
  212.     public function block_navigation($context, array $blocks = [])
  213.     {
  214.         $macros $this->macros;
  215.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  216.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  217.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  218.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  219.         // line 36
  220.         yield "                    ";
  221.         
  222.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  223.         
  224.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  225.         return; yield '';
  226.     }
  227.     // line 45
  228.     public function block_content($context, array $blocks = [])
  229.     {
  230.         $macros $this->macros;
  231.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  232.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  233.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  234.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  235.         // line 46
  236.         yield "                    ";
  237.         
  238.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  239.         
  240.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  241.         return; yield '';
  242.     }
  243.     // line 63
  244.     public function block_script($context, array $blocks = [])
  245.     {
  246.         $macros $this->macros;
  247.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  248.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  249.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  250.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  251.         // line 64
  252.         yield "        ";
  253.         
  254.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  255.         
  256.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  257.         return; yield '';
  258.     }
  259.     /**
  260.      * @codeCoverageIgnore
  261.      */
  262.     public function getTemplateName()
  263.     {
  264.         return "Global/layout.html.twig";
  265.     }
  266.     /**
  267.      * @codeCoverageIgnore
  268.      */
  269.     public function isTraitable()
  270.     {
  271.         return false;
  272.     }
  273.     /**
  274.      * @codeCoverageIgnore
  275.      */
  276.     public function getDebugInfo()
  277.     {
  278.         return array (  305 => 64,  295 => 63,  284 => 46,  274 => 45,  263 => 36,  253 => 35,  241 => 19,  231 => 18,  212 => 7,  198 => 65,  196 => 63,  185 => 55,  175 => 47,  173 => 45,  170 => 44,  156 => 43,  142 => 42,  139 => 41,  121 => 40,  104 => 39,  100 => 37,  98 => 35,  93 => 32,  91 => 31,  86 => 28,  84 => 27,  76 => 21,  74 => 18,  67 => 14,  57 => 7,  49 => 1,);
  279.     }
  280.     public function getSourceContext()
  281.     {
  282.         return new Source("<!doctype html>
  283. <html class=\"left-sidebar-panel sidebar-light js flexbox flexboxlegacy no-touch csstransforms csstransforms3d no-overflowscrolling webkit chrome win js no-mobile-device custom-scroll\" style>
  284.     <head>
  285.         <meta charset=\"UTF-8\">
  286.         <title>{% block title %}{% endblock %} </title>
  287.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\" />
  288.         <link href=\"https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800|Shadows+Into+Light\" rel=\"stylesheet\" type=\"text/css\">
  289.         {{ encore_entry_link_tags('app') }}
  290.         <link href=\"https://cdn.datatables.net/buttons/2.4.2/css/buttons.dataTables.min.css\" rel=\"stylesheet\"/>
  291.         {% block stylesheets %}
  292.         {% endblock %}
  293.     </head>
  294.     <body>
  295.         <section class=\"body\">
  296.             {% include 'Global/header.html.twig' %}
  297.             <div class=\"inner-wrapper\">
  298.                 {% include 'Global/sidebar.html.twig' %}
  299.                 <section role=\"main\" class=\"content-body\">
  300.                     {% block navigation %}
  301.                     {% endblock %}
  302.                     {% for type, notifications in app.flashes %}
  303.                         {% for notification in notifications %}
  304.                             {% include \"Global/alert.html.twig\" with {text: notification, type: type, notAdmissible: true} %}
  305.                         {% endfor %}
  306.                     {% endfor %}
  307.                     {% block content %}
  308.                     {% endblock %}
  309.                 </section>
  310.             </div>
  311.         </section>
  312.         {{ encore_entry_script_tags('app') }}
  313.         <script src=\"https://cdn.datatables.net/buttons/2.4.2/js/dataTables.buttons.min.js\"></script>
  314.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js\"></script>
  315.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js\"></script>
  316.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js\"></script>
  317.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js\"></script>
  318.         <script src=\"https://cdn.datatables.net/buttons/2.4.2/js/buttons.html5.min.js\"></script>
  319.         <script src=\"https://cdn.datatables.net/buttons/2.4.2/js/buttons.print.min.js\"></script>
  320.         {% block script %}
  321.         {% endblock %}
  322.     </body>
  323. </html>""Global/layout.html.twig""/home/amicala/www/Amicale/templates/Global/layout.html.twig");
  324.     }
  325. }