index.html.twig
2.17 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
{% extends 'base_app.html.twig' %}
{% block body %}
<div class="container">
<div class="widget widget-table action-table">
<div class="widget-header">
<div class="row">
<div class="col-sm-9"><i class="fa fa-list"></i>
<h3>Listado de usuarios Registrados</h3></div>
<div class="col-sm-2"><input type="text" class="form-control"></div>
</div>
</div>
<div class="widget-content">
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Id</th>
<th>Nombres y Apellidos</th>
<th>Eje</th>
<th>Estado</th>
<th>Nombre de Usuario</th>
<th>Acciones</th>
</tr>
</thead>
<tbody>
{% for usuario in usuarios %}
<tr>
<td>{{ usuario.id }}</td>
<td>{{ usuario.idRolInstitucion.idRol.idPersona.primerNombre }}, {{ usuario.idRolInstitucion.idRol.idPersona.primerApellido }}</td>
<td>{{usuario.idRolInstitucion.idInstitucion.idEjeParroquia.idEje}}</td>
<td>{{usuario.idRolInstitucion.idInstitucion.idEjeParroquia.idParroquia.idMunicipio.idEstado}}</td>
<td>
<a href="{{ path('admin_usuarios_show', { 'id': usuario.id }) }}">{{ usuario.username }}</a>
</td>
<td>
<a href="{{ path('admin_usuarios_show', { 'id': usuario.id }) }}" class="btn btn-xs btn-info"><i class="fa fa-eye" ></i></a>
<a href="{{ path('admin_usuarios_edit', { 'id': usuario.id }) }}" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<ul>
<li>
<a href="{{ path('admin_usuarios_new') }}">Create a new entry</a>
</li>
</ul>
</div>
{% endblock %}