<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* layout/backEndLayout.html.twig */
class __TwigTemplate_90ca10bc88aa384bcc8eea3fc3eb437b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'title' => [$this, 'block_title'],
'main' => [$this, 'block_main'],
'sidebar' => [$this, 'block_sidebar'],
'identification' => [$this, 'block_identification'],
'menu' => [$this, 'block_menu'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/backEndLayout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/backEndLayout.html.twig"));
$this->parent = $this->loadTemplate("layout/base.html.twig", "layout/backEndLayout.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 3
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
<link href=\"";
// line 4
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", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"";
// line 5
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/jquery.mCustomScrollbar.css"), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"";
// line 6
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", null, true);
echo "\">
<link href=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.blue.css"), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 10
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 11
echo " ";
$this->displayParentBlock("title", $context, $blocks);
echo "
/Administration
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 20
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 21
echo "
";
// line 22
$this->displayBlock('sidebar', $context, $blocks);
// line 313
echo " <div class=\"page home-page\">
";
// line 314
$this->displayBlock('header', $context, $blocks);
// line 459
echo "
</div>
<section class=\" section-padding row\">
<article class=\"row\">
<aside class=\"col-2\"></aside>
<section class=\"col-10\">
";
// line 466
$this->displayBlock('content', $context, $blocks);
// line 467
echo " </section>
</article>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 22
public function block_sidebar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
// line 23
echo " <nav class=\"side-navbar\">
<div class=\"side-navbar-wrapper\">
";
// line 25
$this->displayBlock('identification', $context, $blocks);
// line 50
echo " ";
$this->displayBlock('menu', $context, $blocks);
// line 309
echo "
</div>
</nav>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 25
public function block_identification($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "identification"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "identification"));
// line 26
echo " <div class=\"sidenav-header d-flex align-items-center justify-content-center\">
<div class=\"sidenav-header-inner text-center\">
<img src=";
// line 28
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
echo " \"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 28, $this->source); })()), "user", [], "any", false, false, false, 28), "avatar", [75], "method", false, false, false, 28), "html", null, true);
echo "\" ";
} else {
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/avatar-2.jpg"), "html", null, true);
echo " ";
}
echo " class=\"img-fluid rounded-circle\" alt=\"user-avatar\">
<h2 class=\"h5 text-uppercase\"></h2>
<span class=\"text-uppercase\">
";
// line 31
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 32
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 32, $this->source); })()), "user", [], "any", false, false, false, 32), "username", [], "any", false, false, false, 32), "html", null, true);
echo "
";
}
// line 34
echo " </span>
</div>
<div class=\"sidenav-header-logo\">
<a href=\"index.html\" class=\"brand-small text-center\">
<strong></strong>
<strong class=\"text-primary\">
D
</strong>
</a>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 50
public function block_menu($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
// line 51
echo " <div class=\"main-menu\">
<ul id=\"side-main-menu\" class=\"side-menu list-unstyled\">
";
// line 55
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 56
echo "
<li class=\"";
// line 57
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 57, $this->source); })()), "request", [], "any", false, false, false, 57), "attributes", [], "any", false, false, false, 57), "get", ["_route"], "method", false, false, false, 57) == "admin_school_years")) {
echo "active";
}
echo "\">
<a href=\"";
// line 58
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_school_years");
echo "\">
<i class=\"fa fa-calendar\" aria-hidden=\"true\"></i>
Années scolaires
</a>
</li>
<li class=\"";
// line 63
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 63, $this->source); })()), "request", [], "any", false, false, false, 63), "attributes", [], "any", false, false, false, 63), "get", ["_route"], "method", false, false, false, 63) == "admin_quaters")) {
echo "active";
}
echo "\">
<a href=\"";
// line 64
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_quaters");
echo "\">
<i class=\"fa fa-calendar-check-o\" aria-hidden=\"true\"></i>
Trimestres
</a>
</li>
<li class=\"";
// line 69
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 69, $this->source); })()), "request", [], "any", false, false, false, 69), "attributes", [], "any", false, false, false, 69), "get", ["_route"], "method", false, false, false, 69) == "admin_sequences")) {
echo "active";
}
echo "\">
<a href=\"";
// line 70
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_sequences");
echo "\">
<i class=\"fa fa-calendar-minus-o\" aria-hidden=\"true\"></i>
Séquences
</a>
</li>
<li class=\"";
// line 76
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 76, $this->source); })()), "request", [], "any", false, false, false, 76), "attributes", [], "any", false, false, false, 76), "get", ["_route"], "method", false, false, false, 76) == "admin_programs")) {
echo "active";
}
echo "\">
<a href=\"";
// line 77
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_programs");
echo "\">
<i class=\"fa fa-table\" aria-hidden=\"true\"></i>
Programmes
</a>
</li>
<li class=\"";
// line 82
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 82, $this->source); })()), "request", [], "any", false, false, false, 82), "attributes", [], "any", false, false, false, 82), "get", ["_route"], "method", false, false, false, 82) == "admin_sections")) {
echo "active";
}
echo "\">
<a href=\"";
// line 83
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_sections");
echo "\">
<i class=\"fa fa-th-large\" aria-hidden=\"true\"></i>
Sections
</a>
</li>
<li class=\"";
// line 94
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 94, $this->source); })()), "request", [], "any", false, false, false, 94), "attributes", [], "any", false, false, false, 94), "get", ["_route"], "method", false, false, false, 94) == "admin_cycles")) {
echo "active";
}
echo "\">
<a href=\"";
// line 95
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_cycles");
echo "\">
<i class=\"fa fa-th-list\" aria-hidden=\"true\"></i>
Cycles
</a>
</li>
<li class=\"";
// line 106
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 106, $this->source); })()), "request", [], "any", false, false, false, 106), "attributes", [], "any", false, false, false, 106), "get", ["_route"], "method", false, false, false, 106) == "admin_levels")) {
echo "active";
}
echo "\">
<a href=\"";
// line 107
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_levels");
echo "\">
<i class=\"fa fa-list-ul\" aria-hidden=\"true\"></i>
Niveaux
</a>
</li>
<li class=\"";
// line 120
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 120, $this->source); })()), "request", [], "any", false, false, false, 120), "attributes", [], "any", false, false, false, 120), "get", ["_route"], "method", false, false, false, 120) == "admin_modules")) {
echo "active";
}
echo "\">
<a href=\"";
// line 121
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_modules");
echo "\">
<i class=\"fa fa-folder-open-o\" aria-hidden=\"true\"></i>
Module
</a>
</li>
<li class=\"";
// line 132
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 132, $this->source); })()), "request", [], "any", false, false, false, 132), "attributes", [], "any", false, false, false, 132), "get", ["_route"], "method", false, false, false, 132) == "admin_domains")) {
echo "active";
}
echo "\">
<a href=\"";
// line 133
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_domains");
echo "\">
<i class=\"fa fa-user-md\" aria-hidden=\"true\"></i>
Departement.
</a>
</li>
<li class=\"";
// line 144
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 144, $this->source); })()), "request", [], "any", false, false, false, 144), "attributes", [], "any", false, false, false, 144), "get", ["_route"], "method", false, false, false, 144) == "admin_courses")) {
echo "active";
}
echo "\">
<a href=\"";
// line 145
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_courses");
echo "\">
<i class=\"fa fa-book\" aria-hidden=\"true\"></i>
Matières
</a>
</li>
<li class=\"";
// line 157
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 157, $this->source); })()), "request", [], "any", false, false, false, 157), "attributes", [], "any", false, false, false, 157), "get", ["_route"], "method", false, false, false, 157) == "admin_subscriptions")) {
echo "active";
}
echo "\">
<a href=\"";
// line 158
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_subscriptions");
echo "\">
<i class=\"fa fa-exchange\" aria-hidden=\"true\"></i>
Inscriptions
</a>
</li>
<li class=\"";
// line 171
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 171, $this->source); })()), "request", [], "any", false, false, false, 171), "attributes", [], "any", false, false, false, 171), "get", ["_route"], "method", false, false, false, 171) == "admin_students")) {
echo "active";
}
echo "\">
<a href=\"";
// line 172
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_students", ["type" => "new_students_not_yet_registered_checkbox"]);
echo "\">
<i class=\"fa fa-users\"></i>
Eleves
</a>
</li>
<li class=\"";
// line 183
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 183, $this->source); })()), "request", [], "any", false, false, false, 183), "attributes", [], "any", false, false, false, 183), "get", ["_route"], "method", false, false, false, 183) == "admin_attributions")) {
echo "active";
}
echo "\">
<a href=\"";
// line 184
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_attributions");
echo "\">
<i class=\"fa fa-map-signs\" aria-hidden=\"true\"></i>
Attributions
\t\t\t\t\t\t\t\t\t\t
</a>
</li>
<li class=\"";
// line 196
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 196, $this->source); })()), "request", [], "any", false, false, false, 196), "attributes", [], "any", false, false, false, 196), "get", ["_route"], "method", false, false, false, 196) == "admin_users")) {
echo "active";
}
echo "\">
<a href=\"";
// line 197
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_users");
echo "\">
<i class=\"fa fa-user\" aria-hidden=\"true\"></i>
Professeurs
</a>
</li>
<li class=\"";
// line 208
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 208, $this->source); })()), "request", [], "any", false, false, false, 208), "attributes", [], "any", false, false, false, 208), "get", ["_route"], "method", false, false, false, 208) == "admin_statistics")) {
echo "active";
}
echo "\">
<a href=\"";
// line 209
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_statistics");
echo "\">
<i class=\"fa fa-area-chart\" aria-hidden=\"true\"></i>
Statistiques
</a>
</li>
";
}
// line 217
echo "
<li class=\"";
// line 218
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 218, $this->source); })()), "request", [], "any", false, false, false, 218), "attributes", [], "any", false, false, false, 218), "get", ["_route"], "method", false, false, false, 218) == "admin_classrooms")) {
echo "active";
}
echo "\">
<a href=\"";
// line 219
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_classrooms");
echo "\">
<i class=\"fa fa-indent\" aria-hidden=\"true\"></i>
Classes
</a>
</li>
<li class=\"";
// line 230
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 230, $this->source); })()), "request", [], "any", false, false, false, 230), "attributes", [], "any", false, false, false, 230), "get", ["_route"], "method", false, false, false, 230) == "admin_evaluations")) {
echo "active";
}
echo "\">
<a href=\"";
// line 231
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_evaluations");
echo "\">
<i class=\"fa fa-file-pdf-o\" aria-hidden=\"true\"></i>
Evaluations
</a>
</li>
";
// line 238
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_DISCIPLINE")) {
// line 239
echo " <li class=\"";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 239, $this->source); })()), "request", [], "any", false, false, false, 239), "attributes", [], "any", false, false, false, 239), "get", ["_route"], "method", false, false, false, 239) == "admin_abscences_sheet_index")) {
echo "active";
}
echo "\">
<a href=\"";
// line 240
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_abscences_sheet_index");
echo "\">
<i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i>
Discipline
</a>
</li>
";
}
// line 246
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_FINANCIAL")) {
// line 247
echo " <li class=\"";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 247, $this->source); })()), "request", [], "any", false, false, false, 247), "attributes", [], "any", false, false, false, 247), "get", ["_route"], "method", false, false, false, 247) == "app_payment_index")) {
echo "active";
}
echo "\">
<a href=\"";
// line 248
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_payment_index");
echo "\">
<i class=\"fa fa-money\" aria-hidden=\"true\"></i>
Payment
</a>
</li>
<li class=\"";
// line 254
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 254, $this->source); })()), "request", [], "any", false, false, false, 254), "attributes", [], "any", false, false, false, 254), "get", ["_route"], "method", false, false, false, 254) == "admin_paymentPlans")) {
echo "active";
}
echo "\">
<a href=\"";
// line 255
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_paymentPlans");
echo "\">
<i class=\"fa fa-clock-o\" aria-hidden=\"true\"></i>
Scolarite
</a>
</li>
";
}
// line 261
echo "
";
// line 292
echo " <li class=\"";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 292, $this->source); })()), "request", [], "any", false, false, false, 292), "attributes", [], "any", false, false, false, 292), "get", ["_route"], "method", false, false, false, 292) == "app_account")) {
echo "active";
}
echo "\">
<a href=\"";
// line 293
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_account");
echo "\">
<i class=\"fa fa-user-circle\"></i>
Account
</a>
</li>
</ul>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 314
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 315
echo " <header class=\"header\">
<nav class=\"navbar\">
<div class=\"container-fluid\">
<div class=\"navbar-holder d-flex justify-content-around\">
<div class=\"navbar-header\">
<a id=\"toggle-btn\" href=\"#\" class=\"menu-btn\">
<i class=\"fa fa-bars\" aria-hidden=\"true\"></i>
</a>
<a href=\"";
// line 324
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
echo "\" class=\"navbar-brand text-center\">
<div class=\"brand-text d-none d-md-inline-block\">
<strong class=\"text-primary\">
SCHOOL MANAGEMENT SYSTEM
</strong>
</div>
</a>
";
// line 337
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", false, false, false, 337)) {
// line 338
echo " <a id=\"logout_btn\" href=\"#\" onclick=\"event.preventDefault(); document.getElementById('js-logout-form').submit();\" class=\"btn text-right btn-warning\">
<i class=\"fa fa-sign-out\" aria-hidden=\"true\"></i>
</a>
<form id=\"js-logout-form\" action=\"";
// line 342
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\" style=\"dislay:none;\" method=\"POST\">
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 343
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("logout"), "html", null, true);
echo "\" />
</form>
";
}
// line 347
echo " </div>
</div>
</div>
</nav>
<section class=\"container-fluid\">
<div class=\"row m-2\">
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"icon\">
<i class=\"fa fa-graduation-cap\" aria-hidden=\"true\"></i>
</div>
<div class=\"name\">
<strong class=\"text-uppercase\">
";
// line 364
echo twig_escape_filter($this->env, $this->extensions['App\Twig\StatExtension']->students(), "html", null, true);
echo " eleves
</strong>
</div>
</div>
</div>
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"icon\">
<i class=\"fa fa-users\" aria-hidden=\"true\"></i>
</div>
<div class=\"name\">
<strong class=\"text-uppercase\">
";
// line 378
echo twig_escape_filter($this->env, $this->extensions['App\Twig\StatExtension']->teachers(), "html", null, true);
echo " enseigants
</strong>
</div>
</div>
</div>
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"icon\">
<i class=\"fa fa-users\"></i>
</div>
<div class=\"name\">
<strong class=\"text-uppercase\">
";
// line 391
echo " insolvables
</strong>
</div>
</div>
</div>
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"form-group\">
<select class=\"custom-select form-select form-control\" id=\"select_year\">
";
// line 403
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, $this->extensions['App\Twig\AppExtension']->years()));
foreach ($context['_seq'] as $context["_key"] => $context["year"]) {
// line 404
echo " ";
if (twig_get_attribute($this->env, $this->source, 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.', 404, $this->source); })()), "session", [], "any", false, false, false, 404), "has", ["session_school_year"], "method", false, false, false, 404)) {
// line 405
echo "
<option ";
// line 406
if ((twig_get_attribute($this->env, $this->source, 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.', 406, $this->source); })()), "session", [], "any", false, false, false, 406), "get", ["session_school_year"], "method", false, false, false, 406) == twig_get_attribute($this->env, $this->source, $context["year"], "id", [], "any", false, false, false, 406))) {
echo "selected";
}
echo " value=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["year"], "id", [], "any", false, false, false, 406), "html", null, true);
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["year"], "code", [], "any", false, false, false, 406), "html", null, true);
echo "</option>
";
} else {
// line 408
echo " <option value=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["year"], "id", [], "any", false, false, false, 408), "html", null, true);
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["year"], "code", [], "any", false, false, false, 408), "html", null, true);
echo "</option>
";
}
// line 410
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['year'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 411
echo " </select>
</div>
</div>
</div>
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"icon\">
<i class=\"icon-list\"></i>
</div>
<div class=\"name\">
<strong class=\"text-uppercase\">
";
// line 422
echo twig_escape_filter($this->env, $this->extensions['App\Twig\StatExtension']->rooms(), "html", null, true);
echo " classes
</strong>
<div class=\"count-number\"></div>
</div>
</div>
</div>
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"icon\">
<i class=\"fa fa-home\" aria-hidden=\"true\"></i>
</div>
<div class=\"name\">
<strong class=\"text-uppercase\">
</strong>
</div>
</div>
</div>
</div>
</div>
</section>
</header>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 466
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 472
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 473
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 474
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script type=\"text/javascript\" src=\"";
// line 476
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.cookie.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 477
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", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 478
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.validate.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 479
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.mCustomScrollbar.concat.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\">
\$('#select_year').on('change', function() {
postData = {
\t\t\t\t\"selectedSchoolYear\": \$(this).val()
\t\t\t};
\$.ajax({
\t\t\ttype: \"POST\",
\t\t\turl: \"";
// line 487
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("update_school_year");
echo "\",
\t\t\tdata: postData,
\t\t\tdatatype: \"json\",
\t\t\tsuccess: function (data) {
\t\t\t\tconsole.log(\"Changement d'annee.\");
location.reload();
\t\t\t},
\t\t\terror: function (e) {
\t\t\t\tconsole.log(e.message);
\t\t\t\talert(\"Echec.\");
\t\t\t}
\t\t\t});
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "layout/backEndLayout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout/base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
<link href=\"{{ asset('assets/css/grasp_mobile_progress_circle-1.0.0.min.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"{{ asset('assets/css/jquery.mCustomScrollbar.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"{{ asset('https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css') }}\">
<link href=\"{{ asset('assets/css/style.blue.css') }}\" rel=\"stylesheet\" type=\"text/css\" />
{% endblock %}
{% block title %}
{{ parent() }}
/Administration
{% endblock %}
{% block main %}
{% block sidebar %}
<nav class=\"side-navbar\">
<div class=\"side-navbar-wrapper\">
{% block identification %}
<div class=\"sidenav-header d-flex align-items-center justify-content-center\">
<div class=\"sidenav-header-inner text-center\">
<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\">
<h2 class=\"h5 text-uppercase\"></h2>
<span class=\"text-uppercase\">
{% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
{{ app.user.username }}
{% endif %}
</span>
</div>
<div class=\"sidenav-header-logo\">
<a href=\"index.html\" class=\"brand-small text-center\">
<strong></strong>
<strong class=\"text-primary\">
D
</strong>
</a>
</div>
</div>
{% endblock identification %}
{% block menu %}
<div class=\"main-menu\">
<ul id=\"side-main-menu\" class=\"side-menu list-unstyled\">
{% if is_granted('ROLE_ADMIN') %}
<li class=\"{% if app.request.attributes.get('_route') == \"admin_school_years\" %}active{% endif %}\">
<a href=\"{{ path('admin_school_years') }}\">
<i class=\"fa fa-calendar\" aria-hidden=\"true\"></i>
Années scolaires
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_quaters\" %}active{% endif %}\">
<a href=\"{{ path('admin_quaters') }}\">
<i class=\"fa fa-calendar-check-o\" aria-hidden=\"true\"></i>
Trimestres
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_sequences\" %}active{% endif %}\">
<a href=\"{{ path('admin_sequences') }}\">
<i class=\"fa fa-calendar-minus-o\" aria-hidden=\"true\"></i>
Séquences
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_programs\" %}active{% endif %}\">
<a href=\"{{ path('admin_programs') }}\">
<i class=\"fa fa-table\" aria-hidden=\"true\"></i>
Programmes
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_sections\" %}active{% endif %}\">
<a href=\"{{ path('admin_sections') }}\">
<i class=\"fa fa-th-large\" aria-hidden=\"true\"></i>
Sections
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_cycles\" %}active{% endif %}\">
<a href=\"{{ path('admin_cycles') }}\">
<i class=\"fa fa-th-list\" aria-hidden=\"true\"></i>
Cycles
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_levels\" %}active{% endif %}\">
<a href=\"{{ path('admin_levels') }}\">
<i class=\"fa fa-list-ul\" aria-hidden=\"true\"></i>
Niveaux
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_modules\" %}active{% endif %}\">
<a href=\"{{ path('admin_modules') }}\">
<i class=\"fa fa-folder-open-o\" aria-hidden=\"true\"></i>
Module
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_domains\" %}active{% endif %}\">
<a href=\"{{ path('admin_domains') }}\">
<i class=\"fa fa-user-md\" aria-hidden=\"true\"></i>
Departement.
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_courses\" %}active{% endif %}\">
<a href=\"{{ path('admin_courses') }}\">
<i class=\"fa fa-book\" aria-hidden=\"true\"></i>
Matières
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_subscriptions\" %}active{% endif %}\">
<a href=\"{{ path('admin_subscriptions') }}\">
<i class=\"fa fa-exchange\" aria-hidden=\"true\"></i>
Inscriptions
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_students\" %}active{% endif %}\">
<a href=\"{{ path('admin_students', { 'type': \"new_students_not_yet_registered_checkbox\" }) }}\">
<i class=\"fa fa-users\"></i>
Eleves
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_attributions\" %}active{% endif %}\">
<a href=\"{{ path('admin_attributions') }}\">
<i class=\"fa fa-map-signs\" aria-hidden=\"true\"></i>
Attributions
\t\t\t\t\t\t\t\t\t\t
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_users\" %}active{% endif %}\">
<a href=\"{{ path('admin_users') }}\">
<i class=\"fa fa-user\" aria-hidden=\"true\"></i>
Professeurs
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_statistics\" %}active{% endif %}\">
<a href=\"{{ path('admin_statistics') }}\">
<i class=\"fa fa-area-chart\" aria-hidden=\"true\"></i>
Statistiques
</a>
</li>
{% endif %}
<li class=\"{% if app.request.attributes.get('_route') == \"admin_classrooms\" %}active{% endif %}\">
<a href=\"{{ path('admin_classrooms') }}\">
<i class=\"fa fa-indent\" aria-hidden=\"true\"></i>
Classes
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_evaluations\" %}active{% endif %}\">
<a href=\"{{ path('admin_evaluations') }}\">
<i class=\"fa fa-file-pdf-o\" aria-hidden=\"true\"></i>
Evaluations
</a>
</li>
{% if is_granted('ROLE_DISCIPLINE') %}
<li class=\"{% if app.request.attributes.get('_route') == \"admin_abscences_sheet_index\" %}active{% endif %}\">
<a href=\"{{ path('admin_abscences_sheet_index') }}\">
<i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i>
Discipline
</a>
</li>
{% endif %}
{% if is_granted('ROLE_FINANCIAL') %}
<li class=\"{% if app.request.attributes.get('_route') == \"app_payment_index\" %}active{% endif %}\">
<a href=\"{{ path('app_payment_index') }}\">
<i class=\"fa fa-money\" aria-hidden=\"true\"></i>
Payment
</a>
</li>
<li class=\"{% if app.request.attributes.get('_route') == \"admin_paymentPlans\" %}active{% endif %}\">
<a href=\"{{ path('admin_paymentPlans') }}\">
<i class=\"fa fa-clock-o\" aria-hidden=\"true\"></i>
Scolarite
</a>
</li>
{% endif %}
{#<li class=\"{% if app.request.attributes.get('_route') == \"admin_emails\" %}active{% endif %}\">
\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>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t<li class=\"{% if app.request.attributes.get('_route') == \"admin_payes\" %}active{% endif %}\">
\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>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t<HR size=\"0.8\" align=\"center\" width=\"80%\" color=\"white\">
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t{#
\t\t\t\t\t\t\t\t\t<HR size=\"0.8\" align=\"center\" width=\"80%\" color=\"white\">
\t\t\t\t\t\t\t\t\t<li class=\"{% if app.request.attributes.get('_route') == \"admin_tables\" %}active{% endif %}\">
\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('admin_tables')}}\">
\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-filter\" aria-hidden=\"true\"></i>
\t\t\t\t\t\t\t\t\t\t\t<span>Filtres
\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t<li class=\"{% if app.request.attributes.get('_route') == \"admin_graphs\" %}active{% endif %}\">
\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('admin_graphs')}}\">
\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-bar-chart\" aria-hidden=\"true\"></i>
\t\t\t\t\t\t\t\t\t\t\t<span>Graphes
\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t#}
<li class=\"{% if app.request.attributes.get('_route') == \"app_account\" %}active{% endif %}\">
<a href=\"{{ path('app_account') }}\">
<i class=\"fa fa-user-circle\"></i>
Account
</a>
</li>
</ul>
</div>
{% endblock menu %}
</div>
</nav>
{% endblock sidebar %}
<div class=\"page home-page\">
{% block header %}
<header class=\"header\">
<nav class=\"navbar\">
<div class=\"container-fluid\">
<div class=\"navbar-holder d-flex justify-content-around\">
<div class=\"navbar-header\">
<a id=\"toggle-btn\" href=\"#\" class=\"menu-btn\">
<i class=\"fa fa-bars\" aria-hidden=\"true\"></i>
</a>
<a href=\"{{ path('app_home') }}\" class=\"navbar-brand text-center\">
<div class=\"brand-text d-none d-md-inline-block\">
<strong class=\"text-primary\">
SCHOOL MANAGEMENT SYSTEM
</strong>
</div>
</a>
{% if app.user %}
<a id=\"logout_btn\" href=\"#\" onclick=\"event.preventDefault(); document.getElementById('js-logout-form').submit();\" class=\"btn text-right btn-warning\">
<i class=\"fa fa-sign-out\" aria-hidden=\"true\"></i>
</a>
<form id=\"js-logout-form\" action=\"{{ path('app_logout') }}\" style=\"dislay:none;\" method=\"POST\">
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('logout') }}\" />
</form>
{% endif %}
</div>
</div>
</div>
</nav>
<section class=\"container-fluid\">
<div class=\"row m-2\">
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"icon\">
<i class=\"fa fa-graduation-cap\" aria-hidden=\"true\"></i>
</div>
<div class=\"name\">
<strong class=\"text-uppercase\">
{{ students_count() }} eleves
</strong>
</div>
</div>
</div>
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"icon\">
<i class=\"fa fa-users\" aria-hidden=\"true\"></i>
</div>
<div class=\"name\">
<strong class=\"text-uppercase\">
{{ teachers_count() }} enseigants
</strong>
</div>
</div>
</div>
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"icon\">
<i class=\"fa fa-users\"></i>
</div>
<div class=\"name\">
<strong class=\"text-uppercase\">
{# insolvents() #} insolvables
</strong>
</div>
</div>
</div>
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"form-group\">
<select class=\"custom-select form-select form-control\" id=\"select_year\">
{% for year in years()|reverse %}
{% if app.session.has('session_school_year') %}
<option {% if app.session.get('session_school_year')== year.id %}selected{% endif %} value={{year.id}}>{{year.code}}</option>
{% else %}
<option value={{year.id}}>{{year.code}}</option>
{% endif %}
{% endfor %}
</select>
</div>
</div>
</div>
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"icon\">
<i class=\"icon-list\"></i>
</div>
<div class=\"name\">
<strong class=\"text-uppercase\">
{{ rooms_count() }} classes
</strong>
<div class=\"count-number\"></div>
</div>
</div>
</div>
<div class=\"col-xl-2 col-md-4 col-6\">
<div class=\"wrapper count-title d-flex\">
<div class=\"icon\">
<i class=\"fa fa-home\" aria-hidden=\"true\"></i>
</div>
<div class=\"name\">
<strong class=\"text-uppercase\">
</strong>
</div>
</div>
</div>
</div>
</div>
</section>
</header>
{% endblock header %}
</div>
<section class=\" section-padding row\">
<article class=\"row\">
<aside class=\"col-2\"></aside>
<section class=\"col-10\">
{% block content %}{% endblock content %}
</section>
</article>
</section>
{% endblock main %}
{% block footer %}{% endblock footer %}
{% block javascripts %}
{{ parent() }}
<script type=\"text/javascript\" src=\"{{ asset('assets/js/jquery.cookie.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/grasp_mobile_progress_circle-1.0.0.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/jquery.validate.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/jquery.mCustomScrollbar.concat.min.js') }}\"></script>
<script type=\"text/javascript\">
\$('#select_year').on('change', function() {
postData = {
\t\t\t\t\"selectedSchoolYear\": \$(this).val()
\t\t\t};
\$.ajax({
\t\t\ttype: \"POST\",
\t\t\turl: \"{{ path('update_school_year') }}\",
\t\t\tdata: postData,
\t\t\tdatatype: \"json\",
\t\t\tsuccess: function (data) {
\t\t\t\tconsole.log(\"Changement d'annee.\");
location.reload();
\t\t\t},
\t\t\terror: function (e) {
\t\t\t\tconsole.log(e.message);
\t\t\t\talert(\"Echec.\");
\t\t\t}
\t\t\t});
});
</script>
{% endblock javascripts %}
", "layout/backEndLayout.html.twig", "/var/www/prod/current/templates/layout/backEndLayout.html.twig");
}
}