var/cache/dev/twig/dc/dcf912d5fcf0e1ed0ed6545b6252d75d.php line 131

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