templates/classroom/templating/student_list.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 simple
  7.                                                     
  8.                                         
  9.                             
  10.                     
  11.         </title>
  12.         <link rel="stylesheet" type="text/css" href="{{ absolute_url(asset('assets/css/bootstrap.min.css')) }}" />
  13.         <link rel="stylesheet" type="text/css" href="{{ absolute_url(asset('assets/css/pdf.css')) }}" />
  14.     </head>
  15.     <body>
  16.         <header class="clearfix">
  17.             {{ include('classroom/partials/header.html.twig') }}
  18.             <h1 style=" text-align:center; " >
  19.                 <b>
  20.                     {% if(room.level.cycle.section.name=="Francophone") %}
  21.                         LISTE DES ELEVES PAR CLASSE
  22.                                                                                                                         
  23.                                                                                             
  24.                                                                     
  25.                                             
  26.                     {% else %}
  27.                         LIST OF STUDENTS 
  28.                                                                                                                     
  29.                                                                                             
  30.                                                                     
  31.                                             
  32.                     {% endif %}
  33.                 </b>
  34.             </h1>
  35.             <div id="companyleft">
  36.                 <h5>
  37.                     <b>
  38.                         <span>
  39.                             {% if(room.level.cycle.section.name=="Francophone") %}
  40.                                 CLASSE 
  41.                                                                                                                                                         
  42.                                                                                                                             
  43.                                                                                             
  44.                                                             
  45.                             {% else %}
  46.                                 CLASS
  47.                                                                                                                                                     
  48.                                                                                                                             
  49.                                                                                             
  50.                                                             
  51.                             {% endif %}
  52.                         </span>
  53.                         {{ room.name }}
  54.                     </b>
  55.                 </h5>
  56.             </div>
  57.             <div id="companyright">
  58.                 <h5>
  59.                     <b>
  60.                         <span>
  61.                             {% if(room.level.cycle.section.name=="Francophone") %}
  62.                                 ANNEE SCOLAIRE &nbsp;   
  63.                                                                                                                                 
  64.                                                                                                 
  65.                                                                 
  66.                                 {{ year }}
  67.                             {% else %}
  68.                                 {{ year }}
  69.                                 &nbsp; SCHOOL YEAR
  70.                                                                                                                                                     
  71.                                                                                                                             
  72.                                                                                             
  73.                                                             
  74.                             {% endif %}
  75.                         </span>
  76.                     </b>
  77.                 </h5>
  78.             </div>
  79.         </header>
  80.         <main>
  81.             <table style=" width: 100%; text-align:center; font-size: 80%; " class="table tablelist">
  82.                 <thead>
  83.                     <tr>
  84.                         <th style="width:5%;">
  85.                             <b>
  86.                                 N°
  87.                                                                                                                             
  88.                                                                                             
  89.                                                             
  90.                             </b>
  91.                         </th>
  92.                         <th style="width:5%;">
  93.                             <b>
  94.                                 MATRICULE
  95.                                                                                                                             
  96.                                                                                             
  97.                                                             
  98.                             </b>
  99.                         </th>
  100.                         <th class="desc" style="width:35%;">
  101.                             <h7>
  102.                                 <b>
  103.                                     {% if(room.level.cycle.section.name=="Francophone") %}
  104.                                         NOMS ET PRENOMS
  105.                                                                                                                                                                                         
  106.                                                                                                                                                             
  107.                                                                                                                     
  108.                                                                             
  109.                                     {% else %}
  110.                                         LASTNAMES AND FIRSTNAMES
  111.                                                                                                                                                                                     
  112.                                                                                                                                                             
  113.                                                                                                                     
  114.                                                                             
  115.                                     {% endif %}
  116.                                 </b>
  117.                             </h7>
  118.                         </th>
  119.                         <th style="width:5%;">
  120.                             <b>
  121.                                 {% if(room.level.cycle.section.name=="Francophone") %}
  122.                                     SEXE
  123.                                                                                                                                                                         
  124.                                                                                                                                             
  125.                                                                                                         
  126.                                                                     
  127.                                 {% else %}
  128.                                     GENDER
  129.                                                                                                                                                                     
  130.                                                                                                                                             
  131.                                                                                                         
  132.                                                                     
  133.                                 {% endif %}
  134.                             </b>
  135.                         </th>
  136.                         <th style="width:25%;">
  137.                             <b>
  138.                                 {% if(room.level.cycle.section.name=="Francophone") %}
  139.                                     DATE DE NAISSANCE
  140.                                                                                                                                                                         
  141.                                                                                                                                             
  142.                                                                                                         
  143.                                                                     
  144.                                 {% else %}
  145.                                     BIRTH DATE
  146.                                                                                                                                                                     
  147.                                                                                                                                             
  148.                                                                                                         
  149.                                                                     
  150.                                 {% endif %}
  151.                             </b>
  152.                         </th>
  153.                         <th style="width:25%;">
  154.                             <b>
  155.                                 {% if(room.level.cycle.section.name=="Francophone") %}
  156.                                     LIEU DE NAISSANCE
  157.                                                                                                                                                                         
  158.                                                                                                                                             
  159.                                                                                                         
  160.                                                                     
  161.                                 {% else %}
  162.                                     PLACE OF BIRTH
  163.                                                                                                                                                                     
  164.                                                                                                                                             
  165.                                                                                                         
  166.                                                                     
  167.                                 {% endif %}
  168.                             </b>
  169.                         </th>
  170.                     </tr>
  171.                 </thead>
  172.                 <tbody>
  173.                     {% for std in students %}
  174.                         <tr>
  175.                             <td class="qty">
  176.                                 {{ loop.index }}
  177.                             </td>
  178.                             <td class="qty">
  179.                                 {{ std.matricule }}
  180.                             </td>
  181.                             <td class="desc">
  182.                                 <b>
  183.                                     {{ std.lastname }}
  184.                                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
  185.                                                                                                                                                 
  186.                                                                                                             
  187.                                                                         
  188.                                     {{ std.firstname }}
  189.                                 </b>
  190.                             </td>
  191.                             <td class="qty">
  192.                                 {% if std.gender %}
  193.                                     F
  194.                                                                                                                                             
  195.                                                                                                         
  196.                                                                     
  197.                                 {% else %}
  198.                                     M 
  199.                                                                                                                                             
  200.                                                                                                         
  201.                                                                     
  202.                                 {% endif %}
  203.                             </td>
  204.                             <td class="qty">
  205.                                 {% if std.birthday %}
  206.                                     {{ std.birthday|date('d-m-Y') }}
  207.                                 {% endif %}
  208.                             </td>
  209.                             <td class="qty">
  210.                                 {{ std.birthplace }}
  211.                             </td>
  212.                         </tr>
  213.                     {% endfor %}
  214.                 </tbody>
  215.             </table>
  216.         </main>
  217.         <footer>
  218.             {% if(room.level.cycle.section.name=="Francophone") %}
  219.                 lISTE DES ELEVES INSCRITS
  220.                                                                                         
  221.                                                             
  222.                                             
  223.                             
  224.             {% else %}
  225.                 LIST OF REGISTERED STUDENTS
  226.                                                                                     
  227.                                                             
  228.                                             
  229.                             
  230.             {% endif %}
  231.         </footer>
  232.     </body>
  233. </html>