<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* layout/backEndLayout.html.twig */
class __TwigTemplate_105b46d638235962bcc48d5c61ae4304 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $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): bool|string|Template|TemplateWrapper
{
// line 1
return "layout/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$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
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
<link href=\"";
// line 4
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/grasp_mobile_progress_circle-1.0.0.min.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"";
// line 5
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/jquery.mCustomScrollbar.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"";
// line 6
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.css"), "html", null, true);
yield "\">
<link href=\"";
// line 8
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.blue.css"), "html", null, true);
yield "\" rel=\"stylesheet\" type=\"text/css\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 10
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$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
yield " ";
yield from $this->yieldParentBlock("title", $context, $blocks);
yield "
/Administration
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 14
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_main(array $context, array $blocks = []): iterable
{
$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 15
yield "
";
// line 16
yield from $this->unwrap()->yieldBlock('sidebar', $context, $blocks);
// line 308
yield " <div class=\"page home-page\">
";
// line 309
yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
// line 457
yield "
</div>
<section class=\" section-padding row\">
<article class=\"row\">
<aside class=\"col-2\"></aside>
<section class=\"col-10\">
";
// line 464
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 465
yield " </section>
</article>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 16
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_sidebar(array $context, array $blocks = []): iterable
{
$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 17
yield " <nav class=\"side-navbar\">
<div class=\"side-navbar-wrapper\">
";
// line 19
yield from $this->unwrap()->yieldBlock('identification', $context, $blocks);
// line 44
yield " ";
yield from $this->unwrap()->yieldBlock('menu', $context, $blocks);
// line 304
yield "
</div>
</nav>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 19
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_identification(array $context, array $blocks = []): iterable
{
$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 20
yield " <div class=\"sidenav-header d-flex align-items-center justify-content-center\">
<div class=\"sidenav-header-inner text-center\">
<img src=";
// line 22
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
yield " \"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 22, $this->source); })()), "user", [], "any", false, false, false, 22), "avatar", [75], "method", false, false, false, 22), "html", null, true);
yield "\" ";
} else {
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/avatar-2.jpg"), "html", null, true);
yield " ";
}
yield " class=\"img-fluid rounded-circle\" alt=\"user-avatar\">
<h2 class=\"h5 text-uppercase\"></h2>
<span class=\"text-uppercase\">
";
// line 25
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 26
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "user", [], "any", false, false, false, 26), "username", [], "any", false, false, false, 26), "html", null, true);
yield "
";
}
// line 28
yield " </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);
yield from [];
}
// line 44
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_menu(array $context, array $blocks = []): iterable
{
$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 45
yield " <div class=\"main-menu\">
<ul id=\"side-main-menu\" class=\"side-menu list-unstyled\">
";
// line 49
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 50
yield "
<li class=\"";
// line 51
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 51, $this->source); })()), "request", [], "any", false, false, false, 51), "attributes", [], "any", false, false, false, 51), "get", ["_route"], "method", false, false, false, 51) == "admin_school_years")) {
yield "active";
}
yield "\">
<a href=\"";
// line 52
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_school_years");
yield "\">
<i class=\"fa fa-calendar\" aria-hidden=\"true\"></i>
Années scolaires
</a>
</li>
<li class=\"";
// line 57
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 57, $this->source); })()), "request", [], "any", false, false, false, 57), "attributes", [], "any", false, false, false, 57), "get", ["_route"], "method", false, false, false, 57) == "admin_quaters")) {
yield "active";
}
yield "\">
<a href=\"";
// line 58
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_quaters");
yield "\">
<i class=\"fa fa-calendar-check-o\" aria-hidden=\"true\"></i>
Trimestres
</a>
</li>
<li class=\"";
// line 63
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 63, $this->source); })()), "request", [], "any", false, false, false, 63), "attributes", [], "any", false, false, false, 63), "get", ["_route"], "method", false, false, false, 63) == "admin_sequences")) {
yield "active";
}
yield "\">
<a href=\"";
// line 64
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_sequences");
yield "\">
<i class=\"fa fa-calendar-minus-o\" aria-hidden=\"true\"></i>
Séquences
</a>
</li>
<li class=\"";
// line 70
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 70, $this->source); })()), "request", [], "any", false, false, false, 70), "attributes", [], "any", false, false, false, 70), "get", ["_route"], "method", false, false, false, 70) == "admin_programs")) {
yield "active";
}
yield "\">
<a href=\"";
// line 71
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_programs");
yield "\">
<i class=\"fa fa-table\" aria-hidden=\"true\"></i>
Programmes
</a>
</li>
<li class=\"";
// line 76
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 76, $this->source); })()), "request", [], "any", false, false, false, 76), "attributes", [], "any", false, false, false, 76), "get", ["_route"], "method", false, false, false, 76) == "admin_sections")) {
yield "active";
}
yield "\">
<a href=\"";
// line 77
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_sections");
yield "\">
<i class=\"fa fa-th-large\" aria-hidden=\"true\"></i>
Sections
</a>
</li>
<li class=\"";
// line 88
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 88, $this->source); })()), "request", [], "any", false, false, false, 88), "attributes", [], "any", false, false, false, 88), "get", ["_route"], "method", false, false, false, 88) == "admin_cycles")) {
yield "active";
}
yield "\">
<a href=\"";
// line 89
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_cycles");
yield "\">
<i class=\"fa fa-th-list\" aria-hidden=\"true\"></i>
Cycles
</a>
</li>
<li class=\"";
// line 100
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 100, $this->source); })()), "request", [], "any", false, false, false, 100), "attributes", [], "any", false, false, false, 100), "get", ["_route"], "method", false, false, false, 100) == "admin_levels")) {
yield "active";
}
yield "\">
<a href=\"";
// line 101
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_levels");
yield "\">
<i class=\"fa fa-list-ul\" aria-hidden=\"true\"></i>
Niveaux
</a>
</li>
<li class=\"";
// line 114
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 114, $this->source); })()), "request", [], "any", false, false, false, 114), "attributes", [], "any", false, false, false, 114), "get", ["_route"], "method", false, false, false, 114) == "admin_modules")) {
yield "active";
}
yield "\">
<a href=\"";
// line 115
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_modules");
yield "\">
<i class=\"fa fa-folder-open-o\" aria-hidden=\"true\"></i>
Module
</a>
</li>
<li class=\"";
// line 126
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 126, $this->source); })()), "request", [], "any", false, false, false, 126), "attributes", [], "any", false, false, false, 126), "get", ["_route"], "method", false, false, false, 126) == "admin_domains")) {
yield "active";
}
yield "\">
<a href=\"";
// line 127
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_domains");
yield "\">
<i class=\"fa fa-user-md\" aria-hidden=\"true\"></i>
Departement.
</a>
</li>
<li class=\"";
// line 138
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 138, $this->source); })()), "request", [], "any", false, false, false, 138), "attributes", [], "any", false, false, false, 138), "get", ["_route"], "method", false, false, false, 138) == "admin_courses")) {
yield "active";
}
yield "\">
<a href=\"";
// line 139
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_courses");
yield "\">
<i class=\"fa fa-book\" aria-hidden=\"true\"></i>
Matières
</a>
</li>
<li class=\"";
// line 151
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, false, 151), "attributes", [], "any", false, false, false, 151), "get", ["_route"], "method", false, false, false, 151) == "admin_subscriptions")) {
yield "active";
}
yield "\">
<a href=\"";
// line 152
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_subscriptions");
yield "\">
<i class=\"fa fa-exchange\" aria-hidden=\"true\"></i>
Inscriptions
</a>
</li>
<li class=\"";
// line 165
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 165, $this->source); })()), "request", [], "any", false, false, false, 165), "attributes", [], "any", false, false, false, 165), "get", ["_route"], "method", false, false, false, 165) == "admin_students")) {
yield "active";
}
yield "\">
<a href=\"";
// line 166
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_students", ["type" => "new_students_not_yet_registered_checkbox"]);
yield "\">
<i class=\"fa fa-users\"></i>
Eleves
</a>
</li>
<li class=\"";
// line 177
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 177, $this->source); })()), "request", [], "any", false, false, false, 177), "attributes", [], "any", false, false, false, 177), "get", ["_route"], "method", false, false, false, 177) == "admin_attributions")) {
yield "active";
}
yield "\">
<a href=\"";
// line 178
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_attributions");
yield "\">
<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 190
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 190, $this->source); })()), "request", [], "any", false, false, false, 190), "attributes", [], "any", false, false, false, 190), "get", ["_route"], "method", false, false, false, 190) == "admin_users")) {
yield "active";
}
yield "\">
<a href=\"";
// line 191
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_users");
yield "\">
<i class=\"fa fa-user\" aria-hidden=\"true\"></i>
Professeurs
</a>
</li>
<li class=\"";
// line 202
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 202, $this->source); })()), "request", [], "any", false, false, false, 202), "attributes", [], "any", false, false, false, 202), "get", ["_route"], "method", false, false, false, 202) == "admin_statistics")) {
yield "active";
}
yield "\">
<a href=\"";
// line 203
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_statistics");
yield "\">
<i class=\"fa fa-area-chart\" aria-hidden=\"true\"></i>
Statistiques
</a>
</li>
<li class=\"";
// line 210
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 210, $this->source); })()), "request", [], "any", false, false, false, 210), "attributes", [], "any", false, false, false, 210), "get", ["_route"], "method", false, false, false, 210) == "admin_classrooms")) {
yield "active";
}
yield "\">
<a href=\"";
// line 211
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_classrooms");
yield "\">
<i class=\"fa fa-indent\" aria-hidden=\"true\"></i>
Classes
</a>
</li>
";
}
// line 223
yield "
<li class=\"";
// line 225
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 225, $this->source); })()), "request", [], "any", false, false, false, 225), "attributes", [], "any", false, false, false, 225), "get", ["_route"], "method", false, false, false, 225) == "admin_evaluations")) {
yield "active";
}
yield "\">
<a href=\"";
// line 226
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_evaluations");
yield "\">
<i class=\"fa fa-file-pdf-o\" aria-hidden=\"true\"></i>
Evaluations
</a>
</li>
";
// line 233
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_DISCIPLINE")) {
// line 234
yield " <li class=\"";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 234, $this->source); })()), "request", [], "any", false, false, false, 234), "attributes", [], "any", false, false, false, 234), "get", ["_route"], "method", false, false, false, 234) == "admin_abscences_sheet_index")) {
yield "active";
}
yield "\">
<a href=\"";
// line 235
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_abscences_sheet_index");
yield "\">
<i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i>
Discipline
</a>
</li>
";
}
// line 241
yield " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_FINANCIAL")) {
// line 242
yield " <li class=\"";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 242, $this->source); })()), "request", [], "any", false, false, false, 242), "attributes", [], "any", false, false, false, 242), "get", ["_route"], "method", false, false, false, 242) == "app_payment_index")) {
yield "active";
}
yield "\">
<a href=\"";
// line 243
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_payment_index");
yield "\">
<i class=\"fa fa-money\" aria-hidden=\"true\"></i>
Payment
</a>
</li>
<li class=\"";
// line 249
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 249, $this->source); })()), "request", [], "any", false, false, false, 249), "attributes", [], "any", false, false, false, 249), "get", ["_route"], "method", false, false, false, 249) == "admin_paymentPlans")) {
yield "active";
}
yield "\">
<a href=\"";
// line 250
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_paymentPlans");
yield "\">
<i class=\"fa fa-clock-o\" aria-hidden=\"true\"></i>
Scolarite
</a>
</li>
";
}
// line 256
yield "
";
// line 287
yield " <li class=\"";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 287, $this->source); })()), "request", [], "any", false, false, false, 287), "attributes", [], "any", false, false, false, 287), "get", ["_route"], "method", false, false, false, 287) == "app_account")) {
yield "active";
}
yield "\">
<a href=\"";
// line 288
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_account");
yield "\">
<i class=\"fa fa-user-circle\"></i>
Account
</a>
</li>
</ul>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 309
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_header(array $context, array $blocks = []): iterable
{
$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 310
yield " <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 319
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
yield "\" 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 332
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 332, $this->source); })()), "user", [], "any", false, false, false, 332)) {
// line 333
yield " <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 337
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
yield "\" style=\"dislay:none;\" method=\"POST\">
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 338
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("logout"), "html", null, true);
yield "\" />
</form>
";
}
// line 342
yield " </div>
</div>
</div>
</nav>
<section class=\"container-fluid\">
";
// line 350
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 351
yield "
<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 361
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\StatExtension']->students(), "html", null, true);
yield " 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 375
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\StatExtension']->teachers(), "html", null, true);
yield " 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 388
yield " 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 400
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::reverse($this->env->getCharset(), $this->extensions['App\Twig\AppExtension']->years()));
foreach ($context['_seq'] as $context["_key"] => $context["year"]) {
// line 401
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 401, $this->source); })()), "session", [], "any", false, false, false, 401), "has", ["session_school_year"], "method", false, false, false, 401)) {
// line 402
yield "
<option ";
// line 403
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 403, $this->source); })()), "session", [], "any", false, false, false, 403), "get", ["session_school_year"], "method", false, false, false, 403) == CoreExtension::getAttribute($this->env, $this->source, $context["year"], "id", [], "any", false, false, false, 403))) {
yield "selected";
}
yield " value=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["year"], "id", [], "any", false, false, false, 403), "html", null, true);
yield ">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["year"], "code", [], "any", false, false, false, 403), "html", null, true);
yield "</option>
";
} else {
// line 405
yield " <option value=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["year"], "id", [], "any", false, false, false, 405), "html", null, true);
yield ">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["year"], "code", [], "any", false, false, false, 405), "html", null, true);
yield "</option>
";
}
// line 407
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['year'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 408
yield " </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 419
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\StatExtension']->rooms(), "html", null, true);
yield " 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>
";
}
// line 453
yield " </section>
</header>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 464
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$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);
yield from [];
}
// line 470
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(array $context, array $blocks = []): iterable
{
$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);
yield from [];
}
// line 471
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$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 472
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
<script type=\"text/javascript\" src=\"";
// line 474
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.cookie.js"), "html", null, true);
yield "\"></script>
<script type=\"text/javascript\" src=\"";
// line 475
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/grasp_mobile_progress_circle-1.0.0.min.js"), "html", null, true);
yield "\"></script>
<script type=\"text/javascript\" src=\"";
// line 476
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.validate.min.js"), "html", null, true);
yield "\"></script>
<script type=\"text/javascript\" src=\"";
// line 477
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.mCustomScrollbar.concat.min.js"), "html", null, true);
yield "\"></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 485
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("update_school_year");
yield "\",
\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);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "layout/backEndLayout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 1043 => 485, 1032 => 477, 1028 => 476, 1024 => 475, 1020 => 474, 1014 => 472, 1001 => 471, 979 => 470, 957 => 464, 943 => 453, 906 => 419, 893 => 408, 887 => 407, 879 => 405, 868 => 403, 865 => 402, 862 => 401, 858 => 400, 844 => 388, 828 => 375, 811 => 361, 799 => 351, 797 => 350, 787 => 342, 780 => 338, 776 => 337, 770 => 333, 768 => 332, 752 => 319, 741 => 310, 728 => 309, 701 => 288, 694 => 287, 690 => 256, 681 => 250, 675 => 249, 666 => 243, 659 => 242, 656 => 241, 647 => 235, 640 => 234, 638 => 233, 628 => 226, 622 => 225, 618 => 223, 603 => 211, 597 => 210, 587 => 203, 581 => 202, 567 => 191, 561 => 190, 546 => 178, 540 => 177, 526 => 166, 520 => 165, 504 => 152, 498 => 151, 483 => 139, 477 => 138, 463 => 127, 457 => 126, 443 => 115, 437 => 114, 421 => 101, 415 => 100, 401 => 89, 395 => 88, 381 => 77, 375 => 76, 367 => 71, 361 => 70, 352 => 64, 346 => 63, 338 => 58, 332 => 57, 324 => 52, 318 => 51, 315 => 50, 313 => 49, 307 => 45, 294 => 44, 268 => 28, 262 => 26, 260 => 25, 246 => 22, 242 => 20, 229 => 19, 215 => 304, 212 => 44, 210 => 19, 206 => 17, 193 => 16, 178 => 465, 176 => 464, 167 => 457, 165 => 309, 162 => 308, 160 => 16, 157 => 15, 144 => 14, 129 => 11, 116 => 10, 103 => 8, 98 => 6, 94 => 5, 90 => 4, 85 => 3, 72 => 2, 49 => 1,);
}
public function getSourceContext(): Source
{
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>
<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>
{% endif %}
<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\">
{% if is_granted('ROLE_ADMIN') %}
<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>
{% endif %}
</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");
}
}