2024-07-12 14:49:50 +00:00
|
|
|
<div id="accordion" class="panel-group" role="tablist" aria-multiselectable="true">
|
2024-07-13 18:39:43 +00:00
|
|
|
{% for matiere in bulletin.getMatieres() %}
|
|
|
|
<div class="panel panel-primary">
|
|
|
|
<button id="head_{{ bulletin.getId() }}_{{ matiere.getId() }}" class="panel-heading collapsed" data-parent="#accordion" data-target="#{{ bulletin.getId() }}_{{ matiere.getId() }}" data-toggle="collapse" aria-expanded="false">
|
|
|
|
<h4 class="panel-title">{{ matiere.getNom() }}</h4>
|
|
|
|
<p>Moyenne : {{ matiere.getMoyenne() }}</p>
|
|
|
|
</button>
|
|
|
|
<div id="{{ bulletin.getId() }}_{{ matiere.getId() }}" class="panel-collapse collapse in" style="padding:5px" aria-expanded="false">
|
|
|
|
{% for note in matiere.getNotes() %}
|
|
|
|
<div>
|
|
|
|
{% if note.getNote() >= 20 %}
|
|
|
|
<i class="fa fa-star" style="color:gold"></i>
|
|
|
|
{% elseif note.getNote() >= 15 %}
|
|
|
|
<i class="fa fa-heart" style="color:red"></i>
|
|
|
|
{% elseif note.getNote() >= 12 %}
|
|
|
|
<i class="fa fa-smile" style="color:green"></i>
|
|
|
|
{% elseif note.getNote() >= 9 %}
|
|
|
|
<i class="fa fa-thumbs-up" style="color:green"></i>
|
|
|
|
{% endif %}
|
|
|
|
{{ note.getIntitule() }} : {{ note.getNote() }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2024-07-12 14:49:50 +00:00
|
|
|
</div>
|
2024-07-13 18:39:43 +00:00
|
|
|
</div>
|
2024-07-12 14:49:50 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|