var/cache/dev/twig/06/06aa5f1ce6c7e21d43da1422006e675d299687227d4fafc2dc08774f3fa66704.php line 43

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_8e3b202713237446655116777e9db5a3fa28ab42d4b3c09e6adc6b183a07e213 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.             'body_head' => [$this'block_body_head'],
  28.             'navbar' => [$this'block_navbar'],
  29.             'message' => [$this'block_message'],
  30.             'modal' => [$this'block_modal'],
  31.             'body' => [$this'block_body'],
  32.             'js' => [$this'block_js'],
  33.             'footer' => [$this'block_footer'],
  34.         ];
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  43.         // line 1
  44.         echo "<!DOCTYPE html>
  45. <html>
  46.     ";
  47.         // line 4
  48.         echo "    <head>
  49.         <meta charset=\"UTF-8\">
  50.         <title>";
  51.         // line 6
  52.         $this->displayBlock('title'$context$blocks);
  53.         echo "</title>
  54.         <link rel=\"icon\" type=\"image/png\" href=\"/assets/GPU.png\"/>
  55.         ";
  56.         // line 10
  57.         echo "        ";
  58.         $this->displayBlock('stylesheets'$context$blocks);
  59.         // line 13
  60.         echo "
  61.         ";
  62.         // line 14
  63.         $this->displayBlock('javascripts'$context$blocks);
  64.         // line 17
  65.         echo "
  66.         <!-- before the closing <body> tag -->
  67.         
  68.         ";
  69.         // line 20
  70.         if (( !(null === 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.'20$this->source); })()), "user", [], "any"falsefalsefalse20)) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_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.'20$this->source); })()), "user", [], "any"falsefalsefalse20), "contact", [], "any"falsefalsefalse20)))) {
  71.             // line 21
  72.             echo "        
  73.         ";
  74.             // line 22
  75.             $context["enteprises"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'22$this->source); })()), "user", [], "any"falsefalsefalse22), "contact", [], "any"falsefalsefalse22), "enterpriseContactPositions", [], "any"falsefalsefalse22);
  76.             // line 23
  77.             echo "        ";
  78.             if ((twig_length_filter($this->env, (isset($context["enterprises"]) || array_key_exists("enterprises"$context) ? $context["enterprises"] : (function () { throw new RuntimeError('Variable "enterprises" does not exist.'23$this->source); })())) > 0)) {
  79.                 // line 24
  80.                 echo "            ";
  81.                 $context["enterprise"] = twig_get_attribute($this->env$this->source, (isset($context["enterprises"]) || array_key_exists("enterprises"$context) ? $context["enterprises"] : (function () { throw new RuntimeError('Variable "enterprises" does not exist.'24$this->source); })()), 0, [], "array"falsefalsefalse24);
  82.                 // line 25
  83.                 echo "            ";
  84.                 if ((twig_get_attribute($this->env$this->source, (isset($context["enterprise"]) || array_key_exists("enterprise"$context) ? $context["enterprise"] : (function () { throw new RuntimeError('Variable "enterprise" does not exist.'25$this->source); })()), "mainColor", [], "any"falsefalsefalse25) != "#000000")) {
  85.                     // line 26
  86.                     echo "            <style>
  87.                 .navbar{
  88.                     background-color: ";
  89.                     // line 28
  90.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["enterprise"]) || array_key_exists("enterprise"$context) ? $context["enterprise"] : (function () { throw new RuntimeError('Variable "enterprise" does not exist.'28$this->source); })()), "mainColor", [], "any"falsefalsefalse28), "html"nulltrue);
  91.                     echo " !important;
  92.                 }
  93.                 .navbar .active::after {
  94.                     border-bottom: 15px solid ";
  95.                     // line 31
  96.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["enterprise"]) || array_key_exists("enterprise"$context) ? $context["enterprise"] : (function () { throw new RuntimeError('Variable "enterprise" does not exist.'31$this->source); })()), "secondaryColor", [], "any"falsefalsefalse31), "html"nulltrue);
  97.                     echo " !important;
  98.                 }    
  99.                 .bg-footer {
  100.                     background-image: linear-gradient(to right, ";
  101.                     // line 34
  102.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["enterprise"]) || array_key_exists("enterprise"$context) ? $context["enterprise"] : (function () { throw new RuntimeError('Variable "enterprise" does not exist.'34$this->source); })()), "mainColor", [], "any"falsefalsefalse34), "html"nulltrue);
  103.                     echo ", ";
  104.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["enterprise"]) || array_key_exists("enterprise"$context) ? $context["enterprise"] : (function () { throw new RuntimeError('Variable "enterprise" does not exist.'34$this->source); })()), "secondaryColor", [], "any"falsefalsefalse34), "html"nulltrue);
  105.                     echo ") !important;
  106.                     z-index: 100;
  107.                     margin-top: 1em;
  108.                 }   
  109.                 table.dataTable thead th {
  110.                     background-color: ";
  111.                     // line 39
  112.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["enterprise"]) || array_key_exists("enterprise"$context) ? $context["enterprise"] : (function () { throw new RuntimeError('Variable "enterprise" does not exist.'39$this->source); })()), "secondaryColor", [], "any"falsefalsefalse39), "html"nulltrue);
  113.                     echo " !important;
  114.                 }
  115.             </style>
  116.         ";
  117.                 }
  118.                 // line 43
  119.                 echo "        ";
  120.             }
  121.             // line 44
  122.             echo "        ";
  123.         }
  124.         // line 45
  125.         echo "    </head>
  126.     ";
  127.         // line 46
  128.         $this->displayBlock('body_head'$context$blocks);
  129.         // line 72
  130.         echo "        ";
  131.         $this->displayBlock('navbar'$context$blocks);
  132.         // line 74
  133.         echo "
  134.         ";
  135.         // line 75
  136.         $this->displayBlock('message'$context$blocks);
  137.         // line 90
  138.         echo "        ";
  139.         $this->displayBlock('modal'$context$blocks);
  140.         // line 93
  141.         echo "        ";
  142.         $this->loadTemplate("common/_panel.html.twig""base.html.twig"93)->display($context);
  143.         // line 94
  144.         echo "        ";
  145.         $this->displayBlock('body'$context$blocks);
  146.         // line 95
  147.         echo "        ";
  148.         $this->displayBlock('js'$context$blocks);
  149.         // line 96
  150.         echo "        ";
  151.         $this->displayBlock('footer'$context$blocks);
  152.         // line 99
  153.         echo "    </body>
  154. </html>
  155. ";
  156.         
  157.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  158.         
  159.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  160.     }
  161.     // line 6
  162.     public function block_title($context, array $blocks = [])
  163.     {
  164.         $macros $this->macros;
  165.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  166.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  167.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  168.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  169.         echo "Welcome!";
  170.         
  171.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  172.         
  173.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  174.     }
  175.     // line 10
  176.     public function block_stylesheets($context, array $blocks = [])
  177.     {
  178.         $macros $this->macros;
  179.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  180.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  181.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  182.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  183.         // line 11
  184.         echo "            ";
  185.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  186.         echo "
  187.         ";
  188.         
  189.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  190.         
  191.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  192.     }
  193.     // line 14
  194.     public function block_javascripts($context, array $blocks = [])
  195.     {
  196.         $macros $this->macros;
  197.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  198.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  199.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  200.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  201.         // line 15
  202.         echo "            ";
  203.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  204.         echo "
  205.         ";
  206.         
  207.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  208.         
  209.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  210.     }
  211.     // line 46
  212.     public function block_body_head($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""body_head"));
  217.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  218.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_head"));
  219.         // line 47
  220.         echo "        ";
  221.         if (twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'47$this->source); })()), "user", [], "any"falsefalsefalse47), "roles", [], "any"falsefalsefalse47), 0, [], "array"falsefalsefalse47), [=> "ROLE_ADMIN"=> "ROLE_BUSINESSLINEMANAGER"=> "ROLE_GROUPMANAGER"])) {
  222.             // line 48
  223.             echo "            ";
  224.             $context["body_class"] = "body-admin";
  225.             // line 49
  226.             echo "        ";
  227.         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'49$this->source); })()), "user", [], "any"falsefalsefalse49), "roles", [], "any"falsefalsefalse49), 0, [], "array"falsefalsefalse49) == "ROLE_CUSTOMER")) {
  228.             // line 50
  229.             echo "            ";
  230.             $context["body_class"] = "body-customer";
  231.             // line 51
  232.             echo "        ";
  233.         } else {
  234.             // line 52
  235.             echo "            ";
  236.             $context["body_class"] = "body-provider";
  237.             // line 53
  238.             echo "        ";
  239.         }
  240.         // line 54
  241.         echo "        <body data-controller=\"hello\" class=\"";
  242.         echo twig_escape_filter($this->env, (isset($context["body_class"]) || array_key_exists("body_class"$context) ? $context["body_class"] : (function () { throw new RuntimeError('Variable "body_class" does not exist.'54$this->source); })()), "html"nulltrue);
  243.         echo "\">
  244.         <div class=\"modal\" tabindex=\"-1\" role=\"dialog\"  id=\"leModal\" >
  245.   <div class=\"modal-dialog\" role=\"document\">
  246.     <div class=\"modal-content\">
  247.       <div class=\"modal-header\">
  248.         <h5 class=\"modal-title\"></h5>
  249.         <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\" data-action=\"click->hello#modalClose\">
  250.           <span aria-hidden=\"true\">&times;</span>
  251.         </button>
  252.       </div>
  253.       <div class=\"modal-body\" id=\"toast-body\" >
  254.         <p>Modal body text goes here.</p>
  255.       </div>
  256.     </div>
  257.   </div>
  258. </div>
  259.         ";
  260.         
  261.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  262.         
  263.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  264.     }
  265.     // line 72
  266.     public function block_navbar($context, array $blocks = [])
  267.     {
  268.         $macros $this->macros;
  269.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  270.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  271.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  272.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  273.         echo "                   
  274.         ";
  275.         
  276.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  277.         
  278.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  279.     }
  280.     // line 75
  281.     public function block_message($context, array $blocks = [])
  282.     {
  283.         $macros $this->macros;
  284.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  285.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""message"));
  286.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  287.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""message"));
  288.         // line 76
  289.         echo "            <div class=\"container container-fluid\">
  290.                 <div class=\"row justify-content-md-center\">
  291.                     <div class=\"col-md-4\">
  292.                         ";
  293.         // line 79
  294.         $context['_parent'] = $context;
  295.         $context['_seq'] = twig_ensure_traversable(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.'79$this->source); })()), "flashes", [], "any"falsefalsefalse79));
  296.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  297.             // line 80
  298.             echo "                            ";
  299.             $context['_parent'] = $context;
  300.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  301.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  302.                 // line 81
  303.                 echo "                                <div class=\"alert alert-success\" style=\"text-align:center\">
  304.                                     ";
  305.                 // line 82
  306.                 echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  307.                 echo "
  308.                                 </div>
  309.                             ";
  310.             }
  311.             $_parent $context['_parent'];
  312.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  313.             $context array_intersect_key($context$_parent) + $_parent;
  314.             // line 85
  315.             echo "                        ";
  316.         }
  317.         $_parent $context['_parent'];
  318.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  319.         $context array_intersect_key($context$_parent) + $_parent;
  320.         // line 86
  321.         echo "                    </div>
  322.                 </div>
  323.             </div>
  324.         ";
  325.         
  326.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  327.         
  328.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  329.     }
  330.     // line 90
  331.     public function block_modal($context, array $blocks = [])
  332.     {
  333.         $macros $this->macros;
  334.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  335.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modal"));
  336.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  337.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modal"));
  338.         // line 91
  339.         echo "            ";
  340.         $this->loadTemplate("common/_modal.html.twig""base.html.twig"91)->display($context);
  341.         // line 92
  342.         echo "        ";
  343.         
  344.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  345.         
  346.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  347.     }
  348.     // line 94
  349.     public function block_body($context, array $blocks = [])
  350.     {
  351.         $macros $this->macros;
  352.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  353.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  354.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  355.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  356.         
  357.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  358.         
  359.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  360.     }
  361.     // line 95
  362.     public function block_js($context, array $blocks = [])
  363.     {
  364.         $macros $this->macros;
  365.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  366.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""js"));
  367.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  368.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""js"));
  369.         
  370.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  371.         
  372.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  373.     }
  374.     // line 96
  375.     public function block_footer($context, array $blocks = [])
  376.     {
  377.         $macros $this->macros;
  378.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  379.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  380.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  381.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  382.         // line 97
  383.         echo "            ";
  384.         $this->loadTemplate("common/_footer.html.twig""base.html.twig"97)->display($context);
  385.         // line 98
  386.         echo "        ";
  387.         
  388.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  389.         
  390.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  391.     }
  392.     public function getTemplateName()
  393.     {
  394.         return "base.html.twig";
  395.     }
  396.     public function isTraitable()
  397.     {
  398.         return false;
  399.     }
  400.     public function getDebugInfo()
  401.     {
  402.         return array (  446 => 98,  443 => 97,  433 => 96,  415 => 95,  397 => 94,  387 => 92,  384 => 91,  374 => 90,  361 => 86,  355 => 85,  346 => 82,  343 => 81,  338 => 80,  334 => 79,  329 => 76,  319 => 75,  299 => 72,  270 => 54,  267 => 53,  264 => 52,  261 => 51,  258 => 50,  255 => 49,  252 => 48,  249 => 47,  239 => 46,  226 => 15,  216 => 14,  203 => 11,  193 => 10,  174 => 6,  162 => 99,  159 => 96,  156 => 95,  153 => 94,  150 => 93,  147 => 90,  145 => 75,  142 => 74,  139 => 72,  137 => 46,  134 => 45,  131 => 44,  128 => 43,  121 => 39,  111 => 34,  105 => 31,  99 => 28,  95 => 26,  92 => 25,  89 => 24,  86 => 23,  84 => 22,  81 => 21,  79 => 20,  74 => 17,  72 => 14,  69 => 13,  66 => 10,  61 => 6,  57 => 4,  53 => 1,);
  403.     }
  404.     public function getSourceContext()
  405.     {
  406.         return new Source("<!DOCTYPE html>
  407. <html>
  408.     {# TODO: mettre template nav en fonction du role utilisateur #}
  409.     <head>
  410.         <meta charset=\"UTF-8\">
  411.         <title>{% block title %}Welcome!{% endblock %}</title>
  412.         <link rel=\"icon\" type=\"image/png\" href=\"/assets/GPU.png\"/>
  413.         {# Run `composer require symfony/webpack-encore-bundle`
  414.            and uncomment the following Encore helpers to start using Symfony UX #}
  415.         {% block stylesheets %}
  416.             {{ encore_entry_link_tags('app') }}
  417.         {% endblock %}
  418.         {% block javascripts %}
  419.             {{ encore_entry_script_tags('app') }}
  420.         {% endblock %}
  421.         <!-- before the closing <body> tag -->
  422.         
  423.         {% if app.user is not null and app.user.contact is not null  %}
  424.         
  425.         {% set enteprises = app.user.contact.enterpriseContactPositions %}
  426.         {% if enterprises | length > 0 %}
  427.             {% set enterprise = enterprises[0] %}
  428.             {% if enterprise.mainColor != '#000000' %}
  429.             <style>
  430.                 .navbar{
  431.                     background-color: {{enterprise.mainColor}} !important;
  432.                 }
  433.                 .navbar .active::after {
  434.                     border-bottom: 15px solid {{enterprise.secondaryColor}} !important;
  435.                 }    
  436.                 .bg-footer {
  437.                     background-image: linear-gradient(to right, {{enterprise.mainColor}}, {{enterprise.secondaryColor}}) !important;
  438.                     z-index: 100;
  439.                     margin-top: 1em;
  440.                 }   
  441.                 table.dataTable thead th {
  442.                     background-color: {{enterprise.secondaryColor}} !important;
  443.                 }
  444.             </style>
  445.         {% endif %}
  446.         {% endif %}
  447.         {% endif %}
  448.     </head>
  449.     {% block body_head %}
  450.         {% if app.user.roles[0] in ['ROLE_ADMIN','ROLE_BUSINESSLINEMANAGER','ROLE_GROUPMANAGER'] %}
  451.             {% set body_class = 'body-admin' %}
  452.         {% elseif app.user.roles[0] == 'ROLE_CUSTOMER'  %}
  453.             {% set body_class = 'body-customer' %}
  454.         {% else %}
  455.             {% set body_class = 'body-provider' %}
  456.         {% endif %}
  457.         <body data-controller=\"hello\" class=\"{{body_class}}\">
  458.         <div class=\"modal\" tabindex=\"-1\" role=\"dialog\"  id=\"leModal\" >
  459.   <div class=\"modal-dialog\" role=\"document\">
  460.     <div class=\"modal-content\">
  461.       <div class=\"modal-header\">
  462.         <h5 class=\"modal-title\"></h5>
  463.         <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\" data-action=\"click->hello#modalClose\">
  464.           <span aria-hidden=\"true\">&times;</span>
  465.         </button>
  466.       </div>
  467.       <div class=\"modal-body\" id=\"toast-body\" >
  468.         <p>Modal body text goes here.</p>
  469.       </div>
  470.     </div>
  471.   </div>
  472. </div>
  473.         {% endblock %}
  474.         {% block navbar %}                   
  475.         {% endblock %}
  476.         {% block message %}
  477.             <div class=\"container container-fluid\">
  478.                 <div class=\"row justify-content-md-center\">
  479.                     <div class=\"col-md-4\">
  480.                         {% for label, messages in app.flashes %}
  481.                             {% for message in messages %}
  482.                                 <div class=\"alert alert-success\" style=\"text-align:center\">
  483.                                     {{ message }}
  484.                                 </div>
  485.                             {% endfor %}
  486.                         {% endfor %}
  487.                     </div>
  488.                 </div>
  489.             </div>
  490.         {% endblock %}
  491.         {% block modal %}
  492.             {% include ('common/_modal.html.twig') %}
  493.         {% endblock %}
  494.         {% include 'common/_panel.html.twig' %}
  495.         {% block body %}{% endblock %}
  496.         {% block js %}{% endblock %}
  497.         {% block footer %}
  498.             {% include('common/_footer.html.twig') %}
  499.         {% endblock %}
  500.     </body>
  501. </html>
  502. ""base.html.twig""/home/apache/www/iwip-collecte.archivage.site/pub/templates/base.html.twig");
  503.     }
  504. }