templates/classroom/show.html.twig line 1

Open in your IDE?
  1. {% extends "layout/backEndLayout.html.twig" %}
  2. {% block content %}
  3.     <div class="row mt-4">
  4.         <div class="col-1 mar-bot30">
  5.           {% if is_granted('ROLE_ADMIN') %}
  6.             <a class="btn btn-info" href="{{ path('admin_classrooms_new') }}">
  7.                 <i class="fa fa-plus"></i>
  8.                 
  9.                                                                                                                                                 
  10.                                                                                                                             
  11.                                                                                                             
  12.                                                                                             
  13.      
  14.             </a>
  15.             {% endif %}
  16.         </div>
  17.           
  18.           
  19.         </div>
  20.         <div class="col-11 jumbotron">
  21.             <article class="p-3">
  22.                 <table class="table table-hover record_properties center">
  23.                     <tbody>
  24.                         <tr>
  25.                             <th scope="row">
  26.                                 Nom
  27.                                                                                                                                                                                                                                                             
  28.                                                                                                                                                                                                                             
  29.                                                                                                                                                                                             
  30.                                                                                                                                                             
  31.                                                                                                                             
  32.                                                                                             
  33.                                                             
  34.                             </th>
  35.                             <td>
  36.                                 {{ classroom.name }}
  37.                             </td>
  38.                         </tr>
  39.                         <tr>
  40.                             <th scope="row">
  41.                                 Niveau
  42.                                                                                                                                                                                                                                                             
  43.                                                                                                                                                                                                                             
  44.                                                                                                                                                                                             
  45.                                                                                                                                                             
  46.                                                                                                                             
  47.                                                                                             
  48.                                                             
  49.                             </th>
  50.                             <td>
  51.                                 {{ classroom.level }}
  52.                             </td>
  53.                         </tr>
  54.                         <tr>
  55.                             <th scope="row">
  56.                                 Titulaire
  57.                                                                                                                                                                                                                                                             
  58.                                                                                                                                                                                                                             
  59.                                                                                                                                                                                             
  60.                                                                                                                                                             
  61.                                                                                                                             
  62.                                                                                             
  63.                                                             
  64.                             </th>
  65.                             <td>
  66.                                 {% if mainteacher is null %}
  67.                                     
  68.                                     {% else %}
  69.                                       {{mainteacher.fullName}}
  70.                                 {% endif %}
  71.                              
  72.                             </td>
  73.                         </tr>
  74.                         <tr>
  75.                             <th scope="row">
  76.                                 Classe d'examen                                                                                                                                                                                                                                                             
  77.                                                                                                                                                                                                                             
  78.                                                                                                                                                                                             
  79.                                                                                                                                                             
  80.                                                                                                                             
  81.                                                                                             
  82.                                                             
  83.                             </th>
  84.                             <td>
  85.                                 {% if (classroom.apc == true) %}
  86.                                     OUI
  87.                                                                                                                                                                                                                                                                                                                                 
  88.                                                                                                                                                                                                                                                                                             
  89.                                                                                                                                                                                                                                                         
  90.                                                                                                                                                                                                                     
  91.                                                                                                                                                                                 
  92.                                                                                                                                             
  93.                                                                                                         
  94.                                                                     
  95.                                 {% else %}
  96.                                     NON
  97.                                                                                                                                                                                                                                                                                                                                 
  98.                                                                                                                                                                                                                                                                                             
  99.                                                                                                                                                                                                                                                         
  100.                                                                                                                                                                                                                     
  101.                                                                                                                                                                                 
  102.                                                                                                                                             
  103.                                                                                                         
  104.                                                                     
  105.                                 {% endif %}
  106.                             </td>
  107.                         </tr>
  108.                     </tbody>
  109.                 </table>
  110.                 <div class="btn-group record_actions">
  111.                     <a class="btn btn-info" href="{{ path('admin_classrooms') }}">
  112.                         <i class="fa fa-list"></i>
  113.                         {{ 'Listing'|trans({}, 'admin') }}
  114.                     </a>
  115.                     {% if is_granted('ROLE_ADMIN') %}
  116.                         <a class="btn btn-primary" href="{{ path('admin_classrooms_edit', {id: classroom.id}) }}">
  117.                             <i class="fa fa-edit"></i>
  118.                             {{ 'Edit'|trans({}, 'admin') }}
  119.                         </a>
  120.                 
  121.                     <a target="_blank" class="btn btn-file"  data-toggle="modal" data-target="#form_modal_courses" >
  122.                         <i class="fa fa-file-excel-o"></i>
  123.                         Recap. Seq
  124.                                                                                                                                                                                                                     
  125.                                                                                                                                                                                             
  126.                                                                                                                                                                     
  127.                                                                                                                                             
  128.                                                                                                                     
  129.                                                                                             
  130.                                                                     
  131.                                             
  132.                     </a>
  133.                     <a target="_blank" class="btn btn-warning" href="{{ path('admin_classrooms_reportcards_seq', {id: classroom.id}) }}">
  134.                         <i class="fa fa-file"></i>
  135.                         Bull Seq
  136.                                                                                                                                                                                                                     
  137.                                                                                                                                                                                             
  138.                                                                                                                                                                     
  139.                                                                                                                                             
  140.                                                                                                                     
  141.                                                                                             
  142.                                                                     
  143.                                             
  144.                     </a>
  145.                     <a  target="_blank" class="btn btn-file"data-toggle="modal" data-target="#form_modal_reportcard_params">
  146.                         <i class="fa fa-file"></i>
  147.                         Bull Trim
  148.                                                                                                                                                                                                                     
  149.                                                                                                                                                                                             
  150.                                                                                                                                                                     
  151.                                                                                                                                             
  152.                                                                                                                     
  153.                                                                                             
  154.                                                                     
  155.                                             
  156.                     </a>
  157.                     <a target="_blank" class="btn btn-outline-warning" href="{{ path('admin_classrooms_recapitulatif_trim', {id: classroom.id}) }}">
  158.                         <i class="fa fa-file-excel-o"></i>
  159.                         Recap Trim
  160.                                                                                                                                                                                                                     
  161.                                                                                                                                                                                             
  162.                                                                                                                                                                     
  163.                                                                                                                                             
  164.                                                                                                                     
  165.                                                                                             
  166.                                                                     
  167.                                             
  168.                     </a>
  169.                     <a  target="_blank" class="btn btn-file" href="{{ path('admin_class_reportcards_apc_year', {id: classroom.id}) }}">
  170.                         <i class="fa fa-file"></i>
  171.                         Bull Ann V1
  172.                                                                                                                                                                                                                     
  173.                                                                                                                                                                                             
  174.                                                                                                                                                                     
  175.                                                                                                                                             
  176.                                                                                                                     
  177.                                                                                             
  178.                                                                     
  179.                                             
  180.                     </a>
  181.                     <a target="_blank" class="btn btn-file"  >
  182.                         <i class="fa fa-file"></i>
  183.                         Bull Ann V2
  184.                                                                                                                                                                                                                     
  185.                                                                                                                                                                                             
  186.                                                                                                                                                                     
  187.                                                                                                                                             
  188.                                                                                                                     
  189.                                                                                             
  190.                                                                     
  191.                                             
  192.                     </a>
  193.                     <a  target="_blank" class="btn btn-light" href="{{ path('admin_current_fulfilled_eval_show', {id: classroom.id}) }}">
  194.                         <i class="fa fa-list-ul"></i>
  195.                         Dépot des PV
  196.                                                                                                                                                                                                                     
  197.                                                                                                                                                                                             
  198.                                                                                                                                                                     
  199.                                                                                                                                             
  200.                                                                                                                     
  201.                                                                                             
  202.                                                                     
  203.                                             
  204.                     </a>
  205.                     
  206.                         <button class="btn btn-danger" type="submit">
  207.                             <i class="fa fa-trash-o"></i>
  208.                             {{ 'Delete'|trans({}, 'admin') }}
  209.                         </button>
  210.                     {% endif %}
  211.                 </div>
  212.                 <div class="card-header text-center">
  213.                     <h2>
  214.                         Liste des Ã©lèves incrits dans la classe 
  215.                                                                                                                                                                                             
  216.                                                                                                                                                                     
  217.                                                                                                                                             
  218.                                                                                                                     
  219.                                                                                             
  220.                                                                     
  221.                                             
  222.                     </h2>
  223.                 </div>
  224.                 <table class="table table-striped table-hover table-bordered records_list center">
  225.                     <thead>
  226.                         <tr>
  227.                             <th scope="col">
  228.                                 Matricule
  229.                                                                                                                                                                                                                                                             
  230.                                                                                                                                                                                                                             
  231.                                                                                                                                                                                             
  232.                                                                                                                                                             
  233.                                                                                                                             
  234.                                                                                             
  235.                                                             
  236.                             </th>
  237.                             <th scope="col">
  238.                                 Nom
  239.                                                                                                                                                                                                                                                             
  240.                                                                                                                                                                                                                             
  241.                                                                                                                                                                                             
  242.                                                                                                                                                             
  243.                                                                                                                             
  244.                                                                                             
  245.                                                             
  246.                             </th>
  247.                             <th scope="col">
  248.                                 Prénom
  249.                                                                                                                                                                                                                                                             
  250.                                                                                                                                                                                                                             
  251.                                                                                                                                                                                             
  252.                                                                                                                                                             
  253.                                                                                                                             
  254.                                                                                             
  255.                                                             
  256.                             </th>
  257.                             <th scope="col">
  258.                                 Photo
  259.                                                                                                                                                                                                                                                             
  260.                                                                                                                                                                                                                             
  261.                                                                                                                                                                                             
  262.                                                                                                                                                             
  263.                                                                                                                             
  264.                                                                                             
  265.                                                             
  266.                             </th>
  267.                              <th scope="col">
  268.                                 Action
  269.                                                                                                                                                                                                                                                             
  270.                                                                                                                                                                                                                             
  271.                                                                                                                                                                                             
  272.                                                                                                                                                             
  273.                                                                                                                             
  274.                                                                                             
  275.                                                             
  276.                             </th>
  277.                         </tr>
  278.                     </thead>
  279.                     <tbody>
  280.                         {% set effectif =0 %}
  281.                         {% for std in studentEnrolled %}
  282.                             <tr>
  283.                                 <td>
  284.                                     <a href="{{ path('admin_students_show', {id: std.id}) }}">
  285.                                         {{ std.matricule }}
  286.                                     </a>
  287.                                 </td>
  288.                                 <td>
  289.                                     {{ std.lastname }}
  290.                                 </td>
  291.                                 <td>
  292.                                     {{ std.firstname }}
  293.                                 </td>
  294.                                 <td>
  295.                                     {{ fileExists[std.id] }}
  296.                                 </td>
  297.                                 <td>
  298.                                     {% if is_granted('ROLE_ADMIN') %}
  299.                                         <a class="btn btn-outline-danger" href="{{ path('admin_students_unregister', {id: std.id, room_id:classroom.id}) }}">
  300.                                                 <i class="fa fa-ban"></i>
  301.                                         </a>
  302.                                         <a class="btn btn-outline-warning" href="{{ path('admin_students_edit', {id: std.id}) }}">
  303.                                         <i class="fa fa-pencil-square-o" aria-hidden="true"></i>                                 
  304.                                         </a>
  305.                                     {% endif %}
  306.                                     
  307.                                 </td>
  308.                                 {% set effectif = effectif + 1 %}
  309.                             </tr>
  310.                         {% endfor %}
  311.                         <tr>
  312.                             <td class="center" colspan="2">
  313.                                 Effectif
  314.                                                                                                                                                                                                                                                             
  315.                                                                                                                                                                                                                             
  316.                                                                                                                                                                                             
  317.                                                                                                                                                             
  318.                                                                                                                             
  319.                                                                                             
  320.                                                             
  321.                             </td>
  322.                             <td>
  323.                                 {{ effectif }}
  324.                             </td>
  325.                         </tr>
  326.                     </tbody>
  327.                 </table>
  328.                 <div class="card-header text-center">
  329.                     <h2>
  330.                         Matières programmées dans la classe 
  331.                                                                                                                                                                                             
  332.                                                                                                                                                                     
  333.                                                                                                                                             
  334.                                                                                                                     
  335.                                                                                             
  336.                                                                     
  337.                                             
  338.                     </h2>
  339.                 </div>
  340.                 <table class="table table-striped table-hover table-bordered records_list center">
  341.                     <thead>
  342.                         <tr>
  343.                             <th scope="col">
  344.                                 Module 
  345.                                                                                                                                                                                                                                                             
  346.                                                                                                                                                                                                                             
  347.                                                                                                                                                                                             
  348.                                                                                                                                                             
  349.                                                                                                                             
  350.                                                                                             
  351.                                                             
  352.                             </th>
  353.                             <th scope="col">
  354.                                 Code 
  355.                                                                                                                                                                                                                                                             
  356.                                                                                                                                                                                                                             
  357.                                                                                                                                                                                             
  358.                                                                                                                                                             
  359.                                                                                                                             
  360.                                                                                             
  361.                                                             
  362.                             </th>
  363.                             <th scope="col">
  364.                                 Intitulé 
  365.                                                                                                                                                                                                                                                             
  366.                                                                                                                                                                                                                             
  367.                                                                                                                                                                                             
  368.                                                                                                                                                             
  369.                                                                                                                             
  370.                                                                                             
  371.                                                             
  372.                             </th>
  373.                             <th scope="col">
  374.                                 Coef 
  375.                                                                                                                                                                                                                                                             
  376.                                                                                                                                                                                                                             
  377.                                                                                                                                                                                             
  378.                                                                                                                                                             
  379.                                                                                                                             
  380.                                                                                             
  381.                                                             
  382.                             </th>
  383.                             <th scope="col">
  384.                                 Enseignant 
  385.                                                                                                                                                                                                                                                             
  386.                                                                                                                                                                                                                             
  387.                                                                                                                                                                                             
  388.                                                                                                                                                             
  389.                                                                                                                             
  390.                                                                                             
  391.                                                             
  392.                             </th>
  393.                         </tr>
  394.                     </thead>
  395.                     <tbody>
  396.                         {% set totalCoef =0 %}
  397.                         {% for module in modules %}
  398.                             <tr>
  399.                                 {% for course in module.courses %}
  400.                                     <tr>
  401.                                         <td>
  402.                                             {{ module.name }}
  403.                                         </td>
  404.                                         <td>
  405.                                             <a href="{{ path('admin_courses_show', {id: course.id}) }}">
  406.                                                 {{ course.code }}
  407.                                             </a>
  408.                                         </td>
  409.                                         <td>
  410.                                             {{ course.wording }}
  411.                                         </td>
  412.                                         <td>
  413.                                             {{ course.coefficient }}
  414.                                         </td>
  415.                                         <td>
  416.                                             {% if attributions[course.id] is defined %}
  417.                                                 {% if is_granted('ROLE_ADMIN') %}
  418.                                                     <a href="{{ path('admin_attributions_edit', {id: attributions[course.id].id}) }}">
  419.                                                         {{attributions[course.id].teacher.fullName}}
  420.                                                     </a>
  421.                                                 {% else %}
  422.                                                     {{attributions[course.id].teacher.fullName}}
  423.                                                 {% endif %}
  424.                                             {% else %}
  425.                                             {% if is_granted('ROLE_ADMIN') %}
  426.                                                 <a href="{{ path('admin_attributions_new') }}">
  427.                                                     Pas encore attribue
  428.                                                 </a>
  429.                                              {% endif %}
  430.                                             {% endif %}
  431.                                         </td>
  432.                                         {% set totalCoef = totalCoef+course.coefficient %}
  433.                                     </tr>
  434.                                 {% endfor %}
  435.                             </tr>
  436.                             <tr>
  437.                                 <td class="center" colspan="3">
  438.                                     total cumul coef 
  439.                                                                                                                                                                                                                                                                                             
  440.                                                                                                                                                                                                                                                         
  441.                                                                                                                                                                                                                     
  442.                                                                                                                                                                                 
  443.                                                                                                                                             
  444.                                                                                                         
  445.                                                                     
  446.                                 </td>
  447.                                 <td>
  448.                                     {{ totalCoef }}
  449.                                 </td>
  450.                             </tr>
  451.                         {% endfor %}
  452.                     </tbody>
  453.                 </table>
  454.             </article>
  455.             <section id="graphs">
  456.                 <article class="p-3">
  457.                     <canvas id="schoolPerformanceGraph" width="700" height="250"></canvas>
  458.                 </article>
  459.                 {% if classroom.apc %}
  460.                   <article class="p-3">
  461.                     <canvas id="officialExamsGraph" width="200" height="220" ></canvas>
  462.                 </article>
  463.                 {% endif %}
  464.             </section>
  465.         </div>
  466.     </div>
  467. <!-- Modal pour le choix de cours qui vont figurer dans le recaputulatif sequentiel -->
  468. <div class="modal fade" id="form_modal_courses" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  469.   <div class="modal-dialog modal-dialog-centered" role="document">
  470.     <div class="modal-content">
  471.       <div class="modal-header border-bottom-0">
  472.         <h5 class="modal-title" id="exampleModalLabel">Choisir les cours a qui doivent figurer dans le recapitulatif</h5>
  473.         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  474.           <span aria-hidden="true">&times;</span>
  475.         </button>
  476.       </div>
  477.       <form action="{{ path('admin_classrooms_recapitulatif_seq', {'id':classroom.id}) }}" method="post">
  478.         <div class="modal-body">
  479.           <div class="form-group">
  480.              {% for module in modules %}
  481.                 {% for course in module.courses %}
  482.                 <li class="list-group-item">
  483.                         <input class="form-check-input me-1" type="checkbox" checked name="selected_courses[]" value={{course.id}} >
  484.                         {{course.wording}}
  485.                 </li>
  486.                 {% endfor %}
  487.              {% endfor %}
  488.           </div>
  489.         </div>
  490.       
  491.         <div class="modal-footer border-top-0 d-flex justify-content-center">
  492.           <button type="submit" class="btn btn-success">Submit</button>
  493.         </div>
  494.       </form>
  495.     </div>
  496.   </div>
  497. </div>
  498. <!-- Modal pour le parametrage de la presentation des bulletins. -->
  499. <div class="modal fade" id="form_modal_reportcard_params" tabindex="-1" role="dialog" aria-labelledby="exampleModalRange" aria-hidden="true">
  500.   <div class="modal-dialog modal-dialog-centered" role="document">
  501.     <div class="modal-content">
  502.       <div class="modal-header border-bottom-0">
  503.         <h5 class="modal-title" id="exampleModalLabel">Reajuster les  parametres de production des bulletins</h5>
  504.         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  505.           <span aria-hidden="true">&times;</span>
  506.         </button>
  507.       </div>
  508.       <form action="{{ path('admin_classrooms_reportcards_trim_2024', {'id':classroom.id}) }}" method="post">
  509.         <div class="modal-body">
  510.            <div class="form-group">
  511.             <label for="header_font_size">Taille de des caracteres dans l entete</label>
  512.             <input type="range" class="form-control" name="header_font_size" id="header_font_size" min="1" max="1.6" step="0.01">
  513.           </div>
  514.           <div class="form-group">
  515.             <label for="line_height">Hauteur des lignes dans le tableau</label>
  516.             <input type="range" class="form-control" name="line_height" id="line_height" min="0.5" max="1.5" step="0.01">
  517.           </div>
  518.           <div class="form-check">
  519.             <input class="form-check-input" type="checkbox"  id="copyright"  name="copyright">
  520.             <label class="form-check-label" for="copyright">
  521.                 Ajout du copyright en pied du bulletin?
  522.             </label>
  523.          </div>
  524.          <div class="form-check">
  525.             <input class="form-check-input" type="checkbox"  id="reverse"  name="reverse">
  526.             <label class="form-check-label" for="reverse">
  527.                 Sens inverse
  528.             </label>
  529.          </div>
  530.         </div>
  531.       
  532.         <div class="modal-footer border-top-0 d-flex justify-content-center">
  533.           <button type="submit" class="btn btn-success">Submit</button>
  534.         </div>
  535.       </form>
  536.     </div>
  537.   </div>
  538. </div>
  539. {% endblock %}
  540. {% block javascripts %}
  541.     {{ parent() }}
  542.     
  543.     <script type="text/javascript">
  544.                         const schoolPerformanceGraph = $("#schoolPerformanceGraph");                       
  545.                         const datasets = [];
  546.                         //Generate a random color
  547.                         const randomRgbColor = () => {
  548.                             let r = Math.floor(Math.random() * 256); // Random between 0-255
  549.                             let g = Math.floor(Math.random() * 256); // Random between 0-255
  550.                             let b = Math.floor(Math.random() * 256); // Random between 0-255
  551.                             return 'rgb(' + r + ',' + g + ',' + b + ')';
  552.                         };
  553.                        
  554.                        
  555.                                 {% if session1 is defined %}
  556.                                     datasets.push( {
  557.                                         label: "Session 1",
  558.                                         data : {{session1|raw}},
  559.                                         fill : false,
  560.                                         backgroundColor: randomRgbColor()
  561.                                     } )
  562.                                 {% endif %}
  563.                                 {% if session2 is defined %}
  564.                                     datasets.push( {
  565.                                         label: "Session 2",
  566.                                         data : {{session2|raw}},
  567.                                         fill : false,
  568.                                         backgroundColor: randomRgbColor()
  569.                                     } )
  570.                                 {% endif %}
  571.                                  {% if session3 is defined %}
  572.                                     datasets.push( {
  573.                                         label: "Session 3",
  574.                                         data : {{session3|raw}},
  575.                                         fill : false,
  576.                                         backgroundColor: randomRgbColor()
  577.                                     } )
  578.                                 {% endif %}
  579.                                  {% if session4 is defined %}
  580.                                     datasets.push( {
  581.                                         label: "Session 4",
  582.                                         data : {{session4|raw}},
  583.                                         fill : false,
  584.                                         backgroundColor: randomRgbColor()
  585.                                     } )
  586.                                 {% endif %}
  587.                                  {% if session5 is defined %}
  588.                                     datasets.push( {
  589.                                         label: "Session 5",
  590.                                         data : {{session5|raw}},
  591.                                         fill : false,
  592.                                         backgroundColor: randomRgbColor()
  593.                                     } )
  594.                                 {% endif %}
  595.                                  {% if session6 is defined %}
  596.                                     datasets.push( {
  597.                                         label: "Session 6",
  598.                                         data : {{session6|raw}},
  599.                                         fill : false,
  600.                                         backgroundColor: randomRgbColor()
  601.                                     } )
  602.                                 {% endif %}
  603.                            
  604.                             
  605.                            
  606.                             
  607.                         
  608.                              
  609.                        
  610.                        let graph = new Chart(schoolPerformanceGraph, {
  611.                             type:"bar",
  612.                             data : {
  613.                                 labels: {{ cours|raw }},
  614.                                 datasets: datasets,
  615.                             }, 
  616.                              options: {
  617.                                 plugins: {
  618.                                     title: {
  619.                                         display: true,
  620.                                         text: 'Performances generales annuelles ',
  621.                                         font: {
  622.                                             size: 24,
  623.                                             style: 'bold',
  624.                                             family: 'Helvetica Neue',
  625.                                         },
  626.                                         position: 'bottom',
  627.                                         
  628.                                     }
  629.                                 }
  630.                             }
  631.                         });
  632.        
  633.              
  634.                                 
  635.                                     
  636.     
  637.     // Get the chart element for student category
  638.     let studentCategoryChartElement = document.querySelector("#studentCategoryChart");
  639.     // Create the chart for student category
  640.     let studentCategoryChart = new Chart(studentCategoryChartElement, {
  641.         type: "pie",
  642.         data: {
  643.             labels: ["Passed", "Failed"],
  644.             datasets: [{
  645.                 data: [/* Add data here for the number of students passed and failed */],
  646.                 backgroundColor: ["green", "red"]
  647.             }]
  648.         }
  649.     });
  650.     // Get the chart element for mention category
  651.     let officialExamsGraph = document.querySelector("#officialExamsGraph");
  652.     // Create the chart for mention category
  653.     const colors = [];
  654.     const mentionCountCategories = {{mentionCountCategories}};
  655.     mentionCountCategories.map(cat => {
  656.         colors.push(randomRgbColor());
  657.     })
  658.     let officialExamsChart = new Chart(officialExamsGraph, {
  659.         type: "pie",
  660.         data: {
  661.             labels:  {{ mentionCategories|raw }},
  662.             datasets: [{
  663.                 data: {{mentionCountCategories|raw}},
  664.                 backgroundColor: colors
  665.             }]
  666.         }, 
  667.          options: {
  668.                                 plugins: {
  669.                                     title: {
  670.                                         display: true,
  671.                                         text: 'Resultats aux examens officiels ',
  672.                                         font: {
  673.                                             size: 24,
  674.                                             style: 'bold',
  675.                                             family: 'Helvetica Neue',
  676.                                         },
  677.                                         position: 'bottom',
  678.                                         
  679.                                     }
  680.                                 }
  681.                             }
  682.     });
  683. </script>
  684. {% endblock %}