Conjunto b4a8953 en consulta_publica
- Fecha y hora:
- 29/03/2017 15:10:28 (hace 7 años)
- Branches:
- master, base, constituyente, estudiantes, general, plan_patria, sala
- Children:
- 27b3f15
- Parents:
- ae1c9c7
- git-author:
- aosorio <argenisosorio580@…> (29/03/17 15:03:56)
- git-committer:
- aosorio <argenisosorio580@…> (29/03/17 15:10:28)
- Ficheros:
-
- 10 añadidos
- 4 editados
Leyenda
- No modificado
- Añadido
- Eliminado
-
base/templates/base.template.html
r95b08c1 rb4a8953 14 14 <script src="{% static "js/funciones.js" %}"></script> 15 15 <script src="{% static "icheck/icheck.js" %}"></script> 16 <script src="{% static "jtable/js/jquery.dataTables.min.js" %}"></script> 17 <link rel="stylesheet" type="text/css" href="{% static "jtable/css/jquery.dataTables.min.css" %}"/> 16 18 {% block headScript %}{%endblock%} 17 19 </head> -
participacion/templates/participacion.entes.html
rae1c9c7 rb4a8953 4 4 {% block content %} 5 5 <div id="content"> 6 <div id="content_json"> 7 <h1>Entes Adscritos</h1> 8 <!-- 9 {{ data }}--> 6 <!--{% for x in data %} 7 {{ x.titulo }}<br /> 8 {% endfor %}--> 9 <h1>Entes adscritos</h1> 10 <table border="1px" class="tabla_entes_adscritos" class="display" width="100%" cellspacing="0"> 11 <thead> 12 <tr> 13 <th>TÃtulo</th> 14 <th>Ãmbito</th> 15 <th>Sector</th> 16 <th>Estado</th> 17 <th>Municipio</th> 18 <th>Parroquia</th> 19 <th>Acción</th> 20 </tr> 21 </thead> 22 <tbody> 10 23 {% for x in data %} 11 {{ x.titulo }}<br /> 24 <tr> 25 <td>{{ x.titulo }}</td> 26 <td>{{ x.ambito }}</td> 27 <td>{{ x.sector }}</td> 28 <td>{{ x.estado }}</td> 29 <td>{{ x.municipio }}</td> 30 <td>{{ x.parroquia }}</td> 31 <td><a href="{% url 'participacion_entes' x.nid %}"><button class="btn btn-success">Detalle</button></a></td> 32 </tr> 12 33 {% endfor %} 13 </div> 34 </tbody> 35 </table> 14 36 </div> 15 37 {% endblock %} -
participacion/views.py
rae1c9c7 rb4a8953 156 156 #url = 'http://192.168.12.82/proyectos/usuarios.json' 157 157 #url = 'http://192.168.12.152:8080/services_sipes/entes_planificadores/views/servicios_webs?display_id=page_2&parent=1405' 158 #url = "http://192.168.12.152:8080/services_sipes/entes_planificadores/views/servicios_webs?display_id=page_2&parent=1405" 158 159 url = "http://192.168.12.152:8080/services_sipes/entes_planificadores/views/servicios_webs?display_id=page_2&parent=1405" 159 160 -
static/js/funciones.js
r16123b3 rb4a8953 562 562 } 563 563 } 564 565 /** 566 * Función que carga los métodos de jtable en la tabla de entes adscritos 567 **/ 568 $(document).ready(function() { 569 $('.tabla_entes_adscritos').DataTable({ 570 "language": { 571 "lengthMenu": "Mostrar _MENU_ registros por página", 572 "zeroRecords": "No hay datos", 573 "info": "Mostrando página _PAGE_ de _PAGES_", 574 "infoEmpty": "No records available", 575 "infoFiltered": "(filtered from _MAX_ total records)", 576 "search": "Buscar", 577 "paginate": { 578 "first": "Primero", 579 "last": "Ãltimo", 580 "next": "Siguiente", 581 "previous": "Anterior" 582 }, 583 } 584 }); 585 });
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.