1 | {% extends 'starter.html' %} |
---|
2 | {% block titulo %}_-=SEPAI-Consultar Usuarios=-_{% endblock titulo %} |
---|
3 | {% block extras_css %} |
---|
4 | {% load staticfiles %} |
---|
5 | <link rel="stylesheet" href="{% static 'DataTables/media/css/jquery.dataTables.min.css' %}"> |
---|
6 | {% endblock extras_css %} |
---|
7 | {% block extras_js %} |
---|
8 | <link rel="stylesheet" href="{% static 'css/checked_img.css' %}"> |
---|
9 | <script src="{% static 'DataTables/media/js/jquery.dataTables.min.js' %}"></script> |
---|
10 | <script type="text/javascript"> |
---|
11 | // Objeto Json lista de usuarios |
---|
12 | var LISTAR_USER = "{% url 'users:listar_users' %}" |
---|
13 | </script> |
---|
14 | <script src="{% static 'users/user_listDataTable.js' %}" type="text/javascript"></script> |
---|
15 | {% endblock extras_js %} |
---|
16 | {% block content_header %} |
---|
17 | <section class="content-header"> |
---|
18 | <h1> |
---|
19 | Lista de Usuarios |
---|
20 | <small>Mustra los datos de todos los usuarios Registrados</small> |
---|
21 | </h1> |
---|
22 | <ol class="breadcrumb"> |
---|
23 | <li><a href="#"><i class="fa fa-dashboard"></i> {% block breadcrumbs %} Level {% endblock breadcrumbs %}</a></li> |
---|
24 | <li class="active">Here</li> |
---|
25 | </ol> |
---|
26 | </section> |
---|
27 | {% endblock content_header %} |
---|
28 | {% block content_main %} |
---|
29 | <section class="content"> |
---|
30 | <div class="row"> |
---|
31 | <div class="col-md-12"> |
---|
32 | <div class="box box-primary"> |
---|
33 | <div class="box-header"> |
---|
34 | <i class="fa fa-list"></i> |
---|
35 | <h3 class="box-title"> Lista de Usuarios</h3> |
---|
36 | </div> |
---|
37 | <div class="col-lg-3"> |
---|
38 | <a href="{%url 'users:registrar' %}" class="glyphicon glyphicon-plus btn btn-block btn-primary"> Agregar Usuario</a> |
---|
39 | </div><br><br> |
---|
40 | <div class="box-body pad table-responsive"> |
---|
41 | <form id="forma_activar" method="post"> |
---|
42 | {% csrf_token %} |
---|
43 | <table id="datatable" class="diplay"> |
---|
44 | <thead> |
---|
45 | <tr> |
---|
46 | <th>Usuario</th> |
---|
47 | <th>Nombres y Apellidos</th> |
---|
48 | <th>Email</th> |
---|
49 | <th>Fecha de registro</th> |
---|
50 | <th>Ultima Fecha de Ingreso</th> |
---|
51 | <th>Activo/Inactivo</th> |
---|
52 | <th>Grupo</th> |
---|
53 | <th>Activar/Inactivar Usuarios</th> |
---|
54 | </tr> |
---|
55 | </thead> |
---|
56 | </table> |
---|
57 | </form> |
---|
58 | </div> |
---|
59 | </div> |
---|
60 | </div> |
---|
61 | </div> |
---|
62 | </section> |
---|
63 | {% endblock content_main %} |
---|