[57f6191] | 1 | {% extends 'base.inicio.html' %} |
---|
| 2 | {% load staticfiles %} |
---|
| 3 | {% block titulo %}_-=SAPIC-Consultar Usuarios=-_{% endblock titulo %} |
---|
| 4 | {% block extra_constantes %} |
---|
| 5 | <script type="text/javascript"> |
---|
| 6 | // Objeto Json lista de usuarios |
---|
| 7 | var LISTAR_USER = "{% url 'users:listar_users' %}" |
---|
| 8 | ruta = '{% url 'users:modal_perfil' request.user.pk %}'; |
---|
[8601467] | 9 | var user = "{{ request.user.pk }}" |
---|
[57f6191] | 10 | id_user = {{request.user.pk}}; |
---|
| 11 | </script> |
---|
| 12 | {% endblock extra_constantes %} |
---|
| 13 | {% block extracss %} |
---|
| 14 | <link rel="stylesheet" href="{% static 'DataTables/media/css/jquery.dataTables.min.css' %}"> |
---|
| 15 | <link rel="stylesheet" href="{% static 'css/checked_img.css' %}"> |
---|
| 16 | {% endblock extracss %} |
---|
| 17 | {% block extrajs %} |
---|
| 18 | <script src="{% static 'DataTables/media/js/jquery.dataTables.min.js' %}"></script> |
---|
| 19 | <script src="{% static 'users/user_listDataTable.js' %}" type="text/javascript"></script> |
---|
| 20 | <script src="{% static 'start/modals.js' %}"></script> |
---|
| 21 | {% endblock extrajs %} |
---|
| 22 | {% block contenido %} |
---|
| 23 | <div class="contenido-sapic"> |
---|
| 24 | <div class="row"> |
---|
| 25 | <div class="col-xs-12"> |
---|
| 26 | <div class="panel-sapic"> |
---|
| 27 | <section class="content-header"> |
---|
| 28 | <h2> |
---|
| 29 | Lista de Usuarios |
---|
| 30 | <small>Muestra los datos de todos los usuarios Registrados</small> |
---|
| 31 | </h2> |
---|
| 32 | </section> |
---|
| 33 | <section class="content"> |
---|
| 34 | <div class="row"> |
---|
| 35 | <div class="col-md-12"> |
---|
| 36 | <div class="box box-primary"> |
---|
| 37 | <div class="box-header"> |
---|
| 38 | <i class="fa fa-list"></i> |
---|
| 39 | <h3 class="box-title"> Lista de Usuarios</h3> |
---|
| 40 | </div> |
---|
| 41 | <div class="col-lg-3"> |
---|
| 42 | <a href="{% url 'users:registrar'%}" class="glyphicon glyphicon-plus btn btn-block btn-primary"> Agregar Usuario</a> |
---|
| 43 | </div><br><br> |
---|
| 44 | <div class="box-body pad table-responsive"> |
---|
| 45 | <form id="forma_activar" method="post"> |
---|
| 46 | {% csrf_token %} |
---|
| 47 | <table id="datatable" class="diplay"> |
---|
| 48 | <thead> |
---|
| 49 | <tr> |
---|
| 50 | <th>Usuario</th> |
---|
| 51 | <th>Nombres y Apellidos</th> |
---|
| 52 | <th>Email</th> |
---|
| 53 | <th>Fecha de registro</th> |
---|
| 54 | <th>Ultima Fecha de Ingreso</th> |
---|
| 55 | <th>Activo/Inactivo</th> |
---|
| 56 | <th>Grupo</th> |
---|
| 57 | <th>Activar/Inactivar Usuarios</th> |
---|
| 58 | </tr> |
---|
| 59 | </thead> |
---|
| 60 | </table> |
---|
| 61 | </form> |
---|
| 62 | </div> |
---|
| 63 | </div> |
---|
| 64 | </div> |
---|
| 65 | </div> |
---|
| 66 | </section> |
---|
| 67 | </div> |
---|
| 68 | </div> |
---|
| 69 | </div> |
---|
| 70 | </div> |
---|
| 71 | {% endblock contenido %} |
---|