var/cache/dev/twig/ae/ae8b41c31796e50674368c8c0ca4bbdc.php line 232

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