1 | {% extends 'explicacion.situacional.html' %} |
---|
2 | {% load staticfiles %} |
---|
3 | {% load i18n %} |
---|
4 | {% block titulo %}_-=SAPIC-Caracterización PolÃtica=-_{% endblock titulo %} |
---|
5 | {% block extracss %} |
---|
6 | <link rel="stylesheet" type="text/css" href="{% static "DataTables/media/css/jquery.dataTables.min.css" %}"> |
---|
7 | <link rel="stylesheet" type="text/css" href="{% static "DataTables/media/css/jquery.dataTables.min.css" %}"> |
---|
8 | <link rel="stylesheet" type="text/css" href="{% static "DataTables/extensions/Buttons/css/buttons.dataTables.min.css" %}"> |
---|
9 | <link rel="stylesheet" type="text/css" href="{% static "DataTables/extensions/Select/css/select.dataTables.min.css" %}"> |
---|
10 | <link rel="stylesheet" type="text/css" href="{% static "DataTables/extensions/Responsive/css/responsive.dataTables.min.css" %}"> |
---|
11 | {% endblock extracss %} |
---|
12 | {% block extrajs %} |
---|
13 | <script type="text/javascript" language="javascript" src="{% static "DataTables/media/js/jquery.dataTables.min.js" %}"></script> |
---|
14 | <script type="text/javascript" language="javascript" src="{% static "DataTables/extensions/Buttons/js/dataTables.buttons.min.js" %}"></script> |
---|
15 | <script type="text/javascript" language="javascript" src="{% static "DataTables/extensions/Buttons/js/buttons.print.min.js" %}"></script> |
---|
16 | <script type="text/javascript" language="javascript" src="{% static "DataTables/extensions/Buttons/js/buttons.jqueryui.js" %}"></script> |
---|
17 | <script type="text/javascript" language="javascript" src="{% static "DataTables/extensions/Buttons/js/buttons.html5.min.js" %}"></script> |
---|
18 | <script src="{% static "js/funciones.js" %}"></script> |
---|
19 | {% endblock extrajs %} |
---|
20 | {% block contenido_principal %} |
---|
21 | <div class="col-xs-12"> |
---|
22 | <div class="panel-sapic"> |
---|
23 | <section class="content-header"> |
---|
24 | <h2> |
---|
25 | Caracterización PolÃtica |
---|
26 | <small>Muestra los sub-módulos de las caracterÃsticas polÃticas y organizacionales de la comunidad</small> |
---|
27 | </h2> |
---|
28 | </section> |
---|
29 | {% if consultas %} |
---|
30 | <select id="select_filter" style="color:#000"><option value="">Consulta</option></select> |
---|
31 | <table id="tabla-participacion" class="display "> |
---|
32 | <thead> |
---|
33 | <tr> |
---|
34 | <th class="politica0">Pregunta</th> |
---|
35 | <th class="politica1">Respuesta</th> |
---|
36 | <th class="politica2">Consulta</th> |
---|
37 | </tr> |
---|
38 | </thead> |
---|
39 | <tbody> |
---|
40 | {% for respuesta in si_no %} |
---|
41 | {% if respuesta.respuesta %} |
---|
42 | <tr> |
---|
43 | <td>{{ respuesta.pregunta }}</td> |
---|
44 | <td onclick="return abrir_modal('{% url 'explicacion:modificar_respuesta_' respuesta.pregunta.tipo_pregunta.pk respuesta.pk %}')">Si</td> |
---|
45 | <td>{{ respuesta.pregunta.consulta.nombre_consulta | cut:"Información sobre la " | cut:"información sobre las " | cut:"Información sobre " | title}}</td> |
---|
46 | </tr> |
---|
47 | {% else %} |
---|
48 | <tr> |
---|
49 | <td> {{respuesta.pregunta}} </td> |
---|
50 | {% for justificacion in abierta %} |
---|
51 | {% if justificacion.es_justificacion and justificacion.pregunta.pk == respuesta.pregunta.pk %} |
---|
52 | <td onclick="return abrir_modal('{% url 'explicacion:modificar_respuesta_' respuesta.pregunta.tipo_pregunta.pk respuesta.pk %}')">No,{{justificacion.texto_respuesta}} </td> |
---|
53 | {% endif %} |
---|
54 | {% endfor %} |
---|
55 | <td>{{ respuesta.pregunta.consulta.nombre_consulta | cut:"Información sobre la " | cut:"información sobre las " | cut:"Información sobre " | title}}</td> |
---|
56 | </tr> |
---|
57 | {% endif %} |
---|
58 | |
---|
59 | {% endfor %} |
---|
60 | |
---|
61 | {% for respuesta in opciones %} |
---|
62 | <tr> |
---|
63 | <td>{{ respuesta.opcion.pregunta }}</td> |
---|
64 | <td onclick="return abrir_modal('{% url 'explicacion:modificar_respuesta_' respuesta.opcion.pregunta.tipo_pregunta.pk respuesta.pk %}')">{{ respuesta.opcion }}</td> |
---|
65 | <td>{{ respuesta.opcion.pregunta.consulta.nombre_consulta | cut:"Información sobre la " | cut:"información sobre las " | cut:"Información sobre " | title}}</td> |
---|
66 | </tr> |
---|
67 | {% endfor %} |
---|
68 | {% for respuesta in abierta %} |
---|
69 | |
---|
70 | {% if not respuesta.es_justificacion %} |
---|
71 | <tr> |
---|
72 | <td>{{ respuesta.pregunta }}</td> |
---|
73 | <td onclick="return abrir_modal('{% url 'explicacion:modificar_respuesta_' respuesta.pregunta.tipo_pregunta.pk respuesta.pk %}')">{{ respuesta.texto_respuesta }}</td> |
---|
74 | <td>{{ respuesta.pregunta.consulta.nombre_consulta | cut:"Información sobre la " | cut:"información sobre las " | cut:"Información sobre " | title}}</td> |
---|
75 | </tr> |
---|
76 | {% endif %} |
---|
77 | |
---|
78 | {% endfor %} |
---|
79 | {% for respuesta in ubicacion %} |
---|
80 | <tr> |
---|
81 | <td>{{ respuesta.pregunta }}</td> |
---|
82 | <td>{{ respuesta.coordenadas }}</td> |
---|
83 | <td>{{ respuesta.pregunta.consulta.nombre_consulta }}</td> |
---|
84 | </tr> |
---|
85 | {% endfor %} |
---|
86 | </tbody> |
---|
87 | |
---|
88 | </table> |
---|
89 | {% endif %} |
---|
90 | <div id="popup" class="modal fade" role="dialog"></div> |
---|
91 | {% if not 19 in consultas %} |
---|
92 | <section class="content"> |
---|
93 | <div class="col-lg-12 col-xs-12"> |
---|
94 | <!-- small box --> |
---|
95 | <div class="small-box bg-red"> |
---|
96 | <div class="inner"> |
---|
97 | <h3 title="produccion cc">Producción PolÃtica del Consejo Comunal</h3> |
---|
98 | |
---|
99 | <p align="justify">En este sub-módulo podrá registrar, consultar y modificar información relacionada al Consejo Comunal.</p> |
---|
100 | </div> |
---|
101 | <div class="icon"> |
---|
102 | <i class="ion ion-cloud"></i> |
---|
103 | </div> |
---|
104 | <a href="{% url 'explicacion:produccion_cc' 19 %}" class="small-box-footer">Ingresar<i class="fa fa-arrow-circle-right"></i></a> |
---|
105 | </div> |
---|
106 | </div> |
---|
107 | </section> |
---|
108 | {% endif %} |
---|
109 | {% if not 20 in consultas %} |
---|
110 | <section class="content"> |
---|
111 | <div class="col-lg-12 col-xs-12"> |
---|
112 | <!-- small box --> |
---|
113 | <div class="small-box bg-red"> |
---|
114 | <div class="inner"> |
---|
115 | <h3 title="organizacion c">Organizaciones que Conforman la Comuna</h3> |
---|
116 | |
---|
117 | <p align="justify">En este sub-módulo podrá registrar, consultar y modificar información sobre las organizaciones de la Comuna.</p> |
---|
118 | </div> |
---|
119 | <div class="icon"> |
---|
120 | <i class="ion ion-cloud"></i> |
---|
121 | </div> |
---|
122 | <a href="{% url 'explicacion:organizacion_c' 20 %}" class="small-box-footer">Ingresar<i class="fa fa-arrow-circle-right"></i></a> |
---|
123 | </div> |
---|
124 | </div> |
---|
125 | </section> |
---|
126 | {% endif %} |
---|
127 | {% if not 21 in consultas %} |
---|
128 | <section class="content"> |
---|
129 | <div class="col-lg-12 col-xs-12"> |
---|
130 | <!-- small box --> |
---|
131 | <div class="small-box bg-red"> |
---|
132 | <div class="inner"> |
---|
133 | <h3 title="produccion c">Producción PolÃtica de la Comuna</h3> |
---|
134 | |
---|
135 | <p align="justify">En este sub-módulo podrá registrar, consultar y modificar información relacionada a la Comuna.</p> |
---|
136 | </div> |
---|
137 | <div class="icon"> |
---|
138 | <i class="ion ion-cloud"></i> |
---|
139 | </div> |
---|
140 | <a href="{% url 'explicacion:produccion_c' 21 %}" class="small-box-footer">Ingresar<i class="fa fa-arrow-circle-right"></i></a> |
---|
141 | </div> |
---|
142 | </div> |
---|
143 | </section> |
---|
144 | {% endif %} |
---|
145 | {% if not 22 in consultas %} |
---|
146 | <section class="content"> |
---|
147 | <div class="col-lg-12 col-xs-12"> |
---|
148 | <!-- small box --> |
---|
149 | <div class="small-box bg-red"> |
---|
150 | <div class="inner"> |
---|
151 | <h3 title="relacion entorno">Relaciones con el Entorno</h3> |
---|
152 | |
---|
153 | <p align="justify">En este sub-módulo podrá registrar, consultar y modificar información sobre relaciones externas.</p> |
---|
154 | </div> |
---|
155 | <div class="icon"> |
---|
156 | <i class="ion ion-cloud"></i> |
---|
157 | </div> |
---|
158 | <a href="{% url 'explicacion:relacion_entorno' 22 %}" class="small-box-footer">Ingresar<i class="fa fa-arrow-circle-right"></i></a> |
---|
159 | </div> |
---|
160 | </div> |
---|
161 | </section> |
---|
162 | {% endif %} |
---|
163 | {% if not 23 in consultas %} |
---|
164 | <section class="content"> |
---|
165 | <div class="col-lg-12 col-xs-12"> |
---|
166 | <!-- small box --> |
---|
167 | <div class="small-box bg-red"> |
---|
168 | <div class="inner"> |
---|
169 | <h3 title="actor relacionado">Actores Relacionados con la Comunidad</h3> |
---|
170 | |
---|
171 | <p align="justify">En este sub-módulo podrá registrar, consultar y modificar información sobre actores involucrados con la comunidad.</p> |
---|
172 | </div> |
---|
173 | <div class="icon"> |
---|
174 | <i class="ion ion-cloud"></i> |
---|
175 | </div> |
---|
176 | <a href="{% url 'explicacion:actor_relacionado' 23 %}" class="small-box-footer">Ingresar<i class="fa fa-arrow-circle-right"></i></a> |
---|
177 | </div> |
---|
178 | </div> |
---|
179 | </section> |
---|
180 | {% endif %} |
---|
181 | {% if not 24 in consultas %} |
---|
182 | <section class="content"> |
---|
183 | <div class="col-lg-12 col-xs-12"> |
---|
184 | <!-- small box --> |
---|
185 | <div class="small-box bg-red"> |
---|
186 | <div class="inner"> |
---|
187 | <h3 title="comunicacion politica">Modo de Comunicación PolÃtica</h3> |
---|
188 | |
---|
189 | <p align="justify">En este sub-módulo podrá registrar, consultar y modificar datos de comunicación polÃtica.</p> |
---|
190 | </div> |
---|
191 | <div class="icon"> |
---|
192 | <i class="ion ion-cloud"></i> |
---|
193 | </div> |
---|
194 | <a href="{% url 'explicacion:comunicacion_politica' 24 %}" class="small-box-footer">Ingresar<i class="fa fa-arrow-circle-right"></i></a> |
---|
195 | </div> |
---|
196 | </div> |
---|
197 | </section> |
---|
198 | {% endif %} |
---|
199 | </div> |
---|
200 | </div> |
---|
201 | |
---|
202 | {% endblock contenido_principal %} |
---|