{% extends 'CmBundle:Z:baseDos.html.twig' %}

{% block stylesheet %}
{% endblock %}

{% block javascripts %}
{% endblock %}

{% block content %}
    <div class="container-fluid">
        <h1 class="mt-4">ESPECIALDIADES</h1>
        <ol class="breadcrumb mb-2">
            <li class="breadcrumb-item active">Tablero</a></li>
        </ol>
        <div class="row">

            {% if b == 1 %}
                <h3 class="text-center">CONSULTA DE BACHILLERATOS GENERALES</h3>
            {% elseif b == 2 %}
                <h3 class="text-center">CONSULTA DE BACHILLERATOS TECNOLOGICOS</h3>
            {% elseif b == 3 %}
                <h3 class="text-center">CONSULTA DE LICENCIATURAS</h3>
            {% elseif b== 4 %}
                <h3 class="text-center">CONSULTA DE MAESTRIAS</h3>
            {% endif %}

            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 table-responsive">
                <table class="table table-condensed table-hover small">
                    <thead class="thead-light">
                        <tr>
                            <th>NP</th>
                            <th>CLAVE</th>
                            <th>NOMBRE</th>
                            <th>DURACIÓN</th>
                            <th>ESTATUS</th>
                        </tr>
                    </thead>
                    <tbody>
                        {% if licenciaturas is defined %}
                            {% for l in licenciaturas %}
                                <tr>
                                    <td>{{loop.index}}</td>
                                    <td>{{l.cveLic}}</td>
                                    <td>{{l.nomLic}}</td>
                                    <td>{{l.durLic}}</td>
                                    <td>{{l.estatus.desEst}}</td>
                                </tr>
                            {% endfor %}
                        {% endif %}
                    </tbody>
                </table>
            </div>


        </div><!-- FIN row -->
    </div><!-- FIN container-fluid -->

{% endblock %}
