{% extends 'dg_ufr/base_ufr.html' %}
{% load static %}
{% block content %}

<div class="card mb-3">
    <div class="card-header">
        <i class="fas fa-table"></i>
        LISTE DES CLASSES
    </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>lIBELLE</th>
                    <th>ACTIONS</th>
                </tr>
                </thead>
                <tfoot>
                <tr>
                     <th>LIBELLE</th>
                    <th>ACTIONS</th>
                </tr>
                </tfoot>
                <tbody>
                {% for item in page_obj %}
                <tr>
                    <td>{{item.libelle|upper}}</td>
                    <td style="width:280px;">
                        <a href="{% url 'EspaceEnseignant:dr_ufr_ue' item.id %}" class="btn btn-primary btn-sm"><i class="fa fa-eye"></i>&nbsp; Liste de classe</a>
                        <a href="{% url 'EspaceEnseignant:dr_ufr_ecue' item.id %}" class="btn btn-warning btn-sm"><i class="fa fa-calendar"></i>&nbsp; Programmation</a>
                    </td>
                </tr>
              {% endfor %}
                </tbody>
            </table>
        </div>
    </div>
</div>
{% endblock content %}

{% block custom_js %}

{% endblock custom_js %}