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. </title>
  8. <link rel="stylesheet" type="text/css" href="{{ absolute_url(asset('assets/css/bootstrap.min.css')) }}" />
  9. <link rel="stylesheet" type="text/css" href="{{ absolute_url(asset('assets/css/pdf.css')) }}" />
  10. </head>
  11. <body>
  12. <header class="clearfix">
  13. {{ include('classroom/partials/header.html.twig') }}
  14. <h1 style=" text-align:center; " >
  15. <b>
  16. {% if(room.level.cycle.section.name=="Francophone") %}
  17. LISTE DES ELEVES PAR CLASSE
  18. {% else %}
  19. LIST OF STUDENTS
  20. {% endif %}
  21. </b>
  22. </h1>
  23. <div id="companyleft">
  24. <h5>
  25. <b>
  26. <span>
  27. {% if(room.level.cycle.section.name=="Francophone") %}
  28. CLASSE
  29. {% else %}
  30. CLASS
  31. {% endif %}
  32. </span>
  33. {{ room.name }}
  34. </b>
  35. </h5>
  36. </div>
  37. <div id="companyright">
  38. <h5>
  39. <b>
  40. <span>
  41. {% if(room.level.cycle.section.name=="Francophone") %}
  42. ANNEE SCOLAIRE &nbsp;
  43. {{ year }}
  44. {% else %}
  45. {{ year }}
  46. &nbsp; SCHOOL YEAR
  47. {% endif %}
  48. </span>
  49. </b>
  50. </h5>
  51. </div>
  52. </header>
  53. <main>
  54. <table style=" width: 100%; text-align:center; font-size: 80%; " class="table tablelist">
  55. <thead>
  56. <tr>
  57. <th style="width:5%;">
  58. <b>
  59. </b>
  60. </th>
  61. <th style="width:5%;">
  62. <b>
  63. MATRICULE
  64. </b>
  65. </th>
  66. <th class="desc" style="width:35%;">
  67. <h7>
  68. <b>
  69. {% if(room.level.cycle.section.name=="Francophone") %}
  70. NOMS ET PRENOMS
  71. {% else %}
  72. LASTNAMES AND FIRSTNAMES
  73. {% endif %}
  74. </b>
  75. </h7>
  76. </th>
  77. <th style="width:5%;">
  78. <b>
  79. {% if(room.level.cycle.section.name=="Francophone") %}
  80. SEXE
  81. {% else %}
  82. GENDER
  83. {% endif %}
  84. </b>
  85. </th>
  86. <th style="width:25%;">
  87. <b>
  88. {% if(room.level.cycle.section.name=="Francophone") %}
  89. DATE DE NAISSANCE
  90. {% else %}
  91. BIRTH DATE
  92. {% endif %}
  93. </b>
  94. </th>
  95. <th style="width:25%;">
  96. <b>
  97. {% if(room.level.cycle.section.name=="Francophone") %}
  98. LIEU DE NAISSANCE
  99. {% else %}
  100. PLACE OF BIRTH
  101. {% endif %}
  102. </b>
  103. </th>
  104. </tr>
  105. </thead>
  106. <tbody>
  107. {% for std in students %}
  108. <tr>
  109. <td class="qty">
  110. {{ loop.index }}
  111. </td>
  112. <td class="qty">
  113. {{ std.matricule }}
  114. </td>
  115. <td class="desc">
  116. <b>
  117. {{ std.lastname }}
  118. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  119. {{ std.firstname }}
  120. </b>
  121. </td>
  122. <td class="qty">
  123. {% if std.gender %}
  124. F
  125. {% else %}
  126. M
  127. {% endif %}
  128. </td>
  129. <td class="qty">
  130. {% if std.birthday %}
  131. {{ std.birthday|date('d-m-Y') }}
  132. {% endif %}
  133. </td>
  134. <td class="qty">
  135. {{ std.birthplace }}
  136. </td>
  137. </tr>
  138. {% endfor %}
  139. </tbody>
  140. </table>
  141. </main>
  142. <footer>
  143. {% if(room.level.cycle.section.name=="Francophone") %}
  144. lISTE DES ELEVES INSCRITS
  145. {% else %}
  146. LIST OF REGISTERED STUDENTS
  147. {% endif %}
  148. </footer>
  149. </body>
  150. </html>