mirror of https://github.com/interlegis/sigi.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
4.2 KiB
132 lines
4.2 KiB
{% load charts %}
|
|
|
|
{% chart as convenios_assinados %}
|
|
{% chart-size 440 160 %}
|
|
{% chart-type "pie-3d" %}
|
|
{% chart-labels g_convassinado_proj.convenios %}
|
|
{% chart-data g_convassinado_proj.convenios %}
|
|
{% chart-legend g_convassinado_proj.projetos %}
|
|
{% chart-colors "A2CD5A,FFB90F,6CA6CD" %}
|
|
{% chart-title g_convassinado_proj.total_convenios %}
|
|
{% endchart %}
|
|
|
|
{% chart as processos %}
|
|
{% chart-size 440 160 %}
|
|
{% chart-type "pie-3d" %}
|
|
{% chart-labels g_conv_proj.convenios %}
|
|
{% chart-data g_conv_proj.convenios %}
|
|
{% chart-legend g_conv_proj.projetos %}
|
|
{% chart-colors "A2CD5A,FFB90F,6CA6CD" %}
|
|
{% chart-title g_conv_proj.total_convenios %}
|
|
{% endchart %}
|
|
|
|
<div class="module" style="height: 300px;">
|
|
<h2>Resumo de informações</h2>
|
|
<h3>Câmaras municipais por projeto</h3>
|
|
<div class="align-center">
|
|
<table>
|
|
<tr>
|
|
{% for item in tabela_resumo_camara.cabecalho_topo %}
|
|
<th>{{item}}</th>
|
|
{% endfor %}
|
|
</tr>
|
|
|
|
{% for cabecalho,lista in tabela_resumo_camara.lista_zip %}
|
|
<tr>
|
|
<th>{{cabecalho}}</th>
|
|
{% for item in lista %}
|
|
<td>{{item}}</td>
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
|
|
</table>
|
|
<div style="font-weight: bold;"><p>
|
|
<br />Câmaras sem processo: {{tabela_resumo_camara.camaras_sem_processo}}<br /><br />
|
|
Total de câmaras: {{tabela_resumo_camara.total_camaras}} <br />
|
|
</p>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="module" style="height: 300px;">
|
|
<h2>Convênios</h2>
|
|
<h3>Convênios assinados por projeto</h3>
|
|
<div class="align-center">
|
|
<img src="{{ convenios_assinados.url }}" class="chart" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="module" style="height: 300px;">
|
|
<h2>Serviços</h2>
|
|
<h3>Serviços hospedados no Interlegis (SEIT)</h3>
|
|
|
|
<table>
|
|
<tr>
|
|
</tr>
|
|
|
|
{% for servico in tabela_resumo_seit %}
|
|
<tr>
|
|
{% if forloop.first %}
|
|
<th style="width: 40%; vertical-align:bottom;">{{ servico.nome }}</th>
|
|
<th style="width: 20%; vertical-align:bottom; text-align: right;">{{ servico.total }}</th>
|
|
<th style="width: 20%; vertical-align:bottom; text-align: right;">{{ servico.novos_mes_anterior }}</th>
|
|
<th style="width: 20%; vertical-align:bottom; text-align: right;">{{ servico.novos_mes_atual }}</th>
|
|
{% else %}
|
|
<th style="width: 40%;">{{ servico.nome }}</th>
|
|
<td style="text-align: right;">{{ servico.total }}</td>
|
|
<td style="text-align: right;">{{ servico.novos_mes_anterior }}</td>
|
|
<td style="text-align: right;">{{ servico.novos_mes_atual }}</td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
|
|
<div class="module" style="height: 300px;">
|
|
<h2>Resumo de informações</h2>
|
|
<h3>Resumo de informações por região</h3>
|
|
<div >
|
|
<p style="text-align: justify">
|
|
Resumo de informações de Câmaras Municipais por região levando em conta
|
|
apenas o Projeto Interlegis. Demais projetos como PPM e PML não estão inclusos.
|
|
</p>
|
|
|
|
<ul class="conteudo_regiao">
|
|
<li><a href="reportsRegiao/CO">Centro Oeste</a></li>
|
|
<li><a href="reportsRegiao/NE">Nordeste</a></li>
|
|
<li><a href="reportsRegiao/NO">Norte</a></li>
|
|
<li><a href="reportsRegiao/SD">Sudeste</a></li>
|
|
<li><a href="reportsRegiao/SL">Sul</a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="module" style="height: 300px;">
|
|
<h2>Convênios</h2>
|
|
<h3>Processos de convênios por projeto</h3>
|
|
<div class="align-center">
|
|
<img src="{{ processos.url }}" class="chart" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="module" style="height: 300px;">
|
|
<h2>Diagnósticos</h2>
|
|
<h3>Resumo dos diagnósticos</h3>
|
|
|
|
<table style="display: block; float: left;">
|
|
{% for data in tabela_resumo_diagnostico %}
|
|
<tr>
|
|
<th>{{ data.title }}</th>
|
|
<td style="text-align: right;">{{ data.count }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
<tr><td colspan="2"><a href="/sigi/diagnosticos/mapa/">Ver mapa ampliado</a></td></tr>
|
|
</table>
|
|
|
|
<div id="map_canvas" style="float: left; height: 80%; width: 300px;">
|
|
</div>
|
|
|
|
</div>
|