index.html.twig
4.73 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{% extends "UBVPrincipalBundle::inicio.html.twig" %}
{% block contenido %}
<div class="row">
<div class="col-lg-12">
<div class="portlet">
<div class="portlet-header">
<div class="caption">Listado de Aspirantes</div>
</div>
<div class="portlet-body">
<div class="table-tools">
<div class="row">
<div class="col-lg-4">
<a href="{{ path('aspirante_new') }}">
<button type="button" class="btn btn-red mrs"><i class="fa fa-plus"></i>
Agregar
</button>
</a>
<a href="{{ path('aspirante_new') }}">
<button type="button" class="btn btn-primary mrs"><i
class="fa fa-filter"></i> Filtrar Lista
</button>
</a>
<a href="{{ path('aspirante_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="input-icon right">
<a id="prueba" href="#">
<i class="fa fa-search"></i>
</a>
<input id="prueba_dos" type="text" placeholder="Buscar..." 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 class="text-center">#</th>
<th>Identificación</th>
<th>Nombres y Apellidos</th>
<th>Programa de Formación Asignado</th>
<th>Aldea Asignada</th>
<th>Tipo Aspirante</th>
<th>Periodo Asignado</th>
<th class="text-center">Acciones</th>
</tr>
</thead>
<tbody>
{% for aspirante in aspirantes %}
<tr>
<td class="text-center"><a href="{{ path('aspirante_show', { 'id': aspirante.aspiranteId }) }}">{{ loop.index }}</a></td>
<td>{{ aspirante.Identificacion }}</td>
<td>{{ aspirante.primerNombre|capitalize }} {{ aspirante.segundoNombre|capitalize }} {{ aspirante.primerApellido|capitalize }} {{ aspirante.segundoApellido|capitalize }}</td>
<td>{{ aspirante.ProgramaAsignado }}</td>
<td>{{ aspirante.Aldea }}</td>
<td>{{ aspirante.aspiranteTipoDescripcion }}</td>
<td>{{ aspirante.Periodo }}</td>
<td class="text-center">
<a href="{{ path('fos_user_profile_show_persona', { 'id': aspirante.personaId }) }}"><span title="Mostrar" class="glyphicon text-info glyphicon-eye-open"></span></a>
<a href="{{ path('aspirante_edit', { 'id': aspirante.aspiranteId }) }}"><span title="Editar" class="glyphicon text-warning glyphicon-edit"></span></a>
<a href="{{ path('aspirante_lista_documentos_aspirante', { 'id': aspirante.aspiranteId }) }}"><span title="Verificar Documentos" class="glyphicon text-default glyphicon-folder-open"></span></a>
<a href="{{ path('aspirante_delete', { 'id': aspirante.aspiranteId }) }}"><span title="Borrar" class="glyphicon text-danger glyphicon-trash"></span></a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class="tool-footer text-right"><p class="pull-left">Mostrando del 1 al 10 de 57 Registros</p>
<ul class="pagination">
<li><a href="#">«</a></li>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">»</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
$(function(){
$('#prueba').on('click', function() {
var cedula = $('#prueba_dos').val();
alert(cedula)
alert("has echo click en el enlace");
});
});
</script>
{% endblock %}