index.html.twig
3.71 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
{% 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 Ambientes Universitarios</div>
</div>
<div class="portlet-body">
<div class="table-tools">
<div class="row">
<div class="col-lg-4">
<a href="{{ path('ambiente_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 class="text-center">#</th>
<th>Descripción</th>
<th>Código</th>
<th>Dirección</th>
<th>Estado</th>
<th>Municipio</th>
<th>Parroquia</th>
<th class="text-center">Acciones</th>
</tr>
</thead>
<tbody>
{% for ambiente in ambientes %}
<tr>
<td><a href="{{ path('ambiente_show', { 'id': ambiente.id }) }}">{{ loop.index }}</a></td>
<td>{{ ambiente.descripcion }}</td>
<td>{{ ambiente.codigo }}</td>
<td>{{ ambiente.direccion }}</td>
<td>{{ ambiente.coordenadasutmnorte }}</td>
<td>{{ ambiente.coordenadasutmoeste }}</td>
<td>{{ ambiente.parroquia }}</td>
<td class="text-center">
<a href="{{ path('ambiente_show', { 'id': ambiente.id }) }}"><span title="Mostrar" class="glyphicon text-info glyphicon-eye-open"></span></a>
<a href="{{ path('ambiente_edit', { 'id': ambiente.id }) }}"><span title="Editar" class="glyphicon text-warning glyphicon-edit"></span></a>
<a href="{{ path('ambiente_delete', { 'id': ambiente.id }) }}"><span title="Tablero" class="glyphicon text-orange glyphicon-stats"></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 %}