index.html.twig
4.4 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
{% extends "UBVPrincipalBundle::inicio.html.twig" %}
{% block contenido %}
<h1>Lista de Proyectos</h1>
<div class="row">
<div class="col-lg-12">
<div class="portlet">
<div class="portlet-header">
<div class="caption">Listado de Proyectos de Estudios Avanzados</div>
</div>
<div class="portlet-body">
<div class="table-tools">
<div class="row">
<div class="col-lg-4">
<a href="{{ path('proyecto_new') }}">
<button type="button" class="btn btn-red mrs"><i class="fa fa-plus"></i>
Crear Nuevo Proyecto
</button>
</a>
<a href="{{ path('proyecto_index') }}">
<button type="button" class="btn btn-primary mrs"><i
class="fa fa-filter"></i> Filtrar Listado
</button>
</a>
<a href="{{ path('proyecto_index') }}">
<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>Titulo</th>
<th>Objetivo General</th>
<th>Descripcion</th>
<th>Beneficiarios Directos</th>
<th>Beneficiarios Indirectos</th>
<th>Fecha de Inicio</th>
<th>Fecha de Fin</th>
<th>Vinculacion con el Plan de la Patria</th>
<th>Proyectos Estrategicos</th>
<th>Proyectocol</th>
<th>Direccion</th>
<th>Coordenada Latitud</th>
<th>Coordenada Longitud</th>
<th>Fecha de Registro</th>
<th>Resumes Ruta</th>
<th>Acciones</th>
</tr>
</thead>
<tbody>
{% for proyecto in proyectos %}
<tr>
<td><a href="{{ path('proyecto_show', { 'id': proyecto.id }) }}">{{ proyecto.id }}</a></td>
<td>{{ proyecto.titulo }}</td>
<td>{{ proyecto.objetivogeneral }}</td>
<td>{{ proyecto.descripcion }}</td>
<td>{{ proyecto.beneficiariosdirectos }}</td>
<td>{{ proyecto.beneficiariosindirectos }}</td>
<td>{% if proyecto.fechainicio %}{{ proyecto.fechainicio|date('d-m-Y') }}{% endif %}</td>
<td>{% if proyecto.fechafin %}{{ proyecto.fechafin|date('d-m-Y') }}{% endif %}</td>
<td>{{ proyecto.vinculacionplanpatria }}</td>
<td>{{ proyecto.proyectosestrategicos }}</td>
<td>{{ proyecto.proyectocol }}</td>
<td>{{ proyecto.direccion }}</td>
<td>{{ proyecto.coordenadalatitud }}</td>
<td>{{ proyecto.coordenadalongitud }}</td>
<td>{% if proyecto.fecharegistro %}{{ proyecto.fecharegistro|date('d-m-Y') }}{% endif %}</td>
<td>{{ proyecto.resumesruta }}</td>
<td>
<ul>
<li>
<a href="{{ path('proyecto_show', { 'id': proyecto.id }) }}"><span title="Mostrar"class="glyphicon glyphicon-eye-open"></span></a>
</li>
<li>
<a href="{{ path('proyecto_edit', { 'id': proyecto.id }) }}"><span title="Editar"class="glyphicon text-warning glyphicon-edit"></span></a>
</li>
<li>
<a href="{{ path('proyecto__delete', { 'id': proyecto.id }) }}"><span title="Borrar" class="glyphicon text-danger glyphicon-trash"></span></a>
</li>
</td>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}