{% extends 'scolarite/ags_base.html' %}
{% load static %}
{% load custom_tag %}
{% block head %}{% endblock head %}
{% block page_title %}<!--({{ue.code}}) : {{ue.libelle}}--> {% endblock page_title %}
{% block content %}
<div class="card mb-3">
    <div class="card-header">
        <i class="fas fa-table"></i>
        LISTE DES ETUDIANTS NON INSCRITS
    </div>
    <div class="card-body">
        <div class="table-responsive">
            <table class="table table-bordered table-striped" id="dataTable" width="100%" cellspacing="0">
                <thead>
                <tr>
                    <th>NCE</th>
                    <th>Nom et Prénoms</th>
                    <th>ETABLISSEMENT</th>
                    <th>Contact</th>
                    <th></th>
                </tr>
                </thead>
                <tfoot>
                <tr>
                    <th>NCE</th>
                    <th>Nom et Prénoms</th>
                    <th>ETABLISSEMENT</th>
                    <th>Contact</th>
                    <th></th>
                </tr>
                </tfoot>
                <tbody>
                {% for etudiant in etudiants %}
                <tr class="antr">
                    <td class="antd" style="width:100px;">{{etudiant.nce}}</td>
                    <td>{{etudiant}}</td>
                    <td>{{etudiant.ufr.code}}</td>
                    <td>{{etudiant.phone}}</td>
                    <td width="110">
                        <a href="{% url 'Scolarite:ags_inscrption_agree' etudiant.id %}" class="btn btn-warning btn-sm"><i class="fa fa-edit"></i> Gérer</a>
                    </td>
                </tr>
                {% endfor %}
                </tbody>
            </table>
        </div>
    </div>
</div>
{% endblock content %}

{% block custom_js %}
<script src="{% static 'js/custom-js/save_note.js'%} "></script>
 <script src="{% static 'js/custom-js/note.js' %}"></script>
<script>
    var elements = rootElement.getElementsByClassName('delib')
</script>
{% endblock custom_js %}