forked from ScoDoc/ScoDoc
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
|
{% extends "sco_page.j2" %}
|
||
|
|
||
|
{% block styles %}
|
||
|
{{super()}}
|
||
|
<link href="{{sco.scu.STATIC_DIR}}/css/refcomp_parcours_niveaux.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="{{sco.scu.STATIC_DIR}}/css/parcour_formation.css" rel="stylesheet" type="text/css" />
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block app_content %}
|
||
|
<div class="parcour_formation">
|
||
|
|
||
|
<div class="titre_parcours">Parcours {{parcour.code}} « {{parcour.libelle}} »</div>
|
||
|
|
||
|
{% for comp in competences_parcour %}
|
||
|
{% set color_idx = 1 + loop.index0 % 6 %}
|
||
|
<div class="competence comp-c{{color_idx}}">
|
||
|
<div class="titre_competence tc">
|
||
|
Compétence {{comp['competence'].numero}} : {{comp['competence'].titre}}
|
||
|
</div>
|
||
|
<div class="niveaux">
|
||
|
{% for annee, niv in comp['niveaux'].items() %}
|
||
|
<div class="niveau comp-c{{color_idx}}-{{annee}}">
|
||
|
<div class="titre_niveau n{{annee}}">{{niv['niveau'].libelle if niv['niveau'] else '-'}}</div>
|
||
|
<div class="ue impair u{{annee}}1">{{niv['ue_impair'].acronyme if niv['ue_impair'] else 'UE1'}}</div>
|
||
|
<div class="ue pair u{{annee}}1">{{niv['ue_pair'].acronyme if niv['ue_pair'] else 'UE2'}}</div>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
|
||
|
</div>
|
||
|
|
||
|
{% endblock %}
|