var/cache/dev/twig/71/71ed0754366d53ea4bfbdef6a0046426a9b3869591eb8e7eb56a7cd06c64dfec.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\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* base.html.twig */
  14. class __TwigTemplate_c7532342782ae44607cea84849e8d79d56976e1691caa8305513e906faa07a84 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.             'sousTitre' => [$this'block_sousTitre'],
  28.             'sousSousTitre' => [$this'block_sousSousTitre'],
  29.             'body' => [$this'block_body'],
  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""base.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""base.html.twig"));
  39.         // line 1
  40.         echo "<!DOCTYPE html>
  41. <html>
  42.     <head>
  43.         <meta charset=\"UTF-8\">
  44.         <title>";
  45.         // line 5
  46.         $this->displayBlock('title'$context$blocks);
  47.         echo "</title>
  48.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
  49.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  50.         // line 7
  51.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favicon.png"), "html"nulltrue);
  52.         echo "\">
  53.         <link rel=\"stylesheet\" href=\"";
  54.         // line 8
  55.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/opentip.css"), "html"nulltrue);
  56.         echo "\">
  57.         <link rel=\"stylesheet\" href=\"";
  58.         // line 9
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/styles.css"), "html"nulltrue);
  60.         echo "\">
  61.         <script src=\"https://cdn.tailwindcss.com\"></script>
  62.         ";
  63.         // line 12
  64.         $this->displayBlock('stylesheets'$context$blocks);
  65.         // line 15
  66.         echo "
  67.         ";
  68.         // line 16
  69.         $this->displayBlock('javascripts'$context$blocks);
  70.         // line 19
  71.         echo "    </head>
  72.     <body>
  73.         <div class=\"min-h-screen p-1 md:p-8 bg-gray-200\">
  74.             <div class=\"container mx-auto max-w-screen-lg min-h-max b\">
  75.                 <div class=\"synapse-topbar text-white flex justify-between\">
  76.                     <h1 class=\" text-xl\"><a href=\"";
  77.         // line 24
  78.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_homepage");
  79.         echo "\">Synapse</a></h1>
  80.                     ";
  81.         // line 26
  82.         if (twig_get_attribute($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); })()), "user", [], "any"falsefalsefalse26)) {
  83.             // line 27
  84.             echo "                    <!-- Icône utilisateur avec menu déroulant -->
  85.                     <div class=\"md:float-right group relative\">
  86.                         <div id=\"user-icon-hover-JS\" class=\"cursor-pointer\">
  87.                             <svg class=\"w-6 h-6 text-gray-600\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\">
  88.                                 <path fill=\"#ffffff\" d=\"M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z\"/>
  89.                             </svg>
  90.                         </div>
  91.                         <div id=\"user-menu-hover-JS\" class=\"absolute right-0 mt-2 w-48 bg-white rounded-lg shadow-2xl z-20 text-sm text-gray-700 hidden\">
  92.                             <a href=\"";
  93.             // line 35
  94.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_info_show");
  95.             echo "\" class=\"block px-4 py-2 rounded-t-lg hover:bg-gray-100\">Mes informations professionnelles</a>
  96.                             <a href=\"";
  97.             // line 36
  98.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_mes_marches");
  99.             echo "\" class=\"block px-4 py-2 rounded-b-lg hover:bg-gray-100\">Mes marchés</a>
  100.                         </div>
  101.                     </div>
  102.                     ";
  103.         }
  104.         // line 40
  105.         echo "
  106.                 </div>
  107.                 <div>
  108.                     <div>
  109.                         <p>";
  110.         // line 44
  111.         $this->displayBlock('sousTitre'$context$blocks);
  112.         echo "</p>
  113.                         <p>";
  114.         // line 45
  115.         $this->displayBlock('sousSousTitre'$context$blocks);
  116.         echo "</p>
  117.                     </div>
  118.                 </div>
  119.                 <div class=\"mb-8\"></div>
  120.                 ";
  121.         // line 49
  122.         $this->loadTemplate("_partials/flash.html.twig""base.html.twig"49)->display($context);
  123.         // line 50
  124.         echo "                <!-- Carte Principale -->
  125.                 ";
  126.         // line 51
  127.         $this->displayBlock('body'$context$blocks);
  128.         // line 52
  129.         echo "
  130.             </div>
  131.         </div>
  132.         <script src=\"";
  133.         // line 55
  134.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/script.js"), "html"nulltrue);
  135.         echo "\"></script>
  136.     </body>
  137. </html>
  138. ";
  139.         
  140.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  141.         
  142.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  143.     }
  144.     // line 5
  145.     public function block_title($context, array $blocks = [])
  146.     {
  147.         $macros $this->macros;
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  152.         echo "Welcome!";
  153.         
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  155.         
  156.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  157.     }
  158.     // line 12
  159.     public function block_stylesheets($context, array $blocks = [])
  160.     {
  161.         $macros $this->macros;
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  166.         // line 13
  167.         echo "            ";
  168.         echo twig_escape_filter($this->env$this->env->getFunction('encore_entry_link_tags')->getCallable()("app"), "html"nulltrue);
  169.         echo "
  170.         ";
  171.         
  172.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  173.         
  174.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  175.     }
  176.     // line 16
  177.     public function block_javascripts($context, array $blocks = [])
  178.     {
  179.         $macros $this->macros;
  180.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  181.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  182.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  183.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  184.         // line 17
  185.         echo "            ";
  186.         echo twig_escape_filter($this->env$this->env->getFunction('encore_entry_script_tags')->getCallable()("app"), "html"nulltrue);
  187.         echo "
  188.         ";
  189.         
  190.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  191.         
  192.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  193.     }
  194.     // line 44
  195.     public function block_sousTitre($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""sousTitre"));
  200.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  201.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sousTitre"));
  202.         
  203.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  204.         
  205.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  206.     }
  207.     // line 45
  208.     public function block_sousSousTitre($context, array $blocks = [])
  209.     {
  210.         $macros $this->macros;
  211.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  212.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sousSousTitre"));
  213.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  214.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sousSousTitre"));
  215.         
  216.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  217.         
  218.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  219.     }
  220.     // line 51
  221.     public function block_body($context, array $blocks = [])
  222.     {
  223.         $macros $this->macros;
  224.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  225.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  226.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  227.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  228.         
  229.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  230.         
  231.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  232.     }
  233.     /**
  234.      * @codeCoverageIgnore
  235.      */
  236.     public function getTemplateName()
  237.     {
  238.         return "base.html.twig";
  239.     }
  240.     /**
  241.      * @codeCoverageIgnore
  242.      */
  243.     public function isTraitable()
  244.     {
  245.         return false;
  246.     }
  247.     /**
  248.      * @codeCoverageIgnore
  249.      */
  250.     public function getDebugInfo()
  251.     {
  252.         return array (  260 => 51,  242 => 45,  224 => 44,  211 => 17,  201 => 16,  188 => 13,  178 => 12,  159 => 5,  145 => 55,  140 => 52,  138 => 51,  135 => 50,  133 => 49,  126 => 45,  122 => 44,  116 => 40,  109 => 36,  105 => 35,  95 => 27,  93 => 26,  88 => 24,  81 => 19,  79 => 16,  76 => 15,  74 => 12,  68 => 9,  64 => 8,  60 => 7,  55 => 5,  49 => 1,);
  253.     }
  254.     public function getSourceContext()
  255.     {
  256.         return new Source("<!DOCTYPE html>
  257. <html>
  258.     <head>
  259.         <meta charset=\"UTF-8\">
  260.         <title>{% block title %}Welcome!{% endblock %}</title>
  261.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
  262.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('assets/img/favicon.png') }}\">
  263.         <link rel=\"stylesheet\" href=\"{{ asset('assets/css/opentip.css') }}\">
  264.         <link rel=\"stylesheet\" href=\"{{ asset('assets/css/styles.css') }}\">
  265.         <script src=\"https://cdn.tailwindcss.com\"></script>
  266.         {% block stylesheets %}
  267.             {{ encore_entry_link_tags('app') }}
  268.         {% endblock %}
  269.         {% block javascripts %}
  270.             {{ encore_entry_script_tags('app') }}
  271.         {% endblock %}
  272.     </head>
  273.     <body>
  274.         <div class=\"min-h-screen p-1 md:p-8 bg-gray-200\">
  275.             <div class=\"container mx-auto max-w-screen-lg min-h-max b\">
  276.                 <div class=\"synapse-topbar text-white flex justify-between\">
  277.                     <h1 class=\" text-xl\"><a href=\"{{ path('front_homepage') }}\">Synapse</a></h1>
  278.                     {% if app.user %}
  279.                     <!-- Icône utilisateur avec menu déroulant -->
  280.                     <div class=\"md:float-right group relative\">
  281.                         <div id=\"user-icon-hover-JS\" class=\"cursor-pointer\">
  282.                             <svg class=\"w-6 h-6 text-gray-600\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\">
  283.                                 <path fill=\"#ffffff\" d=\"M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z\"/>
  284.                             </svg>
  285.                         </div>
  286.                         <div id=\"user-menu-hover-JS\" class=\"absolute right-0 mt-2 w-48 bg-white rounded-lg shadow-2xl z-20 text-sm text-gray-700 hidden\">
  287.                             <a href=\"{{ path('user_info_show') }}\" class=\"block px-4 py-2 rounded-t-lg hover:bg-gray-100\">Mes informations professionnelles</a>
  288.                             <a href=\"{{ path('user_mes_marches') }}\" class=\"block px-4 py-2 rounded-b-lg hover:bg-gray-100\">Mes marchés</a>
  289.                         </div>
  290.                     </div>
  291.                     {% endif %}
  292.                 </div>
  293.                 <div>
  294.                     <div>
  295.                         <p>{% block sousTitre %}{% endblock %}</p>
  296.                         <p>{% block sousSousTitre %}{% endblock %}</p>
  297.                     </div>
  298.                 </div>
  299.                 <div class=\"mb-8\"></div>
  300.                 {% include '_partials/flash.html.twig' %}
  301.                 <!-- Carte Principale -->
  302.                 {% block body %}{% endblock %}
  303.             </div>
  304.         </div>
  305.         <script src=\"{{ asset('assets/js/script.js') }}\"></script>
  306.     </body>
  307. </html>
  308. ""base.html.twig""/home/essentielles/www/templates/base.html.twig");
  309.     }
  310. }