27 lines
867 B
Plaintext
27 lines
867 B
Plaintext
|
<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 %}
|
||
|
<tr class="parcours_but"><td colspan="{{nb_cols}}">Parcours {{parcour.code}} <i>{{parcour.libelle}}</i></td></tr>
|
||
|
{% for annee in [ 1, 2, 3] %}
|
||
|
<tr class="annee_but">
|
||
|
<td>BUT{{annee}}</td>
|
||
|
{% for comp in ref.competences %}
|
||
|
<td class="comp-c{{1 + loop.index0 % 6}}">{{ table_niveaux_parcours[parcour.id][annee][comp.id] }}</td>
|
||
|
{% endfor %}
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|