<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* school/index.html.twig */
class __TwigTemplate_b101b353a9a7c81e5a2cf4c70d3b5a2d 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 = [
'name' => [$this, 'block_name'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout/frontEndLayout.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", "school/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "school/index.html.twig"));
$this->parent = $this->loadTemplate("layout/frontEndLayout.html.twig", "school/index.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 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_name(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", "name"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "name"));
// line 4
yield " Welcome to LiveEdu
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 40
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 41
yield "
<div id=\"carouselExampleControls\" class=\"carousel slide bs-slider box-slider\" data-ride=\"carousel\" data-pause=\"hover\" data-interval=\"false\">
<!-- Indicators -->
<ol class=\"carousel-indicators\">
<li data-target=\"#carouselExampleControls\" data-slide-to=\"0\" class=\"active\"></li>
<li data-target=\"#carouselExampleControls\" data-slide-to=\"1\"></li>
<li data-target=\"#carouselExampleControls\" data-slide-to=\"2\"></li>
</ol>
<div class=\"carousel-inner\" role=\"listbox\" data-ride=\"carousel\"
data-interval=\"5000\">
<div class=\"carousel-item active\">
<div id=\"home\" class=\"first-section\" style=\"background-image:url(";
// line 52
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/slider-01.jpg"), "html", null, true);
yield ");\">
<div class=\"dtab\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12 col-sm-12 text-right\">
<div class=\"big-tagline\">
<h2>
Bilingual Secondary Institute BETHESDA implements
\t\t\t\t\t\t\t\t\t\t\t
<strong>
\t\t\t\t\t\t\t\t\t\t\t
LiveEdu
</strong>
</h2>
</div>
</div>
</div>
<!-- end row -->
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
<!-- end container -->
</div>
</div>
<!-- end section -->
</div>
<div class=\"carousel-item\">
<div id=\"home\" class=\"first-section\" style=\"background-image:url(";
// line 157
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/slider-02.jpg"), "html", null, true);
yield ");\">
<div class=\"dtab\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12 col-sm-12 text-left\">
<div class=\"big-tagline\">
<h2 data-animation=\"animated zoomInRight\">
LiveEdu
\t\t\t\t\t\t\t\t\t\t\t
<strong>
software online services
</strong>
</h2>
</div>
</div>
</div>
<!-- end row -->
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
<!-- end container -->
</div>
</div>
<!-- end section -->
</div>
<div class=\"carousel-item\">
<div id=\"home\" class=\"first-section\" style=\"background-image:url(";
// line 260
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/slide_04.PNG"), "html", null, true);
yield ");\">
<div class=\"dtab\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12 col-sm-12 text-left\">
<div class=\"big-tagline\">
<h2 data-animation=\"animated zoomInRight\">
\t\t\t\t\t\t\t\t\t\t\t
<strong>
LiveEdu adds transparancy
</strong>
for quality education
</h2>
</div>
</div>
</div>
<!-- end row -->
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
<!-- end container -->
</div>
</div>
<!-- end section -->
</div>
<!-- Left Control -->
<a class=\"new-effect carousel-control-prev\" href=\"#carouselExampleControls\" role=\"button\" data-slide=\"prev\">
<span class=\"fa fa-angle-left\" aria-hidden=\"true\"></span>
<span class=\"sr-only\">
Previous
</span>
</a>
<!-- Right Control -->
<a class=\"new-effect carousel-control-next\" href=\"#carouselExampleControls\" role=\"button\" data-slide=\"next\">
<span class=\"fa fa-angle-right\" aria-hidden=\"true\"></span>
<span class=\"sr-only\">
Next
</span>
</a>
</div>
</div>
<section class=\"card\">
<article class=\"row card-body\" id=\"officialExams\">
<h1 class=\"card-title text-center\">Taux de reussite aux examens officiels session 2023-2024</h1>
";
// line 479
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::keys((isset($context["results"]) || array_key_exists("results", $context) ? $context["results"] : (function () { throw new RuntimeError('Variable "results" does not exist.', 479, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["key"]) {
// line 480
yield " <div class=\"col-6 col-md-3 \" >
<canvas id=";
// line 481
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
yield " height=\"120\" data-exam-objects=\" ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["results"]) || array_key_exists("results", $context) ? $context["results"] : (function () { throw new RuntimeError('Variable "results" does not exist.', 481, $this->source); })()), $context["key"], [], "array", false, false, false, 481), "html", null, true);
yield "\"></canvas>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['key'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 484
yield " </article>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 489
/**
* @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 490
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
<script type=\"text/javascript\">
//Generate a random color
const randomRgbColor = (type) => {
let r = Math.floor(Math.random() * 256); // Random between 0-255
let g = Math.floor(Math.random() * 256); // Random between 0-255
let b = Math.floor(Math.random() * 256); // Random between 0-255
if(type===\"ECHEC\"){
r = 128+ Math.floor(Math.random() * 128);
b =0;
} else {
r = 0;
b = 128+ Math.floor(Math.random() * 128);
}
return 'rgb(' + r + ',' + g + ',' + b + ')';
};
const colors=[], datasets = [];
const troisiemeAllExamsGraph = \$(\"#troisiemeall\"), troisiemeEspExamsGraph = \$(\"#troisiemeesp\") ,
premiereCExamsGraph = \$(\"#premiere_c\"), premiereDExamsGraph = \$(\"#premiere_d\") ,
premiereAEspExamsGraph = \$(\"#premierea4esp\"), premiereAAllExamsGraph = \$(\"#premierea4all\"),
terminaleCExamsGraph = \$(\"#terminalec\"), terminaleDExamsGraph = \$(\"#terminale_d\") ,
terminaleAEspExamsGraph = \$(\"#terminaleaesp\"), terminaleAAllExamsGraph = \$(\"#terminaleaall\"),
formvArtExamsGraph = \$(\"#formvarts\"), formvScienceExamsGraph = \$(\"#formvscience\")
;
const troisiemeAllExamsData = troisiemeAllExamsGraph.data('examObjects'), troisiemeEspExamsData = troisiemeEspExamsGraph.data('examObjects'),
premiereCExamsData = premiereCExamsGraph.data('examObjects'), premiereDExamsData = premiereDExamsGraph.data('examObjects'),
premiereAEspExamsData = premiereAEspExamsGraph.data('examObjects'), premiereAAllExamsData = premiereAAllExamsGraph.data('examObjects'),
terminaleCExamsData = terminaleCExamsGraph.data('examObjects'), terminaleDExamsData = terminaleDExamsGraph.data('examObjects'),
terminaleAEspExamsData = terminaleAEspExamsGraph.data('examObjects'), terminaleAAllExamsData = terminaleAAllExamsGraph.data('examObjects'),
formvArtExamsData = formvArtExamsGraph.data('examObjects'),formvScienceExamsData = formvScienceExamsGraph.data('examObjects');
// Draw the graph of official exam results
const drawCanvas = (examData, examGraph, name) => {
// console.log(examData, examGraph, name)
JSON.parse(examData)['mentionCategories'].map(cat => {
colors.push(randomRgbColor(cat));
});
const examChart = new Chart(examGraph, {
type: \"polarArea\",
data: {
labels: JSON.parse(examData)[\"mentionCategories\"] ,
datasets: [{
data: JSON.parse(examData)[\"mentionCountCategories\"],
backgroundColor: colors
}]
},
options: {
plugins: {
is3D : true,
title: {
display: true,
text: name,
font: {
size: 16,
family: 'Helvetica Neue',
},
position: 'bottom',
}
}
}
});
}
// Disposition des canVas dans le frontEnd
drawCanvas(terminaleDExamsData,terminaleDExamsGraph , \"Terminale D\" );
drawCanvas(terminaleCExamsData,terminaleCExamsGraph , \"Terminale C\" );
drawCanvas(terminaleAAllExamsData,terminaleAAllExamsGraph , \"Terminale A All\" );
drawCanvas(terminaleAEspExamsData,terminaleAEspExamsGraph , \"Terminale A Esp\" );
drawCanvas(premiereAAllExamsData,premiereAAllExamsGraph , \"Premiere A All\" );
drawCanvas(premiereAEspExamsData,premiereAEspExamsGraph , \"Premiere A Esp\" );
drawCanvas(premiereCExamsData,premiereCExamsGraph , \"Premiere C\" );
drawCanvas(premiereDExamsData,premiereDExamsGraph , \"Premiere D\" );
drawCanvas(troisiemeAllExamsData,troisiemeAllExamsGraph , \"Troisieme All\" );
drawCanvas(troisiemeEspExamsData,troisiemeEspExamsGraph , \"Troisieme Esp\" );
drawCanvas(formvArtExamsData,formvArtExamsGraph , \"FORM 5 Art(.../5)\" );
drawCanvas(formvScienceExamsData,formvScienceExamsGraph , \"FORM 5 Science(../5)\" );
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "school/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 631 => 490, 618 => 489, 603 => 484, 592 => 481, 589 => 480, 585 => 479, 363 => 260, 257 => 157, 149 => 52, 136 => 41, 123 => 40, 78 => 4, 65 => 3, 42 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'layout/frontEndLayout.html.twig' %}
{% block name %}
Welcome to LiveEdu
{% endblock %}
{% block body %}
<div id=\"carouselExampleControls\" class=\"carousel slide bs-slider box-slider\" data-ride=\"carousel\" data-pause=\"hover\" data-interval=\"false\">
<!-- Indicators -->
<ol class=\"carousel-indicators\">
<li data-target=\"#carouselExampleControls\" data-slide-to=\"0\" class=\"active\"></li>
<li data-target=\"#carouselExampleControls\" data-slide-to=\"1\"></li>
<li data-target=\"#carouselExampleControls\" data-slide-to=\"2\"></li>
</ol>
<div class=\"carousel-inner\" role=\"listbox\" data-ride=\"carousel\"
data-interval=\"5000\">
<div class=\"carousel-item active\">
<div id=\"home\" class=\"first-section\" style=\"background-image:url({{ asset('assets/images/slider-01.jpg') }});\">
<div class=\"dtab\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12 col-sm-12 text-right\">
<div class=\"big-tagline\">
<h2>
Bilingual Secondary Institute BETHESDA implements
\t\t\t\t\t\t\t\t\t\t\t
<strong>
\t\t\t\t\t\t\t\t\t\t\t
LiveEdu
</strong>
</h2>
</div>
</div>
</div>
<!-- end row -->
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
<!-- end container -->
</div>
</div>
<!-- end section -->
</div>
<div class=\"carousel-item\">
<div id=\"home\" class=\"first-section\" style=\"background-image:url({{ asset('assets/images/slider-02.jpg') }});\">
<div class=\"dtab\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12 col-sm-12 text-left\">
<div class=\"big-tagline\">
<h2 data-animation=\"animated zoomInRight\">
LiveEdu
\t\t\t\t\t\t\t\t\t\t\t
<strong>
software online services
</strong>
</h2>
</div>
</div>
</div>
<!-- end row -->
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
<!-- end container -->
</div>
</div>
<!-- end section -->
</div>
<div class=\"carousel-item\">
<div id=\"home\" class=\"first-section\" style=\"background-image:url({{ asset('assets/images/slide_04.PNG') }});\">
<div class=\"dtab\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12 col-sm-12 text-left\">
<div class=\"big-tagline\">
<h2 data-animation=\"animated zoomInRight\">
\t\t\t\t\t\t\t\t\t\t\t
<strong>
LiveEdu adds transparancy
</strong>
for quality education
</h2>
</div>
</div>
</div>
<!-- end row -->
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
<!-- end container -->
</div>
</div>
<!-- end section -->
</div>
<!-- Left Control -->
<a class=\"new-effect carousel-control-prev\" href=\"#carouselExampleControls\" role=\"button\" data-slide=\"prev\">
<span class=\"fa fa-angle-left\" aria-hidden=\"true\"></span>
<span class=\"sr-only\">
Previous
</span>
</a>
<!-- Right Control -->
<a class=\"new-effect carousel-control-next\" href=\"#carouselExampleControls\" role=\"button\" data-slide=\"next\">
<span class=\"fa fa-angle-right\" aria-hidden=\"true\"></span>
<span class=\"sr-only\">
Next
</span>
</a>
</div>
</div>
<section class=\"card\">
<article class=\"row card-body\" id=\"officialExams\">
<h1 class=\"card-title text-center\">Taux de reussite aux examens officiels session 2023-2024</h1>
{% for key in results|keys %}
<div class=\"col-6 col-md-3 \" >
<canvas id={{key}} height=\"120\" data-exam-objects=\" {{results[key]}}\"></canvas>
</div>
{% endfor %}
</article>
</section>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type=\"text/javascript\">
//Generate a random color
const randomRgbColor = (type) => {
let r = Math.floor(Math.random() * 256); // Random between 0-255
let g = Math.floor(Math.random() * 256); // Random between 0-255
let b = Math.floor(Math.random() * 256); // Random between 0-255
if(type===\"ECHEC\"){
r = 128+ Math.floor(Math.random() * 128);
b =0;
} else {
r = 0;
b = 128+ Math.floor(Math.random() * 128);
}
return 'rgb(' + r + ',' + g + ',' + b + ')';
};
const colors=[], datasets = [];
const troisiemeAllExamsGraph = \$(\"#troisiemeall\"), troisiemeEspExamsGraph = \$(\"#troisiemeesp\") ,
premiereCExamsGraph = \$(\"#premiere_c\"), premiereDExamsGraph = \$(\"#premiere_d\") ,
premiereAEspExamsGraph = \$(\"#premierea4esp\"), premiereAAllExamsGraph = \$(\"#premierea4all\"),
terminaleCExamsGraph = \$(\"#terminalec\"), terminaleDExamsGraph = \$(\"#terminale_d\") ,
terminaleAEspExamsGraph = \$(\"#terminaleaesp\"), terminaleAAllExamsGraph = \$(\"#terminaleaall\"),
formvArtExamsGraph = \$(\"#formvarts\"), formvScienceExamsGraph = \$(\"#formvscience\")
;
const troisiemeAllExamsData = troisiemeAllExamsGraph.data('examObjects'), troisiemeEspExamsData = troisiemeEspExamsGraph.data('examObjects'),
premiereCExamsData = premiereCExamsGraph.data('examObjects'), premiereDExamsData = premiereDExamsGraph.data('examObjects'),
premiereAEspExamsData = premiereAEspExamsGraph.data('examObjects'), premiereAAllExamsData = premiereAAllExamsGraph.data('examObjects'),
terminaleCExamsData = terminaleCExamsGraph.data('examObjects'), terminaleDExamsData = terminaleDExamsGraph.data('examObjects'),
terminaleAEspExamsData = terminaleAEspExamsGraph.data('examObjects'), terminaleAAllExamsData = terminaleAAllExamsGraph.data('examObjects'),
formvArtExamsData = formvArtExamsGraph.data('examObjects'),formvScienceExamsData = formvScienceExamsGraph.data('examObjects');
// Draw the graph of official exam results
const drawCanvas = (examData, examGraph, name) => {
// console.log(examData, examGraph, name)
JSON.parse(examData)['mentionCategories'].map(cat => {
colors.push(randomRgbColor(cat));
});
const examChart = new Chart(examGraph, {
type: \"polarArea\",
data: {
labels: JSON.parse(examData)[\"mentionCategories\"] ,
datasets: [{
data: JSON.parse(examData)[\"mentionCountCategories\"],
backgroundColor: colors
}]
},
options: {
plugins: {
is3D : true,
title: {
display: true,
text: name,
font: {
size: 16,
family: 'Helvetica Neue',
},
position: 'bottom',
}
}
}
});
}
// Disposition des canVas dans le frontEnd
drawCanvas(terminaleDExamsData,terminaleDExamsGraph , \"Terminale D\" );
drawCanvas(terminaleCExamsData,terminaleCExamsGraph , \"Terminale C\" );
drawCanvas(terminaleAAllExamsData,terminaleAAllExamsGraph , \"Terminale A All\" );
drawCanvas(terminaleAEspExamsData,terminaleAEspExamsGraph , \"Terminale A Esp\" );
drawCanvas(premiereAAllExamsData,premiereAAllExamsGraph , \"Premiere A All\" );
drawCanvas(premiereAEspExamsData,premiereAEspExamsGraph , \"Premiere A Esp\" );
drawCanvas(premiereCExamsData,premiereCExamsGraph , \"Premiere C\" );
drawCanvas(premiereDExamsData,premiereDExamsGraph , \"Premiere D\" );
drawCanvas(troisiemeAllExamsData,troisiemeAllExamsGraph , \"Troisieme All\" );
drawCanvas(troisiemeEspExamsData,troisiemeEspExamsGraph , \"Troisieme Esp\" );
drawCanvas(formvArtExamsData,formvArtExamsGraph , \"FORM 5 Art(.../5)\" );
drawCanvas(formvScienceExamsData,formvScienceExamsGraph , \"FORM 5 Science(../5)\" );
</script>
{% endblock javascripts %}
", "school/index.html.twig", "/var/www/prod/current/templates/school/index.html.twig");
}
}