2023-03-28 21:59:09 +02:00
|
|
|
<div class="table_niveaux_parcours">
|
|
|
|
<div class="titre">Niveaux de compétences des parcours</div>
|
|
|
|
<table class="table_niveaux_parcours">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
{% for comp in ref.competences %}
|
|
|
|
<th class="comp-c{{1 + loop.index0 % 6}}">{{comp.titre}}</th>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% set nb_cols = ref.competences.count() + 1 %}
|
|
|
|
{% for parcour in ref.parcours %}
|
2023-03-28 22:35:31 +02:00
|
|
|
<tr class="parcours_but"><td colspan="{{nb_cols}}">Parcours <b>{{parcour.code}}</b> <i>{{parcour.libelle}}</i></td></tr>
|
2023-03-28 21:59:09 +02:00
|
|
|
{% for annee in [ 1, 2, 3] %}
|
|
|
|
<tr class="annee_but">
|
|
|
|
<td>BUT{{annee}}</td>
|
|
|
|
{% for comp in ref.competences %}
|
2023-03-28 22:35:31 +02:00
|
|
|
{% set niveau = table_niveaux_parcours[parcour.id][annee][comp.id] %}
|
|
|
|
<td class="comp-c{{1 + loop.index0 % 6}} {% if not niveau %}empty{% endif %}">{{ niveau }}</td>
|
2023-03-28 21:59:09 +02:00
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|