source: consulta_publica/consulta/templates/consulta.pdf.template.html @ bcf369a

constituyenteestudiantesgeneralplan_patriasala
Last change on this file since bcf369a was be17cf0, checked in by rudmanmrrod <rudman22@…>, 7 años ago

Agregado el reporte por sector

  • Propiedad mode establecida a 100644
File size: 2.6 KB
Línea 
1{% load staticfiles %}
2<!DOCTYPE html>
3<html>
4    <head>
5        <meta charset='UTF-8'>
6          <style type="text/css">
7              #content{
8                  padding: 15px 15px 15px 15px;
9              }
10              .text-center {
11                  text-align: center;
12              }
13              .table {
14                    width: 100%;
15                    max-width: 100%;
16                    margin-bottom: 20px;
17              }
18              .table td, .table th {
19                    padding: 8px;
20                    line-height: 1.42857143;
21                    vertical-align: top;
22                    border:  1px solid #ddd;
23              }
24          </style>
25    </head>
26    <body>
27        <div id="content">
28            <img src="NAVBAR_LOGO.png" />
29            <h1 class="text-center">Reporte Cuantitativo</h1>
30            <img src="CINTILLO_1.png" />
31            <div>
32                <p><b>Pregunta: </b>{{pregunta_texto}}<p>
33                <p><b>Objetivo: </b>{{objetivo_texto}}<p>
34            </div>
35            {% if lugar > 0 %}
36                {% include 'consulta.base.table.pdf.html' with title_1='Ubicación' title_2='Participantes' texto=ubicacion valor=lugar %}
37            {% endif %}
38            {% if estados %}
39                {% include 'consulta.base.multi.table.pdf.html' with title_1='Ubicación' title_2='Participantes' texto=sector_trabajador_texto valor=sector_trabajador data=estados caption='Participación por todos los estados' %}
40            {% endif %}
41            {% if sector >= 0 %}
42                {% include 'consulta.base.table.pdf.html' with title_1='Sector' title_2='Participantes' texto=sector_texto valor=sector caption='Participación por sector' %}
43            {% endif %}
44            {% if sector_trabajador >= 0 %}
45                {% include 'consulta.base.table.pdf.html' with title_1='Sector' title_2='Participantes' texto=sector_trabajador_texto valor=sector_trabajador caption='Participación por sector trabajador' %}
46            {% endif %}
47            {% if sector_estudiante >= 0 %}
48                {% include 'consulta.base.table.pdf.html' with title_1='Sector' title_2='Participantes' texto=sector_trabajador_texto valor=sector_trabajador caption='Participación por sector trabajador' %}
49            {% endif %}
50            {% if sectores %}
51                {% include 'consulta.base.multi.table.pdf.html' with title_1='Ubicación' title_2='Participantes' texto=sector_trabajador_texto valor=sector_trabajador data=sectores caption='Participación por todos los sectores' %}
52            {% endif %}
53            <p class="text-center"><b>Respuestas totales emitidas por Usuario: </b>{{respuestas}}</p>
54        </div>
55    </body>
56</html>
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.