<?phpuse 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_b50bbc2aedacfc0fd3e66e16b4273e81 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->load("layout/base.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.pink.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 309 yield " <div class=\"page home-page\"> "; // line 310 yield from $this->unwrap()->yieldBlock('header', $context, $blocks); // line 458 yield " </div> <section class=\" section-padding row\"> <article class=\"row\"> <aside class=\"col-2\"></aside> <section class=\"col-10\"> "; // line 465 yield from $this->unwrap()->yieldBlock('content', $context, $blocks); // line 466 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 305 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 ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { 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 ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // 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 ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // 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 112 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.', 112, $this->source); })()), "request", [], "any", false, false, false, 112), "attributes", [], "any", false, false, false, 112), "get", ["_route"], "method", false, false, false, 112) == "admin_classrooms")) { yield "active"; } yield "\"> <a href=\""; // line 113 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_classrooms"); yield "\"> <i class=\"fa fa-indent\" aria-hidden=\"true\"></i> Classes </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_modules")) { yield "active"; } yield "\"> <a href=\""; // line 127 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 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_domains")) { yield "active"; } yield "\"> <a href=\""; // line 139 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 150 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.', 150, $this->source); })()), "request", [], "any", false, false, false, 150), "attributes", [], "any", false, false, false, 150), "get", ["_route"], "method", false, false, false, 150) == "admin_courses")) { yield "active"; } yield "\"> <a href=\""; // line 151 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 163 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.', 163, $this->source); })()), "request", [], "any", false, false, false, 163), "attributes", [], "any", false, false, false, 163), "get", ["_route"], "method", false, false, false, 163) == "admin_subscriptions")) { yield "active"; } yield "\"> <a href=\""; // line 164 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 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_students")) { yield "active"; } yield "\"> <a href=\""; // line 178 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 189 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.', 189, $this->source); })()), "request", [], "any", false, false, false, 189), "attributes", [], "any", false, false, false, 189), "get", ["_route"], "method", false, false, false, 189) == "admin_attributions")) { yield "active"; } yield "\"> <a href=\""; // line 190 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 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_users")) { yield "active"; } yield "\"> <a href=\""; // line 203 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_users"); yield "\"> <i class=\"fa fa-user\" aria-hidden=\"true\"></i> Personnel </a> </li> <li class=\""; // line 214 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.', 214, $this->source); })()), "request", [], "any", false, false, false, 214), "attributes", [], "any", false, false, false, 214), "get", ["_route"], "method", false, false, false, 214) == "admin_statistics")) { yield "active"; } yield "\"> <a href=\""; // line 215 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> "; } // line 224 yield " <li class=\""; // line 226 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.', 226, $this->source); })()), "request", [], "any", false, false, false, 226), "attributes", [], "any", false, false, false, 226), "get", ["_route"], "method", false, false, false, 226) == "admin_evaluations")) { yield "active"; } yield "\"> <a href=\""; // line 227 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 234 if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_DISCIPLINE")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 235 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.', 235, $this->source); })()), "request", [], "any", false, false, false, 235), "attributes", [], "any", false, false, false, 235), "get", ["_route"], "method", false, false, false, 235) == "admin_abscences_sheet_index")) { yield "active"; } yield "\"> <a href=\""; // line 236 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 242 yield " "; if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_FINANCIAL")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 243 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.', 243, $this->source); })()), "request", [], "any", false, false, false, 243), "attributes", [], "any", false, false, false, 243), "get", ["_route"], "method", false, false, false, 243) == "app_payment_index")) { yield "active"; } yield "\"> <a href=\""; // line 244 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 250 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.', 250, $this->source); })()), "request", [], "any", false, false, false, 250), "attributes", [], "any", false, false, false, 250), "get", ["_route"], "method", false, false, false, 250) == "admin_paymentPlans")) { yield "active"; } yield "\"> <a href=\""; // line 251 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 257 yield " "; // line 288 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.', 288, $this->source); })()), "request", [], "any", false, false, false, 288), "attributes", [], "any", false, false, false, 288), "get", ["_route"], "method", false, false, false, 288) == "app_account")) { yield "active"; } yield "\"> <a href=\""; // line 289 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 310 /** * @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 311 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 320 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 333 if ((($tmp = 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.', 333, $this->source); })()), "user", [], "any", false, false, false, 333)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 334 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 338 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 339 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("logout"), "html", null, true); yield "\" /> </form> "; } // line 343 yield " </div> </div> </div> </nav> <section class=\"container-fluid\"> "; // line 351 if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 352 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 362 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 376 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 389 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 401 $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 402 yield " "; if ((($tmp = 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.', 402, $this->source); })()), "session", [], "any", false, false, false, 402), "has", ["session_school_year"], "method", false, false, false, 402)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 403 yield " <option "; // line 404 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.', 404, $this->source); })()), "session", [], "any", false, false, false, 404), "get", ["session_school_year"], "method", false, false, false, 404) == CoreExtension::getAttribute($this->env, $this->source, $context["year"], "id", [], "any", false, false, false, 404))) { 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, 404), "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, 404), "html", null, true); yield "</option> "; } else { // line 406 yield " <option value="; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["year"], "id", [], "any", false, false, false, 406), "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, 406), "html", null, true); yield "</option> "; } // line 408 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_key'], $context['year'], $context['_parent']); $context = array_intersect_key($context, $_parent) + $_parent; // line 409 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 420 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 454 yield " </section> </header> "; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 465 /** * @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 471 /** * @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 472 /** * @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 473 yield " "; yield from $this->yieldParentBlock("javascripts", $context, $blocks); yield " <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/jquery.cookie.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/grasp_mobile_progress_circle-1.0.0.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.validate.min.js"), "html", null, true); yield "\"></script> <script type=\"text/javascript\" src=\""; // line 478 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 486 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 ( 1044 => 486, 1033 => 478, 1029 => 477, 1025 => 476, 1021 => 475, 1015 => 473, 1002 => 472, 980 => 471, 958 => 465, 944 => 454, 907 => 420, 894 => 409, 888 => 408, 880 => 406, 869 => 404, 866 => 403, 863 => 402, 859 => 401, 845 => 389, 829 => 376, 812 => 362, 800 => 352, 798 => 351, 788 => 343, 781 => 339, 777 => 338, 771 => 334, 769 => 333, 753 => 320, 742 => 311, 729 => 310, 702 => 289, 695 => 288, 691 => 257, 682 => 251, 676 => 250, 667 => 244, 660 => 243, 657 => 242, 648 => 236, 641 => 235, 639 => 234, 629 => 227, 623 => 226, 619 => 224, 607 => 215, 601 => 214, 587 => 203, 581 => 202, 566 => 190, 560 => 189, 546 => 178, 540 => 177, 524 => 164, 518 => 163, 503 => 151, 497 => 150, 483 => 139, 477 => 138, 463 => 127, 457 => 126, 441 => 113, 435 => 112, 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 => 305, 212 => 44, 210 => 19, 206 => 17, 193 => 16, 178 => 466, 176 => 465, 167 => 458, 165 => 310, 162 => 309, 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.pink.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_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_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> Personnel </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_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/bethesda/templates/layout/backEndLayout.html.twig"); }}