templates/classroom/templating/fiche_repport_disc.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <title>
  6.             Fiche annuelle de notes
  7.                     
  8.         </title>
  9.         <link rel="stylesheet" type="text/css" href="{{ absolute_url(asset('assets/css/bootstrap.min.css')) }}" />
  10.         <link rel="stylesheet" type="text/css" href="{{ absolute_url(asset('assets/css/pdf.css')) }}" />
  11.     </head>
  12.     <body>
  13.         <header class="clearfix">
  14.             {{ include('classroom/partials/header.html.twig') }}
  15.             <h1 style=" text-align:center; ">
  16.                 <b>
  17.                     {% if(room.level.cycle.section.name=="Francophone") %}
  18.                         FEUILLET D'ABSCENCES 
  19.                                                                         
  20.                                             
  21.                     {% else %}
  22.                         ABSENCES FORM
  23.                                                                     
  24.                                             
  25.                     {% endif %}
  26.                 </b>
  27.             </h1>
  28.             <div id="companyleft">
  29.                 <h5>
  30.                     <b>
  31.                         <span>
  32.                             {% if(room.level.cycle.section.name=="Francophone") %}
  33.                                 CLASSE :
  34.                                                                                         
  35.                                                             
  36.                             {% else %}
  37.                                 CLASS :
  38.                                                                                     
  39.                                                             
  40.                             {% endif %}
  41.                         </span>
  42.                         {{ room.name }}
  43.                     </b>
  44.                 </h5>
  45.             </div>
  46.             <div id="companyright">
  47.                 <h5>
  48.                     <b>
  49.                         <span>
  50.                             {% if(room.level.cycle.section.name=="Francophone") %}
  51.                                 ANNEE SCOLAIRE &nbsp;   :
  52.                                                                 
  53.                                 {{ year }}
  54.                             {% else %}
  55.                                 {{ year }}
  56.                                 &nbsp; SCHOOL YEAR   :
  57.                                                                                     
  58.                                                             
  59.                             {% endif %}
  60.                         </span>
  61.                     </b>
  62.                 </h5>
  63.             </div>
  64.         </header>
  65.         <main>
  66.             <table class="table">
  67.                 <thead>
  68.                     <tr>
  69.                         <th>
  70.                             <div style="text-align:right;">
  71.                                 <h6>
  72.                                     <span>
  73.                                         <b>
  74.                                             N°    
  75.                                                                                     
  76.                                         </b>
  77.                                     </span>
  78.                                 </div>
  79.                             </h6>
  80.                         </th>
  81.                         <th>
  82.                             <div style="text-align:right;">
  83.                                 <h6>
  84.                                     <span>
  85.                                         <b>
  86.                                             {% if(room.level.cycle.section.name=="Francophone") %}
  87.                                                 NOM(S)
  88.                                                                                                                         
  89.                                                                                             
  90.                                             {% else %}
  91.                                                 SECOND NAME(S)
  92.                                                                                                                     
  93.                                                                                             
  94.                                             {% endif %}
  95.                                         </b>
  96.                                     </span>
  97.                                 </div>
  98.                             </h6>
  99.                         </th>
  100.                         <th>
  101.                             <div style="text-align:right;">
  102.                                 <h6>
  103.                                     <span>
  104.                                         <b>
  105.                                             {% if(room.level.cycle.section.name=="Francophone") %}
  106.                                                 PRENOMS(S)
  107.                                                                                                                         
  108.                                                                                             
  109.                                             {% else %}
  110.                                                 FIRSTNAME(S)
  111.                                                                                                                     
  112.                                                                                             
  113.                                             {% endif %}
  114.                                         </b>
  115.                                     </span>
  116.                                 </div>
  117.                             </h6>
  118.                         </th>
  119.                         {% for i in room.level.cycle.section.name=="Francophone" ? ["Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi"] : ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"]   %}
  120.                             
  121.                             <td border="medium" class="qty">
  122.                                 <b>
  123.                                      
  124.                                                                         
  125.                                     {{ i }}
  126.                                 </b>
  127.                             </td>
  128.                         {% endfor %}
  129.                     </tr>
  130.                 </thead>
  131.                 <tbody>
  132.                     {% for std in students %}
  133.                         <tr>
  134.                             <td class="qty">
  135.                                 {{ loop.index }}
  136.                             </td>
  137.                             <td class="desc">
  138.                                 <b>
  139.                                     {{ std.lastname }}
  140.                                 </b>
  141.                             </td>
  142.                             <td class="desc">
  143.                                 <b>
  144.                                     {{ std.firstname }}
  145.                                 </b>
  146.                             </td>
  147.                             {% for i in ["Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi"] %}
  148.                                
  149.                                 <td border="medium" class="qty"></td>
  150.                             {% endfor %}
  151.                         </tr>
  152.                     {% endfor %}
  153.                 </tbody>
  154.             </table>
  155.         </main>
  156.         <footer>
  157.             Feuillet d'abscences 
  158.         </footer>
  159.     </body>
  160. </html>