<!-- Modal Reclamation -->
<div>
    <div class="card container" style="width: 18rem;">
        <div class="card-body">
            <h3 class="card-title mb-5"><u>Deliberez ici</u></h3>
            <p class="card-text">
                <label> Entrez la barre de deliberation</label>
                <input type="number" u:model="barre" class="form-control">
            </p>
            <p class="d-flex justify-content-end">
                <button class="btn btn-primary" u:click="save">Valider</button>
            </p>
        </div>
    </div>
    <div class="container">
        <div class="w-25">
            <a class="dropdown-item btn bg-info" href="{% url 'EspaceEnseignant:export' ecueId sessionId 1 %}">
                <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor" class="bi bi-printer mb-1" viewBox="0 0 16 16">
                    <path d="M2.5 8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/>
                    <path d="M5 1a2 2 0 0 0-2 2v2H2a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h1v1a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-1h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1V3a2 2 0 0 0-2-2H5zM4 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2H4V3zm1 5a2 2 0 0 0-2 2v1H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1v-1a2 2 0 0 0-2-2H5zm7 2v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1z"/>
                </svg>
                <span class="h3">Exporter notes</span>
            </a>
        </div>
        <table class="table table-striped">
            <tr>
                <th>NCE</th>
                <th>Nom</th>
                <th>Prénoms</th>
                <th>Moyenne</th>
            </tr>
            {% for moyenneEcue in moyenneEcues %}
                <tr class="antr">
                    <td class="antd">{{moyenneUe.etudiant.nce}}</td>
                    <td>{{moyenneEcue.moyenneUe.etudiant.nom}}</td>
                    <td>{{moyenneEcue.moyenneUe.etudiant.prenoms}}</td>
                    {% if moyenneEcue.note_repechee %}
                        <td>{{moyenneEcue.note_repechee}}</td>
                    {% else %}
                        <td>{{moyenneEcue.note}}</td>
                    {% endif %}
                </tr>
            {% empty%}
                <tr>
                    <td class="h4" colspan="3">La liste est vide ....</td>
                </tr>
            {% endfor %}
            
        </table>
        <div class="d-flex justify-content-end">
            <a class="btn btn-primary" href="{% url 'EspaceEnseignant:notes' ecueId %}" >Retour</a>
        </div>
    </div>
</div>