source: firmaeventos/users/templates/users_list.html @ 2f56f4e

Last change on this file since 2f56f4e was bf47591, checked in by Leonel Hernandez <leonelphm@…>, 7 years ago

Inicializando Proyecto

  • Property mode set to 100644
File size: 3.7 KB
Line 
1{% extends 'utils_start.html' %}
2{% block title %} Users List {% endblock title%}
3{% load staticfiles %}
4{% block extras_css %}
5    <link rel="stylesheet" href="{% static 'DataTables/media/css/jquery.dataTables.min.css' %}">
6    <link rel="stylesheet" href="{% static 'css/checked_img.css' %}">
7{% endblock extras_css %}
8 {% block extras_constantes %}
9    <script type="text/javascript">
10            // Objeto Json lista de usuarios
11            var URL = "{% url 'users:listar_users' %}"
12            var user = "{{ request.user.pk }}"
13            ruta = "{% url 'users:modal_perfil' request.user.pk %}";
14            id_user = {{request.user.pk}};
15        </script>
16{% endblock extras_constantes %}
17{% block extras_js %}
18    <script src="{% static 'DataTables/media/js/jquery.dataTables.min.js' %}"></script>
19    <script src="{% static 'custom_datatable/listDataTable.js' %}" type="text/javascript"></script>
20    <script src="{% static 'start/modals.js' %}"></script>
21    <script type="text/javascript">
22          id_user = {{request.user.pk}};
23    </script>   
24{% endblock extras_js %}
25{% block content_center %}
26<div id="page-content-wrapper">
27            <div class="container-fluid">
28                <div class="row">
29                    <div class="col-lg-12">
30                    <a class="glyphicon glyphicon-list" id="menu-toggle"></a>
31                    <section class="content-header">
32                      <h2>
33                        Lista de Usuarios
34                        <small>Muestra los datos de todos los usuarios Registrados</small>
35                      </h2>
36                    </section>
37                    <section class="content">
38                        <div class="row">
39                            <div class="col-md-12">
40                                <div class="box box-primary">
41                                    <div class="box-header">
42                                    <i class="fa fa-list"></i>
43                                    <h3 class="box-title"> Lista de Usuarios</h3>
44                                    </div>
45                                    <div class="col-lg-3">
46                                        <a href="{% url 'users:registrar'%}" class="glyphicon glyphicon-plus btn btn-block btn-primary"> Agregar Usuario</a>
47                                    </div><br><br>
48                                    <div class="box-body pad table-responsive">
49                                    <form id="forma_activar" method="post">
50                                    {% csrf_token %}
51                                        <table id="datatable" class="diplay">
52                                            <thead>
53                                                <tr>
54                                                    <th>Usuario</th>
55                                                    <th>Nombres y Apellidos</th>
56                                                    <th>Email</th>
57                                                    <th>Fecha de registro</th>
58                                                    <th>Ultima Fecha de Ingreso</th>
59                                                    <th>Activo/Inactivo</th>
60                                                    <th>Grupo</th>
61                                                    <th>Activar/Inactivar Usuarios</th>
62                                                </tr>
63                                            </thead>
64                                        </table>
65                                    </form>
66                                    </div>
67                                </div>
68                            </div>
69                        </div>
70                    </section>
71                    </div>
72                </div>
73            </div>
74</div>
75{% endblock content_center %}
Note: See TracBrowser for help on using the repository browser.