templates/pdf/ficheSeance.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4.     <meta charset="UTF-16">
  5.     <title>Fiche Séance</title>
  6.     <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700" />
  7.     <style>
  8.         * {
  9.             font-family: 'Roboto';
  10.         }
  11.         table {
  12.             border-collapse: collapse;
  13.         }
  14.         th, td {
  15.             border: 1px solid black;
  16.             padding: 15px;
  17.         }
  18.         th {
  19.             background-color: #cccccc;
  20.         }
  21.         tr:first-child td:nth-child(1), .mytable tr:first-child td:nth-child(2) {
  22.             border:1px transparent;
  23.         }
  24.     </style>
  25. </head>
  26. <body >
  27. <div id="bloc">
  28. <table style="width: 100%">
  29.     <tr >
  30.         <th style="width: 10%; border-radius: 25px 0 0 0;border: none" rowspan="2">
  31.             Séquence <br>
  32.             Séance
  33.         </th>
  34.         <th style="width: 60% ; border-top: none" colspan="2" rowspan="2">
  35.             <h3><i>{{ seance.refSequence.refThemeSequence }} - {{ seance.refSequence.titre }}</i><br>{{ seance.titre }}</h3>
  36.         </th>
  37.         <th  style="width: 15%; border-top: none ">
  38.            Séance : {{ seance.positionSeance }} / {{ seance.refSequence.refSeances|length }}
  39.         </th>
  40.         <th style="width: 15%; border-radius: 0 25px  0 0;border: none" rowspan="2">
  41.             <u>Niveau :</u><br>
  42.             {{ seance.refSequence.refFiliere }}
  43.         </th>
  44.     </tr>
  45.     <tr>
  46.         <th style="">Durée : {{ seance.duree }} h</th>
  47.     </tr>
  48.     <tr>
  49.         <td colspan="4"><u>Objectif :</u> {{ seance.refSequence.attendu }}</td>
  50.         <td><u>Etape :</u> {{ seance.etape }}</td>
  51.     </tr>
  52.     <tr>
  53.         <td colspan="4"><u>Objectif de la séance :</u> {{ seance.objectifIntermediaire }}</td>
  54.         <td rowspan="3">
  55.             <u>Matériel :</u><br> {{ seance.ressourcesFournies }}
  56.             <br><u>Organisation :</u> {{ seance.organisation }}
  57.         </td>
  58.     </tr>
  59.     <tr>
  60.         <td colspan="4"><u>Compétences :</u> {{ seance.refSequence.refCompetence|join(", ") }}</td>
  61.     </tr>
  62.     <tr>
  63.         <td colspan="4"><u>Savoir Associés :</u> {{ seance.refSequence.refSavoirTechnologique|join(", ") }}</td>
  64.     </tr>
  65. </table>
  66. </div>
  67. <br>
  68. <div id="bloc">
  69. <table style="width: 100%" >
  70.     <tr style="">
  71.         <th style="width: 5% ; border: none ;border-radius: 25px 0 0 0" rowspan="2">Phase</th>
  72.         <th style="width: 5% ; border-top: none" rowspan="2">Durée</th>
  73.         <th style="width: 40% ; border-top: none" rowspan="2">Déroulement</th>
  74.         <th style="width: 60% ; border-top: none" colspan="2">Activités</th>
  75.     </tr>
  76.     <tr>
  77.         <th style="width: 30%"  >Eleve</th>
  78.         <th style="width: 30%" >Professeur</th>
  79.     </tr>
  80.     {% for seance_detail in seance.refSeancesDetails %}
  81.     <tr>
  82.         <td>{{ seance_detail.phase }}</td>
  83.         <td>{{ seance_detail.duree }} min</td>
  84.         <td>{{ seance_detail.deroulement }}</td>
  85.         <td>{{ seance_detail.activiteEleve }}</td>
  86.         <td>{{ seance_detail.activiteProf }}</td>
  87.     </tr>
  88.     {% endfor %}
  89. </table>
  90. </div>
  91. <h4>Bilan de Séance :</h4>
  92. <p>
  93. </p>
  94. </body>
  95. </html>