replace button by div
This commit is contained in:
parent
2a48992a27
commit
6dd824fe95
2 changed files with 19 additions and 19 deletions
|
@ -2,13 +2,13 @@
|
|||
{% for bulletin in bulletins|sort %}
|
||||
{% if bulletin.isVisible() %}
|
||||
<div class="panel panel-default">
|
||||
<button id="head_{{ bulletin.getId() }}" class="panel-heading collapsed" data-parent="#accordion_bulletins" data-target="#{{ bulletin.getId() }}" data-toggle="collapse">
|
||||
<div id="head_{{ bulletin.getId() }}" class="panel-heading collapsed" data-parent="#accordion_bulletins" data-target="#{{ bulletin.getId() }}" data-toggle="collapse">
|
||||
<h4 class="panel-title">{{ bulletin.getNom() }}</h4>
|
||||
<div class="row">
|
||||
<div class="col-sm-9">{{ bulletin.getClasse() }}</div>
|
||||
<div class="col-sm-3">Moyenne Générale : {{ bulletin.getMoyenne() }}</div>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
<div id="{{ bulletin.getId() }}" class="panel-collapse collapse" style="padding:5px">
|
||||
{% include '@meeo/eleve_notes.twig' with { 'bulletin' : bulletin } %}
|
||||
</div>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% for matiere in bulletin.getMatieres() %}
|
||||
{% if matiere.isVisible() %}
|
||||
<div class="panel panel-primary">
|
||||
<button id="head_{{ bulletin.getId() }}_{{ matiere.getId() }}" class="panel-heading collapsed" data-parent="#accordion_{{ bulletin.getId() }}_matiere" data-target="#{{ bulletin.getId() }}_{{ matiere.getId() }}" data-toggle="collapse">
|
||||
<div id="head_{{ bulletin.getId() }}_{{ matiere.getId() }}" class="panel-heading collapsed" data-parent="#accordion_{{ bulletin.getId() }}_matiere" data-target="#{{ bulletin.getId() }}_{{ matiere.getId() }}" data-toggle="collapse">
|
||||
<h4 class="panel-title">{{ matiere.getNom() }}</h4>
|
||||
<div col="row">
|
||||
<div class="col-sm-10"></div>
|
||||
|
@ -10,7 +10,7 @@
|
|||
Moyenne : {{ matiere.getMoyenne() }}
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
<div id="{{ bulletin.getId() }}_{{ matiere.getId() }}" class="panel-collapse collapse in" style="padding:5px">
|
||||
{% for note in matiere.getNotes() %}
|
||||
<div class="row">
|
||||
|
|
Loading…
Reference in a new issue