var/cache/dev/twig/05/0547645deebfa30516c0092b94dfdc67.php line 40

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_5bd7485704e9ace4fe96e33754edb15b 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.             'style' => [$this'block_style'],
  27.             'body_head' => [$this'block_body_head'],
  28.             'breadcrumb' => [$this'block_breadcrumb'],
  29.             'body' => [$this'block_body'],
  30.             'javascripts' => [$this'block_javascripts'],
  31.         ];
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  40.         // line 1
  41.         echo "<!DOCTYPE html>
  42. <html lang=\"fr-FR\">
  43. <head>
  44.     <meta charset=\"utf-8\">
  45.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  46.     <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  47.     <title>";
  48.         // line 9
  49.         $this->displayBlock('title'$context$blocks);
  50.         echo "</title>
  51.     <link rel=\"icon\" href=\"";
  52.         // line 11
  53.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["app_image_favicon_path"]) || array_key_exists("app_image_favicon_path"$context) ? $context["app_image_favicon_path"] : (function () { throw new RuntimeError('Variable "app_image_favicon_path" does not exist.'11$this->source); })())), "html"nulltrue);
  54.         echo "\" />
  55.     <link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" integrity=\"sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u\" crossorigin=\"anonymous\">
  56.     <link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css\">
  57.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.15.4/css/all.css\" integrity=\"sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm\" crossorigin=\"anonymous\"/>    <link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css\">
  58.     <link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/admin-lte/2.4.17/css/AdminLTE.min.css\">
  59.     <link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/admin-lte/2.4.17/css/skins/_all-skins.min.css\">
  60.     <link rel=\"stylesheet\" href=\"//cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css\">
  61.     ";
  62.         // line 19
  63.         $this->displayBlock('stylesheets'$context$blocks);
  64.         // line 20
  65.         echo "
  66.     ";
  67.         // line 21
  68.         $this->displayBlock('style'$context$blocks);
  69.         // line 22
  70.         echo "
  71.     <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  72.     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  73.     <!--[if lt IE 9]>
  74.     <script src=\"https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js\"></script>
  75.     <script src=\"https://oss.maxcdn.com/respond/1.4.2/respond.min.js\"></script>
  76.     <![endif]-->
  77.     <!-- Google Font -->
  78.     <link rel=\"stylesheet\"
  79.           href=\"https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic\">
  80.     <link rel=\"stylesheet\" href=\"";
  81.         // line 34
  82.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/css/app.css"), "html"nulltrue);
  83.         echo "\">
  84. </head>
  85. ";
  86.         // line 37
  87.         $context["bodyClass"] = ((array_key_exists("bodyClass"$context)) ? (_twig_default_filter((isset($context["bodyClass"]) || array_key_exists("bodyClass"$context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.'37$this->source); })()), "")) : (""));
  88.         // line 38
  89.         echo "<body class=\"hold-transition skin-blue sidebar-mini ";
  90.         echo twig_escape_filter($this->env, (isset($context["bodyClass"]) || array_key_exists("bodyClass"$context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.'38$this->source); })()), "html"nulltrue);
  91.         echo "\">
  92. <nav class=\"skiplinks\" role=\"navigation\" aria-label=\"Accès rapide\">
  93.     <ul>
  94.       <li><a href=\"#sidebar\">Menu</a></li>
  95.       <li><a href=\"#main-content\">Contenu</a></li>
  96.       <li><a href=\"#main-footer\">Pied de page</a></li>
  97.     </ul>
  98. </nav>
  99.     ";
  100.         // line 47
  101.         echo "    ";
  102.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
  103.             // line 48
  104.             echo "    <div class=\"banner-impersonate bg-danger text-red\">
  105.         <div>
  106.             Vous êtes actuellement connecté en tant que \"";
  107.             // line 50
  108.             echo twig_escape_filter($this->envtwig_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.'50$this->source); })()), "user", [], "any"falsefalsefalse50), "html"nulltrue);
  109.             echo "\" (";
  110.             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.'50$this->source); })()), "user", [], "any"falsefalsefalse50), "collectivity", [], "any"falsefalsefalse50), "html"nulltrue);
  111.             echo " - ";
  112.             echo twig_escape_filter($this->env$this->env->getFilter('dictionary')->getCallable()(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.'50$this->source); })()), "user", [], "any"falsefalsefalse50), "roles", [], "any"falsefalsefalse50), 0, [], "array"falsefalsefalse50), "user_user_role"), "html"nulltrue);
  113.             echo ")
  114.             <a aria-label=\"Déconnexion\" href=\"";
  115.             // line 51
  116.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_user_list", ["_switch_user" => "_exit"]);
  117.             echo "\" class=\"text-red\">
  118.                 Quitter ce mode
  119.             </a>
  120.         </div>
  121.     </div>
  122.     ";
  123.         }
  124.         // line 57
  125.         echo "
  126.     <div class=\"wrapper\">
  127.         ";
  128.         // line 60
  129.         echo twig_include($this->env$context"_header.html.twig");
  130.         echo "
  131.         <aside class=\"main-sidebar\">
  132.             ";
  133.         // line 63
  134.         echo twig_include($this->env$context"_sidebar.html.twig");
  135.         echo "
  136.         </aside>
  137.         <main id=\"main-content\" class=\"content-wrapper\" role=\"main\" tabindex=\"-1\">
  138.             <section class=\"content-header\">
  139.                 ";
  140.         // line 68
  141.         $this->displayBlock('body_head'$context$blocks);
  142.         // line 69
  143.         echo "                ";
  144.         $this->displayBlock('breadcrumb'$context$blocks);
  145.         // line 70
  146.         echo "            </section>
  147.             <section class=\"content container-fluid\">
  148.                 ";
  149.         // line 73
  150.         echo twig_include($this->env$context"_flashbag.html.twig");
  151.         echo "
  152.                 ";
  153.         // line 74
  154.         $this->displayBlock('body'$context$blocks);
  155.         // line 75
  156.         echo "            </section>
  157.         </main>
  158.         ";
  159.         // line 78
  160.         echo twig_include($this->env$context"_footer.html.twig");
  161.         echo "
  162.     </div>
  163.     <script src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.1/jquery.min.js\"></script>
  164.     <script src=\"//code.jquery.com/ui/1.12.1/jquery-ui.min.js\" integrity=\"sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=\" crossorigin=\"anonymous\"></script>
  165.     <script src=\"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js\" integrity=\"sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa\" crossorigin=\"anonymous\"></script>
  166. ";
  167.         // line 85
  168.         echo "    <script src=\"//cdnjs.cloudflare.com/ajax/libs/admin-lte/2.4.17/js/adminlte.min.js\"></script>
  169.     <script src=\"//cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/js/bootstrap-select.min.js\"></script>
  170.     <script src=\"//cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/js/i18n/defaults-fr_FR.js\"></script>
  171.     <script src=\"//cdn.jsdelivr.net/momentjs/latest/moment.min.js\"></script>
  172.     <script src=\"//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js\"></script>
  173.     <link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css\" />
  174.     ";
  175.         // line 92
  176.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("js/app");
  177.         echo "
  178.     <script>
  179.         \$.datepicker.setDefaults({
  180.             firstDay: 1,
  181.             dateFormat: 'dd/mm/yy',
  182.             closeText: 'Fermer',
  183.             prevText: 'Précédent',
  184.             nextText: 'Suivant',
  185.             currentText: 'Aujourd\\'hui',
  186.             monthNames: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
  187.             monthNamesShort: ['Janv.', 'Févr.', 'Mars', 'Avril', 'Mai', 'Juin', 'Juil.', 'Août', 'Sept.', 'Oct.', 'Nov.', 'Déc.'],
  188.             dayNames: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'],
  189.             dayNamesShort: ['Dim.', 'Lun.', 'Mar.', 'Mer.', 'Jeu.', 'Ven.', 'Sam.'],
  190.             dayNamesMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
  191.             weekHeader: 'Sem.',
  192.         });
  193.         moment.locale('fr');
  194.         \$('input[type=text].datepicker').datepicker();
  195.         \$('input[type=text].daterangepicker').daterangepicker({
  196.             locale: {
  197.                 format: 'DD/MM/YY',
  198.                 applyLabel : \"Valider\",
  199.                 cancelLabel: 'Annuler',
  200.                 daysOfWeek: ['Dim.', 'Lun.', 'Mar.', 'Mer.', 'Jeu.', 'Ven.', 'Sam.'],
  201.                 monthNames: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
  202.             }
  203.         });
  204.     </script>
  205.     ";
  206.         // line 123
  207.         $this->displayBlock('javascripts'$context$blocks);
  208.         // line 124
  209.         echo "</body>
  210. </html>
  211. ";
  212.         
  213.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  214.         
  215.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  216.     }
  217.     // line 9
  218.     public function block_title($context, array $blocks = [])
  219.     {
  220.         $macros $this->macros;
  221.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  222.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  223.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  224.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  225.         echo "Madis";
  226.         
  227.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  228.         
  229.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  230.     }
  231.     // line 19
  232.     public function block_stylesheets($context, array $blocks = [])
  233.     {
  234.         $macros $this->macros;
  235.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  237.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  238.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  239.         
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  241.         
  242.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  243.     }
  244.     // line 21
  245.     public function block_style($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""style"));
  250.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  252.         
  253.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  254.         
  255.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  256.     }
  257.     // line 68
  258.     public function block_body_head($context, array $blocks = [])
  259.     {
  260.         $macros $this->macros;
  261.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  262.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_head"));
  263.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  264.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_head"));
  265.         
  266.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  267.         
  268.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  269.     }
  270.     // line 69
  271.     public function block_breadcrumb($context, array $blocks = [])
  272.     {
  273.         $macros $this->macros;
  274.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  275.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  276.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  277.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  278.         
  279.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  280.         
  281.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  282.     }
  283.     // line 74
  284.     public function block_body($context, array $blocks = [])
  285.     {
  286.         $macros $this->macros;
  287.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  288.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  289.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  291.         
  292.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  293.         
  294.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  295.     }
  296.     // line 123
  297.     public function block_javascripts($context, array $blocks = [])
  298.     {
  299.         $macros $this->macros;
  300.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  301.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  302.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  303.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  304.         
  305.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  306.         
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  308.     }
  309.     /**
  310.      * @codeCoverageIgnore
  311.      */
  312.     public function getTemplateName()
  313.     {
  314.         return "base.html.twig";
  315.     }
  316.     /**
  317.      * @codeCoverageIgnore
  318.      */
  319.     public function isTraitable()
  320.     {
  321.         return false;
  322.     }
  323.     /**
  324.      * @codeCoverageIgnore
  325.      */
  326.     public function getDebugInfo()
  327.     {
  328.         return array (  356 => 123,  338 => 74,  320 => 69,  302 => 68,  284 => 21,  266 => 19,  247 => 9,  235 => 124,  233 => 123,  199 => 92,  190 => 85,  181 => 78,  176 => 75,  174 => 74,  170 => 73,  165 => 70,  162 => 69,  160 => 68,  152 => 63,  146 => 60,  141 => 57,  132 => 51,  124 => 50,  120 => 48,  117 => 47,  105 => 38,  103 => 37,  97 => 34,  83 => 22,  81 => 21,  78 => 20,  76 => 19,  65 => 11,  60 => 9,  50 => 1,);
  329.     }
  330.     public function getSourceContext()
  331.     {
  332.         return new Source("<!DOCTYPE html>
  333. <html lang=\"fr-FR\">
  334. <head>
  335.     <meta charset=\"utf-8\">
  336.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  337.     <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  338.     <title>{% block title %}Madis{% endblock %}</title>
  339.     <link rel=\"icon\" href=\"{{ asset(app_image_favicon_path) }}\" />
  340.     <link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" integrity=\"sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u\" crossorigin=\"anonymous\">
  341.     <link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css\">
  342.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.15.4/css/all.css\" integrity=\"sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm\" crossorigin=\"anonymous\"/>    <link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css\">
  343.     <link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/admin-lte/2.4.17/css/AdminLTE.min.css\">
  344.     <link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/admin-lte/2.4.17/css/skins/_all-skins.min.css\">
  345.     <link rel=\"stylesheet\" href=\"//cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css\">
  346.     {% block stylesheets %}{% endblock %}
  347.     {% block style %}{% endblock %}
  348.     <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  349.     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  350.     <!--[if lt IE 9]>
  351.     <script src=\"https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js\"></script>
  352.     <script src=\"https://oss.maxcdn.com/respond/1.4.2/respond.min.js\"></script>
  353.     <![endif]-->
  354.     <!-- Google Font -->
  355.     <link rel=\"stylesheet\"
  356.           href=\"https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic\">
  357.     <link rel=\"stylesheet\" href=\"{{ asset('build/css/app.css') }}\">
  358. </head>
  359. {% set bodyClass = bodyClass|default('') %}
  360. <body class=\"hold-transition skin-blue sidebar-mini {{ bodyClass }}\">
  361. <nav class=\"skiplinks\" role=\"navigation\" aria-label=\"Accès rapide\">
  362.     <ul>
  363.       <li><a href=\"#sidebar\">Menu</a></li>
  364.       <li><a href=\"#main-content\">Contenu</a></li>
  365.       <li><a href=\"#main-footer\">Pied de page</a></li>
  366.     </ul>
  367. </nav>
  368.     {# Impersonate banner #}
  369.     {% if is_granted('ROLE_PREVIOUS_ADMIN') %}
  370.     <div class=\"banner-impersonate bg-danger text-red\">
  371.         <div>
  372.             Vous êtes actuellement connecté en tant que \"{{ app.user }}\" ({{ app.user.collectivity }} - {{ app.user.roles[0]|dictionary('user_user_role') }})
  373.             <a aria-label=\"Déconnexion\" href=\"{{ path('user_user_list', {'_switch_user': '_exit'}) }}\" class=\"text-red\">
  374.                 Quitter ce mode
  375.             </a>
  376.         </div>
  377.     </div>
  378.     {% endif %}
  379.     <div class=\"wrapper\">
  380.         {{ include('_header.html.twig') }}
  381.         <aside class=\"main-sidebar\">
  382.             {{ include('_sidebar.html.twig') }}
  383.         </aside>
  384.         <main id=\"main-content\" class=\"content-wrapper\" role=\"main\" tabindex=\"-1\">
  385.             <section class=\"content-header\">
  386.                 {% block body_head %}{% endblock %}
  387.                 {% block breadcrumb %}{% endblock %}
  388.             </section>
  389.             <section class=\"content container-fluid\">
  390.                 {{ include('_flashbag.html.twig') }}
  391.                 {% block body %}{% endblock %}
  392.             </section>
  393.         </main>
  394.         {{ include('_footer.html.twig') }}
  395.     </div>
  396.     <script src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.1/jquery.min.js\"></script>
  397.     <script src=\"//code.jquery.com/ui/1.12.1/jquery-ui.min.js\" integrity=\"sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=\" crossorigin=\"anonymous\"></script>
  398.     <script src=\"//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js\" integrity=\"sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa\" crossorigin=\"anonymous\"></script>
  399. {#    <script src=\"//cdnjs.cloudflare.com/ajax/libs/jQuery-slimScroll/1.3.8/jquery.slimscroll.min.js\"></script>#}
  400.     <script src=\"//cdnjs.cloudflare.com/ajax/libs/admin-lte/2.4.17/js/adminlte.min.js\"></script>
  401.     <script src=\"//cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/js/bootstrap-select.min.js\"></script>
  402.     <script src=\"//cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/js/i18n/defaults-fr_FR.js\"></script>
  403.     <script src=\"//cdn.jsdelivr.net/momentjs/latest/moment.min.js\"></script>
  404.     <script src=\"//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js\"></script>
  405.     <link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css\" />
  406.     {{ encore_entry_script_tags('js/app') }}
  407.     <script>
  408.         \$.datepicker.setDefaults({
  409.             firstDay: 1,
  410.             dateFormat: 'dd/mm/yy',
  411.             closeText: 'Fermer',
  412.             prevText: 'Précédent',
  413.             nextText: 'Suivant',
  414.             currentText: 'Aujourd\\'hui',
  415.             monthNames: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
  416.             monthNamesShort: ['Janv.', 'Févr.', 'Mars', 'Avril', 'Mai', 'Juin', 'Juil.', 'Août', 'Sept.', 'Oct.', 'Nov.', 'Déc.'],
  417.             dayNames: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'],
  418.             dayNamesShort: ['Dim.', 'Lun.', 'Mar.', 'Mer.', 'Jeu.', 'Ven.', 'Sam.'],
  419.             dayNamesMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
  420.             weekHeader: 'Sem.',
  421.         });
  422.         moment.locale('fr');
  423.         \$('input[type=text].datepicker').datepicker();
  424.         \$('input[type=text].daterangepicker').daterangepicker({
  425.             locale: {
  426.                 format: 'DD/MM/YY',
  427.                 applyLabel : \"Valider\",
  428.                 cancelLabel: 'Annuler',
  429.                 daysOfWeek: ['Dim.', 'Lun.', 'Mar.', 'Mer.', 'Jeu.', 'Ven.', 'Sam.'],
  430.                 monthNames: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
  431.             }
  432.         });
  433.     </script>
  434.     {% block javascripts %}{% endblock %}
  435. </body>
  436. </html>
  437. ""base.html.twig""/var/www/madis/templates/base.html.twig");
  438.     }
  439. }