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

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