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

{% block stylesheet %}
{% endblock %}

{% block javascripts %}
    <script src="{{asset('js/misJs/alumno.js')}}"></script>
{% endblock %}

{% block content %}
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">Bienvenido {{p.nomPro}} {{p.apePat}} {{p.apeMat}}</h1>
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <i class="fa fa-info fa-fw"></i> CURSO: {{c.nombre}}
                </div>
                <!-- /.panel-heading -->
                <div class="panel-body">
                    <div class="row">
                        <div class="col-lg-12">
                            ESPECIALIDAD: 
                            {% if c.cveLic.cveNivAca.ideNivAca == 3 %}
                                LIC. EN 
                            {% elseif c.veLic.cveNivAca.ideNivAca == 4 %}
                                MTRÍA. EN 
                            {% elseif c.cveLic.cveNivAca.ideNivAca == 5 %}
                                DOC. EN 
                            {% endif %}
                            {{c.cveLic.nomLic}}
                            <br>
                            PERIODO: {{c.cvePer.periodo}}
                            <br>
                            <i style="font-weight: bolder;"> <i class="fa fa-arrow-right fa-fw"></i> ASIGNATURA: {{a.nomAsignatura}}</i>
                        </div>
                        <div class="col-lg-12 table-responsive">
                            <table class="table table-condensed table-hover table-striped">
                                <thead>
                                    <tr style="background-color: lightgray;">
                                        <th class="text-center">TEMAS</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    {% for t in temas %}
                                        <tr>
                                            <td><a href="{{path('ver_subtemas_profesor_moodle',{ideTem : t.ideTem,ideCur : c.ideCurso })}}">{{t.tema}}</a></td>
                                        </tr>
                                    {% else %}
                                    {% endfor %}
                                </tbody>
                            </table>
                        </div>
                        <!-- /.col-lg-12 (nested) -->
                    </div>
                    <!-- /.row (nested) -->
                </div>
                <!-- /.panel-body -->
            </div>
            <!-- /.panel -->
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
{% endblock %}
