var/cache/dev/twig/24/244d45c56d088ab6fdfafb58dca5b197.php line 246

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* layout/backEndLayout.html.twig */
  16. class __TwigTemplate_105b46d638235962bcc48d5c61ae4304 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'title' => [$this'block_title'],
  30.             'main' => [$this'block_main'],
  31.             'sidebar' => [$this'block_sidebar'],
  32.             'identification' => [$this'block_identification'],
  33.             'menu' => [$this'block_menu'],
  34.             'header' => [$this'block_header'],
  35.             'content' => [$this'block_content'],
  36.             'footer' => [$this'block_footer'],
  37.             'javascripts' => [$this'block_javascripts'],
  38.         ];
  39.     }
  40.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  41.     {
  42.         // line 1
  43.         return "layout/base.html.twig";
  44.     }
  45.     protected function doDisplay(array $context, array $blocks = []): iterable
  46.     {
  47.         $macros $this->macros;
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout/backEndLayout.html.twig"));
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout/backEndLayout.html.twig"));
  52.         $this->parent $this->loadTemplate("layout/base.html.twig""layout/backEndLayout.html.twig"1);
  53.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  54.         
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.     }
  59.     // line 2
  60.     /**
  61.      * @return iterable<null|scalar|\Stringable>
  62.      */
  63.     public function block_stylesheets(array $context, array $blocks = []): iterable
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  70.         // line 3
  71.         yield "    ";
  72.         yield from $this->yieldParentBlock("stylesheets"$context$blocks);
  73.         yield "
  74.     <link href=\"";
  75.         // line 4
  76.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/grasp_mobile_progress_circle-1.0.0.min.css"), "html"nulltrue);
  77.         yield "\" rel=\"stylesheet\" type=\"text/css\" />
  78.     <link href=\"";
  79.         // line 5
  80.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/jquery.mCustomScrollbar.css"), "html"nulltrue);
  81.         yield "\" rel=\"stylesheet\" type=\"text/css\" />
  82.     <link rel=\"stylesheet\" href=\"";
  83.         // line 6
  84.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css"), "html"nulltrue);
  85.         yield "\">
  86.         <link href=\"";
  87.         // line 8
  88.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.blue.css"), "html"nulltrue);
  89.         yield "\" rel=\"stylesheet\" type=\"text/css\" />
  90.     ";
  91.         
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.         yield from [];
  96.     }
  97.     // line 10
  98.     /**
  99.      * @return iterable<null|scalar|\Stringable>
  100.      */
  101.     public function block_title(array $context, array $blocks = []): iterable
  102.     {
  103.         $macros $this->macros;
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  108.         // line 11
  109.         yield "        ";
  110.         yield from $this->yieldParentBlock("title"$context$blocks);
  111.         yield "
  112.         /Administration 
  113.     ";
  114.         
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  116.         
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  118.         yield from [];
  119.     }
  120.     // line 14
  121.     /**
  122.      * @return iterable<null|scalar|\Stringable>
  123.      */
  124.     public function block_main(array $context, array $blocks = []): iterable
  125.     {
  126.         $macros $this->macros;
  127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  131.         // line 15
  132.         yield "
  133.         ";
  134.         // line 16
  135.         yield from $this->unwrap()->yieldBlock('sidebar'$context$blocks);
  136.         // line 308
  137.         yield "            <div class=\"page home-page\">
  138.                 ";
  139.         // line 309
  140.         yield from $this->unwrap()->yieldBlock('header'$context$blocks);
  141.         // line 457
  142.         yield "
  143.         </div>
  144.         <section class=\" section-padding row\">
  145.             <article class=\"row\">
  146.                 <aside class=\"col-2\"></aside>
  147.                 <section class=\"col-10\">
  148.                     ";
  149.         // line 464
  150.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  151.         // line 465
  152.         yield "                </section>
  153.             </article>
  154.         </section>
  155.     ";
  156.         
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  158.         
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  160.         yield from [];
  161.     }
  162.     // line 16
  163.     /**
  164.      * @return iterable<null|scalar|\Stringable>
  165.      */
  166.     public function block_sidebar(array $context, array $blocks = []): iterable
  167.     {
  168.         $macros $this->macros;
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  173.         // line 17
  174.         yield "            <nav class=\"side-navbar\">
  175.                 <div class=\"side-navbar-wrapper\">
  176.                     ";
  177.         // line 19
  178.         yield from $this->unwrap()->yieldBlock('identification'$context$blocks);
  179.         // line 44
  180.         yield "                        ";
  181.         yield from $this->unwrap()->yieldBlock('menu'$context$blocks);
  182.         // line 304
  183.         yield "
  184.                     </div>
  185.                 </nav>
  186.             ";
  187.         
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  189.         
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  191.         yield from [];
  192.     }
  193.     // line 19
  194.     /**
  195.      * @return iterable<null|scalar|\Stringable>
  196.      */
  197.     public function block_identification(array $context, array $blocks = []): iterable
  198.     {
  199.         $macros $this->macros;
  200.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  201.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""identification"));
  202.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  203.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""identification"));
  204.         // line 20
  205.         yield "                        <div class=\"sidenav-header d-flex align-items-center justify-content-center\">
  206.                             <div class=\"sidenav-header-inner text-center\">
  207.                                 <img src=";
  208.         // line 22
  209.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  210.             yield " \"";
  211.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($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), "avatar", [75], "method"falsefalsefalse22), "html"nulltrue);
  212.             yield "\" ";
  213.         } else {
  214.             yield " ";
  215.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/avatar-2.jpg"), "html"nulltrue);
  216.             yield " ";
  217.         }
  218.         yield " class=\"img-fluid rounded-circle\" alt=\"user-avatar\">
  219.                                     <h2 class=\"h5 text-uppercase\"></h2>
  220.                                     <span class=\"text-uppercase\">
  221.                                         ";
  222.         // line 25
  223.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  224.             // line 26
  225.             yield "                                            ";
  226.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'26$this->source); })()), "user", [], "any"falsefalsefalse26), "username", [], "any"falsefalsefalse26), "html"nulltrue);
  227.             yield "
  228.                                         ";
  229.         }
  230.         // line 28
  231.         yield "                                    </span>
  232.                                 </div>
  233.                                 <div class=\"sidenav-header-logo\">
  234.                                     <a href=\"index.html\" class=\"brand-small text-center\">
  235.                                         <strong></strong>
  236.                                         <strong class=\"text-primary\">
  237.                                             D                                     
  238.                                                                                                                                                                                                                         
  239.                                                                                                                                                                             
  240.                                                                                                                                 
  241.                                                                                     
  242.                                         </strong>
  243.                                     </a>
  244.                                 </div>
  245.                             </div>
  246.                         ";
  247.         
  248.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  249.         
  250.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  251.         yield from [];
  252.     }
  253.     // line 44
  254.     /**
  255.      * @return iterable<null|scalar|\Stringable>
  256.      */
  257.     public function block_menu(array $context, array $blocks = []): iterable
  258.     {
  259.         $macros $this->macros;
  260.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  261.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  262.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  263.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  264.         // line 45
  265.         yield "                            <div class=\"main-menu\">
  266.                                 <ul id=\"side-main-menu\" class=\"side-menu list-unstyled\">
  267.                                    ";
  268.         // line 49
  269.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
  270.             // line 50
  271.             yield "
  272.                                     <li class=\"";
  273.             // line 51
  274.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'51$this->source); })()), "request", [], "any"falsefalsefalse51), "attributes", [], "any"falsefalsefalse51), "get", ["_route"], "method"falsefalsefalse51) == "admin_school_years")) {
  275.                 yield "active";
  276.             }
  277.             yield "\">
  278.                                         <a href=\"";
  279.             // line 52
  280.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_school_years");
  281.             yield "\">
  282.                                             <i class=\"fa fa-calendar\" aria-hidden=\"true\"></i>
  283.                                             Années scolaires                                                                                                        
  284.                                         </a>
  285.                                     </li>
  286.                                     <li class=\"";
  287.             // line 57
  288.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'57$this->source); })()), "request", [], "any"falsefalsefalse57), "attributes", [], "any"falsefalsefalse57), "get", ["_route"], "method"falsefalsefalse57) == "admin_quaters")) {
  289.                 yield "active";
  290.             }
  291.             yield "\">
  292.                                         <a href=\"";
  293.             // line 58
  294.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_quaters");
  295.             yield "\">
  296.                                             <i class=\"fa fa-calendar-check-o\" aria-hidden=\"true\"></i>
  297.                                             Trimestres                                      
  298.                                         </a>
  299.                                     </li>
  300.                                     <li class=\"";
  301.             // line 63
  302.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'63$this->source); })()), "request", [], "any"falsefalsefalse63), "attributes", [], "any"falsefalsefalse63), "get", ["_route"], "method"falsefalsefalse63) == "admin_sequences")) {
  303.                 yield "active";
  304.             }
  305.             yield "\">
  306.                                         <a href=\"";
  307.             // line 64
  308.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_sequences");
  309.             yield "\">
  310.                                             <i class=\"fa fa-calendar-minus-o\" aria-hidden=\"true\"></i>
  311.                                             Séquences
  312.                                          </a>
  313.                                     </li>
  314.                                     <li class=\"";
  315.             // line 70
  316.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'70$this->source); })()), "request", [], "any"falsefalsefalse70), "attributes", [], "any"falsefalsefalse70), "get", ["_route"], "method"falsefalsefalse70) == "admin_programs")) {
  317.                 yield "active";
  318.             }
  319.             yield "\">
  320.                                         <a href=\"";
  321.             // line 71
  322.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_programs");
  323.             yield "\">
  324.                                             <i class=\"fa fa-table\" aria-hidden=\"true\"></i>
  325.                                             Programmes
  326.                                           </a>
  327.                                     </li>
  328.                                     <li class=\"";
  329.             // line 76
  330.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'76$this->source); })()), "request", [], "any"falsefalsefalse76), "attributes", [], "any"falsefalsefalse76), "get", ["_route"], "method"falsefalsefalse76) == "admin_sections")) {
  331.                 yield "active";
  332.             }
  333.             yield "\">
  334.                                         <a href=\"";
  335.             // line 77
  336.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_sections");
  337.             yield "\">
  338.                                             <i class=\"fa fa-th-large\" aria-hidden=\"true\"></i>
  339.                                             Sections
  340.                                                                                                                                                                                                                                                                                                                                     
  341.                                                                                                                                                                                                                                                                                     
  342.                                                                                                                                                                                                                                     
  343.                                                                                                                                                                                     
  344.                                                                                                                                     
  345.                                                                                     
  346.                                         </a>
  347.                                     </li>
  348.                                     <li class=\"";
  349.             // line 88
  350.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'88$this->source); })()), "request", [], "any"falsefalsefalse88), "attributes", [], "any"falsefalsefalse88), "get", ["_route"], "method"falsefalsefalse88) == "admin_cycles")) {
  351.                 yield "active";
  352.             }
  353.             yield "\">
  354.                                         <a href=\"";
  355.             // line 89
  356.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_cycles");
  357.             yield "\">
  358.                                             <i class=\"fa fa-th-list\" aria-hidden=\"true\"></i>
  359.                                             Cycles
  360.                                                                                                                                                                                                                                                                                                                                     
  361.                                                                                                                                                                                                                                                                                     
  362.                                                                                                                                                                                                                                     
  363.                                                                                                                                                                                     
  364.                                                                                                                                     
  365.                                                                                     
  366.                                         </a>
  367.                                     </li>
  368.                                     <li class=\"";
  369.             // line 100
  370.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'100$this->source); })()), "request", [], "any"falsefalsefalse100), "attributes", [], "any"falsefalsefalse100), "get", ["_route"], "method"falsefalsefalse100) == "admin_levels")) {
  371.                 yield "active";
  372.             }
  373.             yield "\">
  374.                                         <a href=\"";
  375.             // line 101
  376.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_levels");
  377.             yield "\">
  378.                                             <i class=\"fa fa-list-ul\" aria-hidden=\"true\"></i>
  379.                                             Niveaux
  380.                                                                                                                                                                                                                                                                                                                                     
  381.                                                                                                                                                                                                                                                                                     
  382.                                                                                                                                                                                                                                     
  383.                                                                                                                                                                                     
  384.                                                                                                                                     
  385.                                                                                     
  386.                                         </a>
  387.                                     </li>
  388.                                   
  389.                                     <li class=\"";
  390.             // line 114
  391.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'114$this->source); })()), "request", [], "any"falsefalsefalse114), "attributes", [], "any"falsefalsefalse114), "get", ["_route"], "method"falsefalsefalse114) == "admin_modules")) {
  392.                 yield "active";
  393.             }
  394.             yield "\">
  395.                                         <a href=\"";
  396.             // line 115
  397.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_modules");
  398.             yield "\">
  399.                                             <i class=\"fa fa-folder-open-o\" aria-hidden=\"true\"></i>
  400.                                             Module
  401.                                                                                                                                                                                                                                                                                                                                                         
  402.                                                                                                                                                                                                                                                                                                     
  403.                                                                                                                                                                                                                                                 
  404.                                                                                                                                                                                             
  405.                                                                                                                                         
  406.                                                                                     
  407.                                         </a>
  408.                                     </li>
  409.                                     <li class=\"";
  410.             // line 126
  411.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'126$this->source); })()), "request", [], "any"falsefalsefalse126), "attributes", [], "any"falsefalsefalse126), "get", ["_route"], "method"falsefalsefalse126) == "admin_domains")) {
  412.                 yield "active";
  413.             }
  414.             yield "\">
  415.                                         <a href=\"";
  416.             // line 127
  417.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_domains");
  418.             yield "\">
  419.                                             <i class=\"fa fa-user-md\" aria-hidden=\"true\"></i>
  420.                                             Departement.
  421.                                                                                                                                                                                                                                                                                                                                                         
  422.                                                                                                                                                                                                                                                                                                     
  423.                                                                                                                                                                                                                                                 
  424.                                                                                                                                                                                             
  425.                                                                                                                                         
  426.                                                                                     
  427.                                         </a>
  428.                                     </li>
  429.                                     <li class=\"";
  430.             // line 138
  431.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'138$this->source); })()), "request", [], "any"falsefalsefalse138), "attributes", [], "any"falsefalsefalse138), "get", ["_route"], "method"falsefalsefalse138) == "admin_courses")) {
  432.                 yield "active";
  433.             }
  434.             yield "\">
  435.                                         <a href=\"";
  436.             // line 139
  437.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_courses");
  438.             yield "\">
  439.                                             <i class=\"fa fa-book\" aria-hidden=\"true\"></i>
  440.                                             Matières
  441.                                                                                                                                                                                                                                                                                                                                                         
  442.                                                                                                                                                                                                                                                                                                     
  443.                                                                                                                                                                                                                                                 
  444.                                                                                                                                                                                             
  445.                                                                                                                                         
  446.                                                                                     
  447.                                         </a>
  448.                                     </li>
  449.                                     <li class=\"";
  450.             // line 151
  451.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'151$this->source); })()), "request", [], "any"falsefalsefalse151), "attributes", [], "any"falsefalsefalse151), "get", ["_route"], "method"falsefalsefalse151) == "admin_subscriptions")) {
  452.                 yield "active";
  453.             }
  454.             yield "\">
  455.                                         <a href=\"";
  456.             // line 152
  457.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_subscriptions");
  458.             yield "\">
  459.                                             <i class=\"fa fa-exchange\" aria-hidden=\"true\"></i>
  460.                                             Inscriptions
  461.                                                                                                                                                                                                                                                                                                                                                                             
  462.                                                                                                                                                                                                                                                                                                                     
  463.                                                                                                                                                                                                                                                             
  464.                                                                                                                                                                                                     
  465.                                                                                                                                             
  466.                                                                                     
  467.                                         </a>
  468.                                     </li>
  469.                                      
  470.                                     <li class=\"";
  471.             // line 165
  472.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'165$this->source); })()), "request", [], "any"falsefalsefalse165), "attributes", [], "any"falsefalsefalse165), "get", ["_route"], "method"falsefalsefalse165) == "admin_students")) {
  473.                 yield "active";
  474.             }
  475.             yield "\">
  476.                                         <a href=\"";
  477.             // line 166
  478.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_students", ["type" => "new_students_not_yet_registered_checkbox"]);
  479.             yield "\">
  480.                                             <i class=\"fa fa-users\"></i>
  481.                                             Eleves
  482.                                                                                                                                                                                                                                                                                                                                                                             
  483.                                                                                                                                                                                                                                                                                                                     
  484.                                                                                                                                                                                                                                                             
  485.                                                                                                                                                                                                     
  486.                                                                                                                                             
  487.                                                                                     
  488.                                         </a>
  489.                                     </li>
  490.                                     <li class=\"";
  491.             // line 177
  492.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'177$this->source); })()), "request", [], "any"falsefalsefalse177), "attributes", [], "any"falsefalsefalse177), "get", ["_route"], "method"falsefalsefalse177) == "admin_attributions")) {
  493.                 yield "active";
  494.             }
  495.             yield "\">
  496.                                         <a href=\"";
  497.             // line 178
  498.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_attributions");
  499.             yield "\">
  500.                                             <i class=\"fa fa-map-signs\" aria-hidden=\"true\"></i>
  501.                                             Attributions
  502.                                                                                                                                                                                                                                                                                                                                                                                 \t\t\t\t\t\t\t\t\t\t
  503.                                                                                                                                                                                                                                                                                                                                                                             
  504.                                                                                                                                                                                                                                                                                                                     
  505.                                                                                                                                                                                                                                                             
  506.                                                                                                                                                                                                     
  507.                                                                                                                                             
  508.                                                                                     
  509.                                         </a>
  510.                                     </li>
  511.                                     <li class=\"";
  512.             // line 190
  513.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'190$this->source); })()), "request", [], "any"falsefalsefalse190), "attributes", [], "any"falsefalsefalse190), "get", ["_route"], "method"falsefalsefalse190) == "admin_users")) {
  514.                 yield "active";
  515.             }
  516.             yield "\">
  517.                                         <a href=\"";
  518.             // line 191
  519.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_users");
  520.             yield "\">
  521.                                             <i class=\"fa fa-user\" aria-hidden=\"true\"></i>
  522.                                             Professeurs
  523.                                                                                                                                                                                                                                                                                                                                                                             
  524.                                                                                                                                                                                                                                                                                                                     
  525.                                                                                                                                                                                                                                                             
  526.                                                                                                                                                                                                     
  527.                                                                                                                                             
  528.                                                                                     
  529.                                         </a>
  530.                                     </li>
  531.                                     <li class=\"";
  532.             // line 202
  533.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'202$this->source); })()), "request", [], "any"falsefalsefalse202), "attributes", [], "any"falsefalsefalse202), "get", ["_route"], "method"falsefalsefalse202) == "admin_statistics")) {
  534.                 yield "active";
  535.             }
  536.             yield "\">
  537.                                         <a href=\"";
  538.             // line 203
  539.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_statistics");
  540.             yield "\">
  541.                                             <i class=\"fa fa-area-chart\" aria-hidden=\"true\"></i>
  542.                                             Statistiques
  543.                                                                                                                                                                                                                                                                                                                                                                             
  544.                                        </a>
  545.                                     </li>
  546.                                     <li class=\"";
  547.             // line 210
  548.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'210$this->source); })()), "request", [], "any"falsefalsefalse210), "attributes", [], "any"falsefalsefalse210), "get", ["_route"], "method"falsefalsefalse210) == "admin_classrooms")) {
  549.                 yield "active";
  550.             }
  551.             yield "\">
  552.                                         <a href=\"";
  553.             // line 211
  554.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_classrooms");
  555.             yield "\">
  556.                                             <i class=\"fa fa-indent\" aria-hidden=\"true\"></i>
  557.                                             Classes
  558.                                                                                                                                                                                                                                                                                                                                     
  559.                                                                                                                                                                                                                                                                                     
  560.                                                                                                                                                                                                                                     
  561.                                                                                                                                                                                     
  562.                                                                                                                                     
  563.                                                                                     
  564.                                         </a>
  565.                                     </li>
  566.                                 ";
  567.         }
  568.         // line 223
  569.         yield "
  570.                                       
  571.                                     <li class=\"";
  572.         // line 225
  573.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'225$this->source); })()), "request", [], "any"falsefalsefalse225), "attributes", [], "any"falsefalsefalse225), "get", ["_route"], "method"falsefalsefalse225) == "admin_evaluations")) {
  574.             yield "active";
  575.         }
  576.         yield "\">
  577.                                         <a href=\"";
  578.         // line 226
  579.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_evaluations");
  580.         yield "\">
  581.                                             <i class=\"fa fa-file-pdf-o\" aria-hidden=\"true\"></i>
  582.                                             Evaluations
  583.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
  584.                                                                                     
  585.                                         </a>
  586.                                     </li>
  587.                                      ";
  588.         // line 233
  589.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_DISCIPLINE")) {
  590.             // line 234
  591.             yield "                                     <li class=\"";
  592.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'234$this->source); })()), "request", [], "any"falsefalsefalse234), "attributes", [], "any"falsefalsefalse234), "get", ["_route"], "method"falsefalsefalse234) == "admin_abscences_sheet_index")) {
  593.                 yield "active";
  594.             }
  595.             yield "\">
  596.                                         <a href=\"";
  597.             // line 235
  598.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_abscences_sheet_index");
  599.             yield "\">
  600.                                             <i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i>
  601.                                             Discipline                                                                                                                                                                                                                                                                                                                           
  602.                                        </a>
  603.                                     </li>
  604.                                      ";
  605.         }
  606.         // line 241
  607.         yield "                                    ";
  608.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_FINANCIAL")) {
  609.             // line 242
  610.             yield "                                        <li class=\"";
  611.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'242$this->source); })()), "request", [], "any"falsefalsefalse242), "attributes", [], "any"falsefalsefalse242), "get", ["_route"], "method"falsefalsefalse242) == "app_payment_index")) {
  612.                 yield "active";
  613.             }
  614.             yield "\">
  615.                                             <a href=\"";
  616.             // line 243
  617.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_payment_index");
  618.             yield "\">
  619.                                                 <i class=\"fa fa-money\" aria-hidden=\"true\"></i>
  620.                                                 Payment
  621.                                                                                                                                                                                                                                                                                                                                                                                                                 
  622.                                             </a>
  623.                                         </li>
  624.                                         <li class=\"";
  625.             // line 249
  626.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'249$this->source); })()), "request", [], "any"falsefalsefalse249), "attributes", [], "any"falsefalsefalse249), "get", ["_route"], "method"falsefalsefalse249) == "admin_paymentPlans")) {
  627.                 yield "active";
  628.             }
  629.             yield "\">
  630.                                             <a href=\"";
  631.             // line 250
  632.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_paymentPlans");
  633.             yield "\">
  634.                                                 <i class=\"fa fa-clock-o\" aria-hidden=\"true\"></i>
  635.                                                 Scolarite
  636.                                             </a>
  637.                                         </li>
  638.                                     ";
  639.         }
  640.         // line 256
  641.         yield "
  642.                                     
  643.                                     ";
  644.         // line 287
  645.         yield "                                    <li class=\"";
  646.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'287$this->source); })()), "request", [], "any"falsefalsefalse287), "attributes", [], "any"falsefalsefalse287), "get", ["_route"], "method"falsefalsefalse287) == "app_account")) {
  647.             yield "active";
  648.         }
  649.         yield "\">
  650.                                         <a href=\"";
  651.         // line 288
  652.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_account");
  653.         yield "\">
  654.                                             <i class=\"fa fa-user-circle\"></i>
  655.                                             Account
  656.                                         
  657.                                                                                                                                                                                                                                                                                                                
  658.                                                                                                                                                                                                                                                                                                                     
  659.                                                                                                                                                                                                                                                             
  660.                                                                                                                                                                                                     
  661.                                                                                                                                             
  662.                                                                                     
  663.                                         </a>
  664.                                     </li>
  665.                                 </ul>
  666.                             </div>
  667.                         ";
  668.         
  669.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  670.         
  671.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  672.         yield from [];
  673.     }
  674.     // line 309
  675.     /**
  676.      * @return iterable<null|scalar|\Stringable>
  677.      */
  678.     public function block_header(array $context, array $blocks = []): iterable
  679.     {
  680.         $macros $this->macros;
  681.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  682.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  683.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  684.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  685.         // line 310
  686.         yield "                    <header class=\"header\">
  687.                         <nav class=\"navbar\">
  688.                             <div class=\"container-fluid\">
  689.                                 <div class=\"navbar-holder d-flex justify-content-around\">
  690.                                     <div class=\"navbar-header\">
  691.                                         <a id=\"toggle-btn\" href=\"#\" class=\"menu-btn\">
  692.                                             <i class=\"fa fa-bars\" aria-hidden=\"true\"></i>
  693.                                         </a>
  694.                                         <a href=\"";
  695.         // line 319
  696.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
  697.         yield "\" class=\"navbar-brand text-center\">
  698.                                             <div class=\"brand-text d-none d-md-inline-block\">
  699.                                                 <strong class=\"text-primary\">
  700.                                                     SCHOOL MANAGEMENT SYSTEM
  701.                                                                                                                                                                                                                                                                                                                                                                                                                                     
  702.                                                                                                                                                                                                                                                                                                                                                                     
  703.                                                                                                                                                                                                                                                                                                     
  704.                                                                                                                                                                                                                                     
  705.                                                                                                                                                                     
  706.                                                                                                     
  707.                                                 </strong>
  708.                                             </div>
  709.                                         </a>
  710.                                         ";
  711.         // line 332
  712.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'332$this->source); })()), "user", [], "any"falsefalsefalse332)) {
  713.             // line 333
  714.             yield "                                            <a id=\"logout_btn\" href=\"#\" onclick=\"event.preventDefault(); document.getElementById('js-logout-form').submit();\" class=\"btn text-right btn-warning\">
  715.                                                 <i class=\"fa fa-sign-out\" aria-hidden=\"true\"></i>
  716.                                             </a>
  717.                                             <form id=\"js-logout-form\" action=\"";
  718.             // line 337
  719.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  720.             yield "\" style=\"dislay:none;\" method=\"POST\">
  721.                                                 <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  722.             // line 338
  723.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("logout"), "html"nulltrue);
  724.             yield "\" />
  725.                                             </form>
  726.                                         ";
  727.         }
  728.         // line 342
  729.         yield "                                    </div>
  730.                                     
  731.                                 </div>
  732.                             </div>
  733.                         </nav>
  734.                         <section class=\"container-fluid\">
  735.                          ";
  736.         // line 350
  737.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
  738.             // line 351
  739.             yield "
  740.                             <div class=\"row m-2\">
  741.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  742.                                     <div class=\"wrapper count-title d-flex\">
  743.                                         <div class=\"icon\">
  744.                                             <i class=\"fa fa-graduation-cap\" aria-hidden=\"true\"></i>
  745.                                         </div>
  746.                                         <div class=\"name\">
  747.                                             <strong class=\"text-uppercase\">
  748.                                                 
  749.                                                 &nbsp; ";
  750.             // line 361
  751.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\StatExtension']->students(), "html"nulltrue);
  752.             yield " &nbsp; eleves                                                                                                                                                                                                                                                                                                                                                  
  753.                                                                                                                                                                                                                                                                                                                                                                     
  754.                                             </strong>
  755.                                            
  756.                                         </div>
  757.                                     </div>
  758.                                 </div>
  759.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  760.                                     <div class=\"wrapper count-title d-flex\">
  761.                                         <div class=\"icon\">
  762.                                             <i class=\"fa fa-users\" aria-hidden=\"true\"></i>
  763.                                         </div>
  764.                                         <div class=\"name\">
  765.                                             <strong class=\"text-uppercase\">
  766.                                                     &nbsp; ";
  767.             // line 375
  768.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\StatExtension']->teachers(), "html"nulltrue);
  769.             yield " &nbsp; enseigants
  770.                                            </strong>
  771.                         
  772.                                         </div>
  773.                                     </div>
  774.                                 </div>
  775.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  776.                                     <div class=\"wrapper count-title d-flex\">
  777.                                         <div class=\"icon\">
  778.                                             <i class=\"fa fa-users\"></i>
  779.                                         </div>
  780.                                         <div class=\"name\">
  781.                                             <strong class=\"text-uppercase\">
  782.                                                     &nbsp; ";
  783.             // line 388
  784.             yield " &nbsp;  insolvables
  785.                                            </strong>
  786.                         
  787.                                         </div>
  788.                                     </div>
  789.                                 </div>
  790.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  791.                                     <div class=\"wrapper count-title d-flex\">
  792.                                         
  793.                                         
  794.                                         <div class=\"form-group\">
  795.                                             <select class=\"custom-select form-select form-control\" id=\"select_year\">
  796.                                                     ";
  797.             // line 400
  798.             $context['_parent'] = $context;
  799.             $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::reverse($this->env->getCharset(), $this->extensions['App\Twig\AppExtension']->years()));
  800.             foreach ($context['_seq'] as $context["_key"] => $context["year"]) {
  801.                 // line 401
  802.                 yield "                                                         ";
  803.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'401$this->source); })()), "session", [], "any"falsefalsefalse401), "has", ["session_school_year"], "method"falsefalsefalse401)) {
  804.                     // line 402
  805.                     yield "                                                                   
  806.                                                                     <option  ";
  807.                     // line 403
  808.                     if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'403$this->source); })()), "session", [], "any"falsefalsefalse403), "get", ["session_school_year"], "method"falsefalsefalse403) == CoreExtension::getAttribute($this->env$this->source$context["year"], "id", [], "any"falsefalsefalse403))) {
  809.                         yield "selected";
  810.                     }
  811.                     yield "   value=";
  812.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["year"], "id", [], "any"falsefalsefalse403), "html"nulltrue);
  813.                     yield ">";
  814.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["year"], "code", [], "any"falsefalsefalse403), "html"nulltrue);
  815.                     yield "</option>
  816.                                                          ";
  817.                 } else {
  818.                     // line 405
  819.                     yield "                                                                    <option  value=";
  820.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["year"], "id", [], "any"falsefalsefalse405), "html"nulltrue);
  821.                     yield ">";
  822.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["year"], "code", [], "any"falsefalsefalse405), "html"nulltrue);
  823.                     yield "</option>
  824.                                                         ";
  825.                 }
  826.                 // line 407
  827.                 yield "                                                    ";
  828.             }
  829.             $_parent $context['_parent'];
  830.             unset($context['_seq'], $context['_key'], $context['year'], $context['_parent']);
  831.             $context array_intersect_key($context$_parent) + $_parent;
  832.             // line 408
  833.             yield "                                            </select>
  834.                                         </div>
  835.                                     </div>
  836.                                 </div>
  837.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  838.                                     <div class=\"wrapper count-title d-flex\">
  839.                                         <div class=\"icon\">
  840.                                             <i class=\"icon-list\"></i>
  841.                                         </div>
  842.                                         <div class=\"name\">
  843.                                             <strong class=\"text-uppercase\">
  844.                                                    &nbsp; ";
  845.             // line 419
  846.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\StatExtension']->rooms(), "html"nulltrue);
  847.             yield " &nbsp; classes
  848.                                                                                                                                                                                                                                                                                                                                                                                                         
  849.                                                                                                                                                                                                                                                                                                                                             
  850.                                                                                                                                                                                                                                                                                 
  851.                                                                                                                                                                                                                     
  852.                                                                                                                                                         
  853.                                                                                             
  854.                                             </strong>
  855.                                            
  856.                                             <div class=\"count-number\"></div>
  857.                                         </div>
  858.                                     </div>
  859.                                 </div>
  860.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  861.                                     <div class=\"wrapper count-title d-flex\">
  862.                                         <div class=\"icon\">
  863.                                             <i class=\"fa fa-home\" aria-hidden=\"true\"></i>
  864.                                         </div>
  865.                                         <div class=\"name\">
  866.                                             <strong class=\"text-uppercase\">
  867.                                                                                                                                                                                                                                                                                                                                                                                                         
  868.                                                                                                                                                                                                                                                                                                                                             
  869.                                                                                                                                                                                                                                                                                 
  870.                                                                                                                                                                                                                     
  871.                                                                                                                                                         
  872.                                                                                             
  873.                                             </strong>
  874.                                         </div>
  875.                                     </div>
  876.                                 </div>
  877.                             </div>
  878.                             </div>
  879.                           ";
  880.         }
  881.         // line 453
  882.         yield "                    </section>
  883.                 </header>
  884.             ";
  885.         
  886.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  887.         
  888.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  889.         yield from [];
  890.     }
  891.     // line 464
  892.     /**
  893.      * @return iterable<null|scalar|\Stringable>
  894.      */
  895.     public function block_content(array $context, array $blocks = []): iterable
  896.     {
  897.         $macros $this->macros;
  898.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  899.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  900.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  901.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  902.         
  903.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  904.         
  905.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  906.         yield from [];
  907.     }
  908.     // line 470
  909.     /**
  910.      * @return iterable<null|scalar|\Stringable>
  911.      */
  912.     public function block_footer(array $context, array $blocks = []): iterable
  913.     {
  914.         $macros $this->macros;
  915.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  916.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  917.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  918.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  919.         
  920.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  921.         
  922.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  923.         yield from [];
  924.     }
  925.     // line 471
  926.     /**
  927.      * @return iterable<null|scalar|\Stringable>
  928.      */
  929.     public function block_javascripts(array $context, array $blocks = []): iterable
  930.     {
  931.         $macros $this->macros;
  932.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  933.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  934.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  935.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  936.         // line 472
  937.         yield "        ";
  938.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  939.         yield "
  940.         
  941.        <script type=\"text/javascript\" src=\"";
  942.         // line 474
  943.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.cookie.js"), "html"nulltrue);
  944.         yield "\"></script>
  945.        <script type=\"text/javascript\" src=\"";
  946.         // line 475
  947.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/grasp_mobile_progress_circle-1.0.0.min.js"), "html"nulltrue);
  948.         yield "\"></script>
  949.        <script type=\"text/javascript\" src=\"";
  950.         // line 476
  951.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.validate.min.js"), "html"nulltrue);
  952.         yield "\"></script>
  953.        <script type=\"text/javascript\" src=\"";
  954.         // line 477
  955.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.mCustomScrollbar.concat.min.js"), "html"nulltrue);
  956.         yield "\"></script>
  957.        <script type=\"text/javascript\">
  958.             \$('#select_year').on('change', function() {
  959.             postData = {
  960. \t\t\t\t\"selectedSchoolYear\":  \$(this).val()
  961. \t\t\t};
  962.             \$.ajax({
  963. \t\t\ttype: \"POST\",
  964. \t\t\turl: \"";
  965.         // line 485
  966.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("update_school_year");
  967.         yield "\",
  968. \t\t\tdata: postData,
  969. \t\t\tdatatype: \"json\",
  970. \t\t\tsuccess: function (data) {
  971. \t\t\t\tconsole.log(\"Changement  d'annee.\");
  972.                 location.reload();
  973. \t\t\t},
  974. \t\t\terror: function (e) {
  975. \t\t\t\tconsole.log(e.message);
  976. \t\t\t\talert(\"Echec.\");
  977. \t\t\t}
  978. \t\t\t});
  979.         });
  980.             
  981.            
  982.        </script>
  983.         
  984.     ";
  985.         
  986.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  987.         
  988.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  989.         yield from [];
  990.     }
  991.     /**
  992.      * @codeCoverageIgnore
  993.      */
  994.     public function getTemplateName(): string
  995.     {
  996.         return "layout/backEndLayout.html.twig";
  997.     }
  998.     /**
  999.      * @codeCoverageIgnore
  1000.      */
  1001.     public function isTraitable(): bool
  1002.     {
  1003.         return false;
  1004.     }
  1005.     /**
  1006.      * @codeCoverageIgnore
  1007.      */
  1008.     public function getDebugInfo(): array
  1009.     {
  1010.         return array (  1043 => 485,  1032 => 477,  1028 => 476,  1024 => 475,  1020 => 474,  1014 => 472,  1001 => 471,  979 => 470,  957 => 464,  943 => 453,  906 => 419,  893 => 408,  887 => 407,  879 => 405,  868 => 403,  865 => 402,  862 => 401,  858 => 400,  844 => 388,  828 => 375,  811 => 361,  799 => 351,  797 => 350,  787 => 342,  780 => 338,  776 => 337,  770 => 333,  768 => 332,  752 => 319,  741 => 310,  728 => 309,  701 => 288,  694 => 287,  690 => 256,  681 => 250,  675 => 249,  666 => 243,  659 => 242,  656 => 241,  647 => 235,  640 => 234,  638 => 233,  628 => 226,  622 => 225,  618 => 223,  603 => 211,  597 => 210,  587 => 203,  581 => 202,  567 => 191,  561 => 190,  546 => 178,  540 => 177,  526 => 166,  520 => 165,  504 => 152,  498 => 151,  483 => 139,  477 => 138,  463 => 127,  457 => 126,  443 => 115,  437 => 114,  421 => 101,  415 => 100,  401 => 89,  395 => 88,  381 => 77,  375 => 76,  367 => 71,  361 => 70,  352 => 64,  346 => 63,  338 => 58,  332 => 57,  324 => 52,  318 => 51,  315 => 50,  313 => 49,  307 => 45,  294 => 44,  268 => 28,  262 => 26,  260 => 25,  246 => 22,  242 => 20,  229 => 19,  215 => 304,  212 => 44,  210 => 19,  206 => 17,  193 => 16,  178 => 465,  176 => 464,  167 => 457,  165 => 309,  162 => 308,  160 => 16,  157 => 15,  144 => 14,  129 => 11,  116 => 10,  103 => 8,  98 => 6,  94 => 5,  90 => 4,  85 => 3,  72 => 2,  49 => 1,);
  1011.     }
  1012.     public function getSourceContext(): Source
  1013.     {
  1014.         return new Source("{% extends 'layout/base.html.twig' %}
  1015. {% block stylesheets %}
  1016.     {{ parent() }}
  1017.     <link href=\"{{ asset('assets/css/grasp_mobile_progress_circle-1.0.0.min.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
  1018.     <link href=\"{{ asset('assets/css/jquery.mCustomScrollbar.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
  1019.     <link rel=\"stylesheet\" href=\"{{ asset('https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css') }}\">
  1020.         <link href=\"{{ asset('assets/css/style.blue.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
  1021.     {% endblock %}
  1022.     {% block title %}
  1023.         {{ parent() }}
  1024.         /Administration 
  1025.     {% endblock %}
  1026.     {% block main %}
  1027.         {% block sidebar %}
  1028.             <nav class=\"side-navbar\">
  1029.                 <div class=\"side-navbar-wrapper\">
  1030.                     {% block identification %}
  1031.                         <div class=\"sidenav-header d-flex align-items-center justify-content-center\">
  1032.                             <div class=\"sidenav-header-inner text-center\">
  1033.                                 <img src={% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %} \"{{ app.user.avatar(75) }}\" {% else %} {{ asset(\"img/avatar-2.jpg\") }} {% endif %} class=\"img-fluid rounded-circle\" alt=\"user-avatar\">
  1034.                                     <h2 class=\"h5 text-uppercase\"></h2>
  1035.                                     <span class=\"text-uppercase\">
  1036.                                         {% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
  1037.                                             {{ app.user.username }}
  1038.                                         {% endif %}
  1039.                                     </span>
  1040.                                 </div>
  1041.                                 <div class=\"sidenav-header-logo\">
  1042.                                     <a href=\"index.html\" class=\"brand-small text-center\">
  1043.                                         <strong></strong>
  1044.                                         <strong class=\"text-primary\">
  1045.                                             D                                     
  1046.                                                                                                                                                                                                                         
  1047.                                                                                                                                                                             
  1048.                                                                                                                                 
  1049.                                                                                     
  1050.                                         </strong>
  1051.                                     </a>
  1052.                                 </div>
  1053.                             </div>
  1054.                         {% endblock identification %}
  1055.                         {% block menu %}
  1056.                             <div class=\"main-menu\">
  1057.                                 <ul id=\"side-main-menu\" class=\"side-menu list-unstyled\">
  1058.                                    {% if is_granted('ROLE_ADMIN') %}
  1059.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_school_years\" %}active{% endif %}\">
  1060.                                         <a href=\"{{ path('admin_school_years') }}\">
  1061.                                             <i class=\"fa fa-calendar\" aria-hidden=\"true\"></i>
  1062.                                             Années scolaires                                                                                                        
  1063.                                         </a>
  1064.                                     </li>
  1065.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_quaters\" %}active{% endif %}\">
  1066.                                         <a href=\"{{ path('admin_quaters') }}\">
  1067.                                             <i class=\"fa fa-calendar-check-o\" aria-hidden=\"true\"></i>
  1068.                                             Trimestres                                      
  1069.                                         </a>
  1070.                                     </li>
  1071.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_sequences\" %}active{% endif %}\">
  1072.                                         <a href=\"{{ path('admin_sequences') }}\">
  1073.                                             <i class=\"fa fa-calendar-minus-o\" aria-hidden=\"true\"></i>
  1074.                                             Séquences
  1075.                                          </a>
  1076.                                     </li>
  1077.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_programs\" %}active{% endif %}\">
  1078.                                         <a href=\"{{ path('admin_programs') }}\">
  1079.                                             <i class=\"fa fa-table\" aria-hidden=\"true\"></i>
  1080.                                             Programmes
  1081.                                           </a>
  1082.                                     </li>
  1083.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_sections\" %}active{% endif %}\">
  1084.                                         <a href=\"{{ path('admin_sections') }}\">
  1085.                                             <i class=\"fa fa-th-large\" aria-hidden=\"true\"></i>
  1086.                                             Sections
  1087.                                                                                                                                                                                                                                                                                                                                     
  1088.                                                                                                                                                                                                                                                                                     
  1089.                                                                                                                                                                                                                                     
  1090.                                                                                                                                                                                     
  1091.                                                                                                                                     
  1092.                                                                                     
  1093.                                         </a>
  1094.                                     </li>
  1095.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_cycles\" %}active{% endif %}\">
  1096.                                         <a href=\"{{ path('admin_cycles') }}\">
  1097.                                             <i class=\"fa fa-th-list\" aria-hidden=\"true\"></i>
  1098.                                             Cycles
  1099.                                                                                                                                                                                                                                                                                                                                     
  1100.                                                                                                                                                                                                                                                                                     
  1101.                                                                                                                                                                                                                                     
  1102.                                                                                                                                                                                     
  1103.                                                                                                                                     
  1104.                                                                                     
  1105.                                         </a>
  1106.                                     </li>
  1107.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_levels\" %}active{% endif %}\">
  1108.                                         <a href=\"{{ path('admin_levels') }}\">
  1109.                                             <i class=\"fa fa-list-ul\" aria-hidden=\"true\"></i>
  1110.                                             Niveaux
  1111.                                                                                                                                                                                                                                                                                                                                     
  1112.                                                                                                                                                                                                                                                                                     
  1113.                                                                                                                                                                                                                                     
  1114.                                                                                                                                                                                     
  1115.                                                                                                                                     
  1116.                                                                                     
  1117.                                         </a>
  1118.                                     </li>
  1119.                                   
  1120.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_modules\" %}active{% endif %}\">
  1121.                                         <a href=\"{{ path('admin_modules') }}\">
  1122.                                             <i class=\"fa fa-folder-open-o\" aria-hidden=\"true\"></i>
  1123.                                             Module
  1124.                                                                                                                                                                                                                                                                                                                                                         
  1125.                                                                                                                                                                                                                                                                                                     
  1126.                                                                                                                                                                                                                                                 
  1127.                                                                                                                                                                                             
  1128.                                                                                                                                         
  1129.                                                                                     
  1130.                                         </a>
  1131.                                     </li>
  1132.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_domains\" %}active{% endif %}\">
  1133.                                         <a href=\"{{ path('admin_domains') }}\">
  1134.                                             <i class=\"fa fa-user-md\" aria-hidden=\"true\"></i>
  1135.                                             Departement.
  1136.                                                                                                                                                                                                                                                                                                                                                         
  1137.                                                                                                                                                                                                                                                                                                     
  1138.                                                                                                                                                                                                                                                 
  1139.                                                                                                                                                                                             
  1140.                                                                                                                                         
  1141.                                                                                     
  1142.                                         </a>
  1143.                                     </li>
  1144.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_courses\" %}active{% endif %}\">
  1145.                                         <a href=\"{{ path('admin_courses') }}\">
  1146.                                             <i class=\"fa fa-book\" aria-hidden=\"true\"></i>
  1147.                                             Matières
  1148.                                                                                                                                                                                                                                                                                                                                                         
  1149.                                                                                                                                                                                                                                                                                                     
  1150.                                                                                                                                                                                                                                                 
  1151.                                                                                                                                                                                             
  1152.                                                                                                                                         
  1153.                                                                                     
  1154.                                         </a>
  1155.                                     </li>
  1156.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_subscriptions\" %}active{% endif %}\">
  1157.                                         <a href=\"{{ path('admin_subscriptions') }}\">
  1158.                                             <i class=\"fa fa-exchange\" aria-hidden=\"true\"></i>
  1159.                                             Inscriptions
  1160.                                                                                                                                                                                                                                                                                                                                                                             
  1161.                                                                                                                                                                                                                                                                                                                     
  1162.                                                                                                                                                                                                                                                             
  1163.                                                                                                                                                                                                     
  1164.                                                                                                                                             
  1165.                                                                                     
  1166.                                         </a>
  1167.                                     </li>
  1168.                                      
  1169.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_students\" %}active{% endif %}\">
  1170.                                         <a href=\"{{ path('admin_students', { 'type': \"new_students_not_yet_registered_checkbox\" }) }}\">
  1171.                                             <i class=\"fa fa-users\"></i>
  1172.                                             Eleves
  1173.                                                                                                                                                                                                                                                                                                                                                                             
  1174.                                                                                                                                                                                                                                                                                                                     
  1175.                                                                                                                                                                                                                                                             
  1176.                                                                                                                                                                                                     
  1177.                                                                                                                                             
  1178.                                                                                     
  1179.                                         </a>
  1180.                                     </li>
  1181.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_attributions\" %}active{% endif %}\">
  1182.                                         <a href=\"{{ path('admin_attributions') }}\">
  1183.                                             <i class=\"fa fa-map-signs\" aria-hidden=\"true\"></i>
  1184.                                             Attributions
  1185.                                                                                                                                                                                                                                                                                                                                                                                 \t\t\t\t\t\t\t\t\t\t
  1186.                                                                                                                                                                                                                                                                                                                                                                             
  1187.                                                                                                                                                                                                                                                                                                                     
  1188.                                                                                                                                                                                                                                                             
  1189.                                                                                                                                                                                                     
  1190.                                                                                                                                             
  1191.                                                                                     
  1192.                                         </a>
  1193.                                     </li>
  1194.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_users\" %}active{% endif %}\">
  1195.                                         <a href=\"{{ path('admin_users') }}\">
  1196.                                             <i class=\"fa fa-user\" aria-hidden=\"true\"></i>
  1197.                                             Professeurs
  1198.                                                                                                                                                                                                                                                                                                                                                                             
  1199.                                                                                                                                                                                                                                                                                                                     
  1200.                                                                                                                                                                                                                                                             
  1201.                                                                                                                                                                                                     
  1202.                                                                                                                                             
  1203.                                                                                     
  1204.                                         </a>
  1205.                                     </li>
  1206.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_statistics\" %}active{% endif %}\">
  1207.                                         <a href=\"{{ path('admin_statistics') }}\">
  1208.                                             <i class=\"fa fa-area-chart\" aria-hidden=\"true\"></i>
  1209.                                             Statistiques
  1210.                                                                                                                                                                                                                                                                                                                                                                             
  1211.                                        </a>
  1212.                                     </li>
  1213.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_classrooms\" %}active{% endif %}\">
  1214.                                         <a href=\"{{ path('admin_classrooms') }}\">
  1215.                                             <i class=\"fa fa-indent\" aria-hidden=\"true\"></i>
  1216.                                             Classes
  1217.                                                                                                                                                                                                                                                                                                                                     
  1218.                                                                                                                                                                                                                                                                                     
  1219.                                                                                                                                                                                                                                     
  1220.                                                                                                                                                                                     
  1221.                                                                                                                                     
  1222.                                                                                     
  1223.                                         </a>
  1224.                                     </li>
  1225.                                 {% endif %}
  1226.                                       
  1227.                                     <li class=\"{% if app.request.attributes.get('_route') == \"admin_evaluations\" %}active{% endif %}\">
  1228.                                         <a href=\"{{ path('admin_evaluations') }}\">
  1229.                                             <i class=\"fa fa-file-pdf-o\" aria-hidden=\"true\"></i>
  1230.                                             Evaluations
  1231.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
  1232.                                                                                     
  1233.                                         </a>
  1234.                                     </li>
  1235.                                      {% if is_granted('ROLE_DISCIPLINE') %}
  1236.                                      <li class=\"{% if app.request.attributes.get('_route') == \"admin_abscences_sheet_index\" %}active{% endif %}\">
  1237.                                         <a href=\"{{ path('admin_abscences_sheet_index') }}\">
  1238.                                             <i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i>
  1239.                                             Discipline                                                                                                                                                                                                                                                                                                                           
  1240.                                        </a>
  1241.                                     </li>
  1242.                                      {% endif %}
  1243.                                     {% if is_granted('ROLE_FINANCIAL') %}
  1244.                                         <li class=\"{% if app.request.attributes.get('_route') == \"app_payment_index\" %}active{% endif %}\">
  1245.                                             <a href=\"{{ path('app_payment_index') }}\">
  1246.                                                 <i class=\"fa fa-money\" aria-hidden=\"true\"></i>
  1247.                                                 Payment
  1248.                                                                                                                                                                                                                                                                                                                                                                                                                 
  1249.                                             </a>
  1250.                                         </li>
  1251.                                         <li class=\"{% if app.request.attributes.get('_route') == \"admin_paymentPlans\" %}active{% endif %}\">
  1252.                                             <a href=\"{{ path('admin_paymentPlans') }}\">
  1253.                                                 <i class=\"fa fa-clock-o\" aria-hidden=\"true\"></i>
  1254.                                                 Scolarite
  1255.                                             </a>
  1256.                                         </li>
  1257.                                     {% endif %}
  1258.                                     
  1259.                                     {#<li class=\"{% if app.request.attributes.get('_route') == \"admin_emails\" %}active{% endif %}\">
  1260.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('admin_emails')}}\"><i class=\"fa fa-credit-card\" aria-hidden=\"true\"></i>Messages</a>
  1261.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t</li>
  1262.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t<li class=\"{% if app.request.attributes.get('_route') == \"admin_payes\" %}active{% endif %}\">
  1263.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('admin_payes')}}\"><i class=\"fa fa-money\" aria-hidden=\"true\"></i>Versement</a>
  1264.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t</li>
  1265.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t
  1266.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t<HR size=\"0.8\" align=\"center\" width=\"80%\" color=\"white\">
  1267.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t
  1268.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t
  1269.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t
  1270.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t
  1271.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t{# 
  1272.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t<HR size=\"0.8\" align=\"center\" width=\"80%\" color=\"white\">
  1273.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t<li class=\"{% if app.request.attributes.get('_route') == \"admin_tables\" %}active{% endif %}\">
  1274.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('admin_tables')}}\">
  1275.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-filter\" aria-hidden=\"true\"></i>
  1276.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t\t<span>Filtres
  1277.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t\t</span>
  1278.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t</a>
  1279.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t</li>
  1280.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t<li class=\"{% if app.request.attributes.get('_route') == \"admin_graphs\" %}active{% endif %}\">
  1281.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('admin_graphs')}}\">
  1282.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-bar-chart\" aria-hidden=\"true\"></i>
  1283.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t\t<span>Graphes
  1284.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t\t</span>
  1285.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t</a>
  1286.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t</li>
  1287.                                                                                                                                                                                                                                                                                                                         \t\t\t\t\t\t\t\t\t\t#}
  1288.                                     <li class=\"{% if app.request.attributes.get('_route') == \"app_account\" %}active{% endif %}\">
  1289.                                         <a href=\"{{ path('app_account') }}\">
  1290.                                             <i class=\"fa fa-user-circle\"></i>
  1291.                                             Account
  1292.                                         
  1293.                                                                                                                                                                                                                                                                                                                
  1294.                                                                                                                                                                                                                                                                                                                     
  1295.                                                                                                                                                                                                                                                             
  1296.                                                                                                                                                                                                     
  1297.                                                                                                                                             
  1298.                                                                                     
  1299.                                         </a>
  1300.                                     </li>
  1301.                                 </ul>
  1302.                             </div>
  1303.                         {% endblock menu %}
  1304.                     </div>
  1305.                 </nav>
  1306.             {% endblock  sidebar %}
  1307.             <div class=\"page home-page\">
  1308.                 {% block header %}
  1309.                     <header class=\"header\">
  1310.                         <nav class=\"navbar\">
  1311.                             <div class=\"container-fluid\">
  1312.                                 <div class=\"navbar-holder d-flex justify-content-around\">
  1313.                                     <div class=\"navbar-header\">
  1314.                                         <a id=\"toggle-btn\" href=\"#\" class=\"menu-btn\">
  1315.                                             <i class=\"fa fa-bars\" aria-hidden=\"true\"></i>
  1316.                                         </a>
  1317.                                         <a href=\"{{ path('app_home') }}\" class=\"navbar-brand text-center\">
  1318.                                             <div class=\"brand-text d-none d-md-inline-block\">
  1319.                                                 <strong class=\"text-primary\">
  1320.                                                     SCHOOL MANAGEMENT SYSTEM
  1321.                                                                                                                                                                                                                                                                                                                                                                                                                                     
  1322.                                                                                                                                                                                                                                                                                                                                                                     
  1323.                                                                                                                                                                                                                                                                                                     
  1324.                                                                                                                                                                                                                                     
  1325.                                                                                                                                                                     
  1326.                                                                                                     
  1327.                                                 </strong>
  1328.                                             </div>
  1329.                                         </a>
  1330.                                         {% if app.user %}
  1331.                                             <a id=\"logout_btn\" href=\"#\" onclick=\"event.preventDefault(); document.getElementById('js-logout-form').submit();\" class=\"btn text-right btn-warning\">
  1332.                                                 <i class=\"fa fa-sign-out\" aria-hidden=\"true\"></i>
  1333.                                             </a>
  1334.                                             <form id=\"js-logout-form\" action=\"{{ path('app_logout') }}\" style=\"dislay:none;\" method=\"POST\">
  1335.                                                 <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('logout') }}\" />
  1336.                                             </form>
  1337.                                         {% endif %}
  1338.                                     </div>
  1339.                                     
  1340.                                 </div>
  1341.                             </div>
  1342.                         </nav>
  1343.                         <section class=\"container-fluid\">
  1344.                          {% if is_granted('ROLE_ADMIN') %}
  1345.                             <div class=\"row m-2\">
  1346.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  1347.                                     <div class=\"wrapper count-title d-flex\">
  1348.                                         <div class=\"icon\">
  1349.                                             <i class=\"fa fa-graduation-cap\" aria-hidden=\"true\"></i>
  1350.                                         </div>
  1351.                                         <div class=\"name\">
  1352.                                             <strong class=\"text-uppercase\">
  1353.                                                 
  1354.                                                 &nbsp; {{ students_count() }} &nbsp; eleves                                                                                                                                                                                                                                                                                                                                                  
  1355.                                                                                                                                                                                                                                                                                                                                                                     
  1356.                                             </strong>
  1357.                                            
  1358.                                         </div>
  1359.                                     </div>
  1360.                                 </div>
  1361.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  1362.                                     <div class=\"wrapper count-title d-flex\">
  1363.                                         <div class=\"icon\">
  1364.                                             <i class=\"fa fa-users\" aria-hidden=\"true\"></i>
  1365.                                         </div>
  1366.                                         <div class=\"name\">
  1367.                                             <strong class=\"text-uppercase\">
  1368.                                                     &nbsp; {{ teachers_count() }} &nbsp; enseigants
  1369.                                            </strong>
  1370.                         
  1371.                                         </div>
  1372.                                     </div>
  1373.                                 </div>
  1374.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  1375.                                     <div class=\"wrapper count-title d-flex\">
  1376.                                         <div class=\"icon\">
  1377.                                             <i class=\"fa fa-users\"></i>
  1378.                                         </div>
  1379.                                         <div class=\"name\">
  1380.                                             <strong class=\"text-uppercase\">
  1381.                                                     &nbsp; {# insolvents() #} &nbsp;  insolvables
  1382.                                            </strong>
  1383.                         
  1384.                                         </div>
  1385.                                     </div>
  1386.                                 </div>
  1387.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  1388.                                     <div class=\"wrapper count-title d-flex\">
  1389.                                         
  1390.                                         
  1391.                                         <div class=\"form-group\">
  1392.                                             <select class=\"custom-select form-select form-control\" id=\"select_year\">
  1393.                                                     {% for year in years()|reverse %}
  1394.                                                          {% if app.session.has('session_school_year')  %}
  1395.                                                                    
  1396.                                                                     <option  {% if app.session.get('session_school_year')== year.id %}selected{% endif %}   value={{year.id}}>{{year.code}}</option>
  1397.                                                          {% else %}
  1398.                                                                     <option  value={{year.id}}>{{year.code}}</option>
  1399.                                                         {% endif %}
  1400.                                                     {% endfor %}
  1401.                                             </select>
  1402.                                         </div>
  1403.                                     </div>
  1404.                                 </div>
  1405.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  1406.                                     <div class=\"wrapper count-title d-flex\">
  1407.                                         <div class=\"icon\">
  1408.                                             <i class=\"icon-list\"></i>
  1409.                                         </div>
  1410.                                         <div class=\"name\">
  1411.                                             <strong class=\"text-uppercase\">
  1412.                                                    &nbsp; {{ rooms_count() }} &nbsp; classes
  1413.                                                                                                                                                                                                                                                                                                                                                                                                         
  1414.                                                                                                                                                                                                                                                                                                                                             
  1415.                                                                                                                                                                                                                                                                                 
  1416.                                                                                                                                                                                                                     
  1417.                                                                                                                                                         
  1418.                                                                                             
  1419.                                             </strong>
  1420.                                            
  1421.                                             <div class=\"count-number\"></div>
  1422.                                         </div>
  1423.                                     </div>
  1424.                                 </div>
  1425.                                 <div class=\"col-xl-2 col-md-4 col-6\">
  1426.                                     <div class=\"wrapper count-title d-flex\">
  1427.                                         <div class=\"icon\">
  1428.                                             <i class=\"fa fa-home\" aria-hidden=\"true\"></i>
  1429.                                         </div>
  1430.                                         <div class=\"name\">
  1431.                                             <strong class=\"text-uppercase\">
  1432.                                                                                                                                                                                                                                                                                                                                                                                                         
  1433.                                                                                                                                                                                                                                                                                                                                             
  1434.                                                                                                                                                                                                                                                                                 
  1435.                                                                                                                                                                                                                     
  1436.                                                                                                                                                         
  1437.                                                                                             
  1438.                                             </strong>
  1439.                                         </div>
  1440.                                     </div>
  1441.                                 </div>
  1442.                             </div>
  1443.                             </div>
  1444.                           {% endif %}
  1445.                     </section>
  1446.                 </header>
  1447.             {% endblock header %}
  1448.         </div>
  1449.         <section class=\" section-padding row\">
  1450.             <article class=\"row\">
  1451.                 <aside class=\"col-2\"></aside>
  1452.                 <section class=\"col-10\">
  1453.                     {% block content %}{% endblock content %}
  1454.                 </section>
  1455.             </article>
  1456.         </section>
  1457.     {% endblock  main %}
  1458.     {% block footer %}{% endblock footer %}
  1459.     {% block javascripts %}
  1460.         {{ parent() }}
  1461.         
  1462.        <script type=\"text/javascript\" src=\"{{ asset('assets/js/jquery.cookie.js') }}\"></script>
  1463.        <script type=\"text/javascript\" src=\"{{ asset('assets/js/grasp_mobile_progress_circle-1.0.0.min.js') }}\"></script>
  1464.        <script type=\"text/javascript\" src=\"{{ asset('assets/js/jquery.validate.min.js') }}\"></script>
  1465.        <script type=\"text/javascript\" src=\"{{ asset('assets/js/jquery.mCustomScrollbar.concat.min.js') }}\"></script>
  1466.        <script type=\"text/javascript\">
  1467.             \$('#select_year').on('change', function() {
  1468.             postData = {
  1469. \t\t\t\t\"selectedSchoolYear\":  \$(this).val()
  1470. \t\t\t};
  1471.             \$.ajax({
  1472. \t\t\ttype: \"POST\",
  1473. \t\t\turl: \"{{ path('update_school_year') }}\",
  1474. \t\t\tdata: postData,
  1475. \t\t\tdatatype: \"json\",
  1476. \t\t\tsuccess: function (data) {
  1477. \t\t\t\tconsole.log(\"Changement  d'annee.\");
  1478.                 location.reload();
  1479. \t\t\t},
  1480. \t\t\terror: function (e) {
  1481. \t\t\t\tconsole.log(e.message);
  1482. \t\t\t\talert(\"Echec.\");
  1483. \t\t\t}
  1484. \t\t\t});
  1485.         });
  1486.             
  1487.            
  1488.        </script>
  1489.         
  1490.     {% endblock javascripts %}
  1491.     ""layout/backEndLayout.html.twig""/var/www/prod/current/templates/layout/backEndLayout.html.twig");
  1492.     }
  1493. }