index.html.twig
3.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{% extends "UBVPrincipalBundle::inicio.html.twig" %}
{% block contenido %}
<h1>Lista de Candidatos</h1>
<div class="row">
<div class="col-lg-12">
<div class="portlet">
<div class="portlet-header">
<div class="caption">Listado de Candidatos</div>
</div>
<div class="portlet-body">
<div class="table-tools">
<div class="row">
<div class="col-lg-4">
<a href="{{ path('candidato_new') }}">
<button type="button" class="btn btn-red mrs"><i class="fa fa-plus"></i>
Agregar
</button>
</a>
<a href="{{ path('ambiente_new') }}">
<button type="button" class="btn btn-primary mrs"><i
class="fa fa-filter"></i> Filtrar Lista
</button>
</a>
<a href="{{ path('ambiente_new') }}">
<button type="button" class="btn btn-default mrs"><i
class="fa fa-print"></i> Imprimir
</button>
</a>
</div>
<div class="col-lg-3 pull-right">
<div class="form-inline pull-right">
<div class="form-group"><label class="control-label">Buscar:</label> <input
type="text" class="form-control"/></div>
</div>
</div>
</div>
</div>
<div class="table-responsive mtl">
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>Id</th>
<th>Primer Nombre</th>
<th>Segundo Nombre</th>
<th>Primer Apellido</th>
<th>Segundo Apellido</th>
<th>Identificacion</th>
<th>Fecha Nacimiento</th>
<th>Telefono</th>
<th>Correo</th>
<th>Id Opsu</th>
<th>Ano Grado</th>
<th>Trabaja</th>
<th>Promedio Nota</th>
<th>Periodo Asignado</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{% for candidato in candidatos %}
<tr>
<td><a href="{{ path('candidato_show', { 'id': candidato.id }) }}">{{ candidato.id }}</a></td>
<td>{{ candidato.primernombre }}</td>
<td>{{ candidato.segundonombre }}</td>
<td>{{ candidato.primerapellido }}</td>
<td>{{ candidato.segundoapellido }}</td>
<td>{{ candidato.identificacion }}</td>
<td>{% if candidato.fechanacimiento %}{{ candidato.fechanacimiento|date('Y-m-d') }}{% endif %}</td>
<td>{{ candidato.telefono }}</td>
<td>{{ candidato.correo }}</td>
<td>{{ candidato.idopsu }}</td>
<td>{% if candidato.anogrado %}{{ candidato.anogrado|date('Y') }}{% endif %}</td>
<td>{% if candidato.trabaja %}Yes{% else %}No{% endif %}</td>
<td>{{ candidato.promedionota }}</td>
<td></td>
<td>
<ul>
<li>
<a href="{{ path('candidato_show', { 'id': candidato.id }) }}">show</a>
</li>
<li>
<a href="{{ path('candidato_edit', { 'id': candidato.id }) }}">edit</a>
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul>
</ul>
{% endblock %}