var/cache/dev/twig/59/59be483dac7cc1575efeaeb82c6b6a82.php line 108

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_e5ec99612bed647975f40a265fabaef0 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.             'body' => [$this'block_body'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         // line 1
  38.         echo "<!DOCTYPE html>
  39. <html>
  40.     <head>
  41.         <meta charset=\"UTF-8\">
  42.         <title>";
  43.         // line 5
  44.         $this->displayBlock('title'$context$blocks);
  45.         echo "</title>
  46.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  47.         <script src=\"https://code.jquery.com/jquery-3.4.1.slim.min.js\" integrity=\"sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n\" crossorigin=\"anonymous\"></script>
  48.         <script src=\"https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js\" integrity=\"sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo\" crossorigin=\"anonymous\"></script>
  49.         <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css\" integrity=\"sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh\" crossorigin=\"anonymous\">
  50.         <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js\" integrity=\"sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6\" crossorigin=\"anonymous\"></script>
  51.         <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css\" integrity=\"sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  52.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  53.         <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  54.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  55.         <link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap\" rel=\"stylesheet\">
  56.         <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0\" />
  57.         <link rel=\"stylesheet\" href=\"";
  58.         // line 18
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/visa.css"), "html"nulltrue);
  60.         echo "\">
  61.         <!-- FOS JS Routing -->
  62.         <script type=\"text/javascript\" src=\"";
  63.         // line 20
  64.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/fosjsrouting/js/router.min.js"), "html"nulltrue);
  65.         echo "\"></script>
  66.         <script type=\"text/javascript\" src=\"";
  67.         // line 21
  68.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
  69.         echo "\"></script>
  70.         <script src=\"";
  71.         // line 22
  72.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/main.js"), "html"nulltrue);
  73.         echo "\"></script>
  74.         ";
  75.         // line 23
  76.         $this->displayBlock('stylesheets'$context$blocks);
  77.         // line 25
  78.         echo "    </head>
  79.     <body>
  80.         <header class=\"\">
  81.             <div class=\"bar\">
  82.                 <div class=\"content_bar\">
  83.                     <div class=\"right\"><a class=\"navbar-item\" href=\"";
  84.         // line 31
  85.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index");
  86.         echo "\">
  87.                             <img src=\"";
  88.         // line 32
  89.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/logo-qebok.png"), "html"nulltrue);
  90.         echo "\" width=\"225\" height=\"42\" alt=\"Qebok\"> 
  91.                         </a></div>
  92.                     <div class=\"left\">
  93.                         ";
  94.         // line 37
  95.         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.'37$this->source); })()), "user", [], "any"falsefalsefalse37)) {
  96.             // line 38
  97.             echo "                            <div style=\"display:flex\">
  98.                         <a class=\"nav-link\" href=\"";
  99.             // line 39
  100.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_profil_show");
  101.             echo "\"><i class=\"fa fa-user\"></i> ";
  102.             echo twig_escape_filter($this->envtwig_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.'39$this->source); })()), "user", [], "any"falsefalsefalse39), "username", [], "any"falsefalsefalse39), "html"nulltrue);
  103.             echo "</a>
  104.                             <a class=\"nav-link\" style=\"margin-left:10px;\" href=\"";
  105.             // line 40
  106.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_security_logout");
  107.             echo "\"><i class=\"fa fa-sign-out-alt\"></i></a>
  108.                             </div>
  109.                         ";
  110.         } else {
  111.             // line 43
  112.             echo "                            <a class=\"nav-link\" href=\"";
  113.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_security_login");
  114.             echo "\">S'enregistrer<span class=\"material-symbols-outlined\">lock</span></a>
  115.                         ";
  116.         }
  117.         // line 45
  118.         echo "                    </div>
  119.                 </div>
  120.             </div>
  121. ";
  122.         // line 101
  123.         echo "
  124.         </header>
  125.         <main>
  126.             ";
  127.         // line 105
  128.         $context['_parent'] = $context;
  129.         $context['_seq'] = twig_ensure_traversable(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.'105$this->source); })()), "session", [], "any"falsefalsefalse105), "flashBag", [], "any"falsefalsefalse105), "all", [], "any"falsefalsefalse105));
  130.         foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
  131.             // line 106
  132.             echo "                ";
  133.             $context['_parent'] = $context;
  134.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  135.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  136.                 // line 107
  137.                 echo "                    <div style=\"width: 80%;margin: 0 auto;padding: 20px 0;max-width: 1200px !important;\">
  138.                     <div class=\"alert alert-";
  139.                 // line 108
  140.                 echo twig_escape_filter($this->env$context["type"], "html"nulltrue);
  141.                 echo "\">
  142.                         ";
  143.                 // line 109
  144.                 echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  145.                 echo "
  146.                     </div>
  147.                     </div>
  148.                 ";
  149.             }
  150.             $_parent $context['_parent'];
  151.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  152.             $context array_intersect_key($context$_parent) + $_parent;
  153.             // line 113
  154.             echo "            ";
  155.         }
  156.         $_parent $context['_parent'];
  157.         unset($context['_seq'], $context['_iterated'], $context['type'], $context['messages'], $context['_parent'], $context['loop']);
  158.         $context array_intersect_key($context$_parent) + $_parent;
  159.         // line 114
  160.         echo "            ";
  161.         $this->displayBlock('body'$context$blocks);
  162.         // line 116
  163.         echo "        </main>
  164.         <footer>
  165.             <BR><BR>
  166.             <div class=\"footer\">
  167. ";
  168.         // line 127
  169.         echo "
  170. ";
  171.         // line 135
  172.         echo "
  173.                 <div class=\"row\" style=\"justify-content: center;\">
  174.                     Copyright © 2020 by Oxalis - All rights reserved
  175.                 </div>
  176.             </div>
  177.         </footer>
  178.         ";
  179.         // line 147
  180.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED")) {
  181.             // line 148
  182.             echo "            ";
  183.             echo twig_include($this->env$context"modals.html.twig");
  184.             echo "
  185.         ";
  186.         }
  187.         // line 150
  188.         echo "        ";
  189.         $this->displayBlock('javascripts'$context$blocks);
  190.         // line 153
  191.         echo "        
  192.     </body>
  193. </html>
  194. ";
  195.         
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  197.         
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  199.     }
  200.     // line 5
  201.     public function block_title($context, array $blocks = [])
  202.     {
  203.         $macros $this->macros;
  204.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  205.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  206.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  207.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  208.         echo "QEBOK";
  209.         
  210.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  211.         
  212.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  213.     }
  214.     // line 23
  215.     public function block_stylesheets($context, array $blocks = [])
  216.     {
  217.         $macros $this->macros;
  218.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  220.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  221.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  222.         // line 24
  223.         echo "        ";
  224.         
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  226.         
  227.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  228.     }
  229.     // line 114
  230.     public function block_body($context, array $blocks = [])
  231.     {
  232.         $macros $this->macros;
  233.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  235.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  236.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  237.         // line 115
  238.         echo "            ";
  239.         
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  241.         
  242.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  243.     }
  244.     // line 150
  245.     public function block_javascripts($context, array $blocks = [])
  246.     {
  247.         $macros $this->macros;
  248.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  249.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  250.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  252.         // line 151
  253.         echo "
  254.         ";
  255.         
  256.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  257.         
  258.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  259.     }
  260.     /**
  261.      * @codeCoverageIgnore
  262.      */
  263.     public function getTemplateName()
  264.     {
  265.         return "base.html.twig";
  266.     }
  267.     /**
  268.      * @codeCoverageIgnore
  269.      */
  270.     public function isTraitable()
  271.     {
  272.         return false;
  273.     }
  274.     /**
  275.      * @codeCoverageIgnore
  276.      */
  277.     public function getDebugInfo()
  278.     {
  279.         return array (  295 => 151,  285 => 150,  275 => 115,  265 => 114,  255 => 24,  245 => 23,  226 => 5,  213 => 153,  210 => 150,  204 => 148,  202 => 147,  188 => 135,  185 => 127,  178 => 116,  175 => 114,  169 => 113,  159 => 109,  155 => 108,  152 => 107,  147 => 106,  143 => 105,  137 => 101,  131 => 45,  125 => 43,  119 => 40,  113 => 39,  110 => 38,  108 => 37,  100 => 32,  96 => 31,  88 => 25,  86 => 23,  82 => 22,  78 => 21,  74 => 20,  69 => 18,  53 => 5,  47 => 1,);
  280.     }
  281.     public function getSourceContext()
  282.     {
  283.         return new Source("<!DOCTYPE html>
  284. <html>
  285.     <head>
  286.         <meta charset=\"UTF-8\">
  287.         <title>{% block title %}QEBOK{% endblock %}</title>
  288.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  289.         <script src=\"https://code.jquery.com/jquery-3.4.1.slim.min.js\" integrity=\"sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n\" crossorigin=\"anonymous\"></script>
  290.         <script src=\"https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js\" integrity=\"sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo\" crossorigin=\"anonymous\"></script>
  291.         <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css\" integrity=\"sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh\" crossorigin=\"anonymous\">
  292.         <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js\" integrity=\"sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6\" crossorigin=\"anonymous\"></script>
  293.         <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css\" integrity=\"sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  294.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  295.         <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  296.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  297.         <link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap\" rel=\"stylesheet\">
  298.         <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0\" />
  299.         <link rel=\"stylesheet\" href=\"{{ asset('css/visa.css') }}\">
  300.         <!-- FOS JS Routing -->
  301.         <script type=\"text/javascript\" src=\"{{ asset('bundles/fosjsrouting/js/router.min.js') }}\"></script>
  302.         <script type=\"text/javascript\" src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
  303.         <script src=\"{{ asset('js/main.js') }}\"></script>
  304.         {% block stylesheets %}
  305.         {% endblock stylesheets %}
  306.     </head>
  307.     <body>
  308.         <header class=\"\">
  309.             <div class=\"bar\">
  310.                 <div class=\"content_bar\">
  311.                     <div class=\"right\"><a class=\"navbar-item\" href=\"{{ path('index') }}\">
  312.                             <img src=\"{{ asset('img/logo-qebok.png') }}\" width=\"225\" height=\"42\" alt=\"Qebok\"> 
  313.                         </a></div>
  314.                     <div class=\"left\">
  315.                         {% if app.user %}
  316.                             <div style=\"display:flex\">
  317.                         <a class=\"nav-link\" href=\"{{ path('user_profil_show') }}\"><i class=\"fa fa-user\"></i> {{ app.user.username }}</a>
  318.                             <a class=\"nav-link\" style=\"margin-left:10px;\" href=\"{{ path('user_security_logout') }}\"><i class=\"fa fa-sign-out-alt\"></i></a>
  319.                             </div>
  320.                         {% else %}
  321.                             <a class=\"nav-link\" href=\"{{ path('user_security_login') }}\">S'enregistrer<span class=\"material-symbols-outlined\">lock</span></a>
  322.                         {% endif %}
  323.                     </div>
  324.                 </div>
  325.             </div>
  326. {#            <nav class=\"navbar navbar-expand-lg navbar-light bg-light\">#}
  327. {#                <a class=\"navbar-brand\" href=\"{{ path('index') }}\"><img src=\"{{ asset('img/logo-qebok.png') }}\"/><span>VISA</span></a>#}
  328. {#                <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarSupportedContent\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">#}
  329. {#                    <span class=\"navbar-toggler-icon\"></span>#}
  330. {#                </button>#}
  331. {#                <div class=\"collapse navbar-collapse\" id=\"navbarSupportedContent\">#}
  332. {#                    <ul class=\"navbar-nav mr-auto\">#}
  333. {#                       #}{# <li class=\"nav-item\">#}
  334. {#                            <a class=\"nav-link\" href=\"{{ path('homepage') }}\">Home <span class=\"sr-only\">(current)</span></a>#}
  335. {#                        </li>#}
  336. {#                        {% if is_granted('ROLE_ADMIN') %}#}
  337. {#                            <li class=\"nav-item\">#}
  338. {#                                <a class=\"nav-link\" href=\"{{ path('user_manage_index') }}\">Utilisateurs <span class=\"sr-only\">(current)</span></a>#}
  339. {#                            </li>#}
  340. {#                            <li class=\"nav-item\">#}
  341. {#                                <a class=\"nav-link\" href=\"{{ path('workinprogress') }}\">WorkInProgress <span class=\"sr-only\">(current)</span></a>#}
  342. {#                            </li>#}
  343. {#                        {% endif %}#}
  344. {#                        {% if is_granted('IS_AUTHENTICATED') %}#}
  345. {#                            <li class=\"nav-item\">#}
  346. {#                                <a class=\"nav-link\" href=\"{{ path('fiche_batiment_index') }}\">Fiches bâtiments <span class=\"sr-only\">(current)</span></a>#}
  347. {#                            </li>#}
  348. {#                        {% endif %}#}
  349. {#                        <li class=\"nav-item\">#}
  350. {#                            <a class=\"nav-link\" href=\"{{ path('apropos') }}\">A propos</a>#}
  351. {#                        </li>#}
  352. {#                    </ul>#}
  353. {#                    <ul class=\"navbar-nav mr-0\">#}
  354. {#                        {% if app.user %}#}
  355. {#                            <li class=\"nav-item\">#}
  356. {#                                <a class=\"nav-link\" href=\"{{ path('listePluvio') }}\">#}
  357. {#                                    Liste des calculs réalisés#}
  358. {#                                </a>#}
  359. {#                            </li>#}
  360. {#                            <li class=\"nav-item\">#}
  361. {#                                <a class=\"nav-link\" href=\"{{ path('user_profil_show') }}\">#}
  362. {#                                    <i class=\"fa fa-user\"></i> {{ app.user.username }}#}
  363. {#                                </a>#}
  364. {#                            </li>#}
  365. {#                            <li class=\"nav-item\">#}
  366. {#                                <a class=\"nav-link\" href=\"{{ path('user_security_logout') }}\"><i class=\"fa fa-sign-out-alt\"></i></a>#}
  367. {#                            </li>#}
  368. {#                        {% else %}#}
  369. {#                            <li class=\"nav-item\">#}
  370. {#                                <a class=\"nav-link\" href=\"{{ path('user_security_login') }}\">S'enregistrer<span class=\"material-symbols-outlined\">#}
  371. {#                    lock</span></a>#}
  372. {#                                <a class=\"nav-link\" href=\"{{ path('user_security_login') }}\">Connectez-vous pour enregistrer  <i class=\"fa fa-lock\"></i></a>#}
  373. {#                            </li>#}
  374. {#                        {% endif %}#}
  375. {#                    </ul>#}
  376. {#                </div>#}
  377. {#            </nav>#}
  378.         </header>
  379.         <main>
  380.             {% for type, messages in app.session.flashBag.all %}
  381.                 {% for message in messages %}
  382.                     <div style=\"width: 80%;margin: 0 auto;padding: 20px 0;max-width: 1200px !important;\">
  383.                     <div class=\"alert alert-{{ type }}\">
  384.                         {{ message }}
  385.                     </div>
  386.                     </div>
  387.                 {% endfor %}
  388.             {% endfor %}
  389.             {% block body %}
  390.             {% endblock %}
  391.         </main>
  392.         <footer>
  393.             <BR><BR>
  394.             <div class=\"footer\">
  395. {#                 <div class=\"row\">#}
  396. {#                     <a href=\"#\"><i class=\"fa fa-facebook\"></i></a>#}
  397. {#                     <a href=\"#\"><i class=\"fa fa-instagram\"></i></a>#}
  398. {#                     <a href=\"#\"><i class=\"fa fa-youtube\"></i></a>#}
  399. {#                     <a href=\"#\"><i class=\"fa fa-twitter\"></i></a>#}
  400. {#                 </div>#}
  401. {#                <div class=\"row\">
  402.                     <ul>
  403.                         <li><a href=\"https://sobro.fr/\">Accueil</a></li>
  404.                         <li><a href=\"https://sobro.fr/applis\">Applis</a></li>
  405.                         <li><a href=\"https://sobro.fr/a-propos\">A propos</a></li>
  406.                     </ul>
  407.                 </div>#}
  408.                 <div class=\"row\" style=\"justify-content: center;\">
  409.                     Copyright © 2020 by Oxalis - All rights reserved
  410.                 </div>
  411.             </div>
  412.         </footer>
  413.         {% if is_granted('IS_AUTHENTICATED') %}
  414.             {{ include('modals.html.twig') }}
  415.         {% endif %}
  416.         {% block javascripts %}
  417.         {% endblock javascripts %}
  418.         
  419.     </body>
  420. </html>
  421. ""base.html.twig""/srv/data/web/vhosts/app.qebok.fr/templates/base.html.twig");
  422.     }
  423. }