mirror of https://github.com/interlegis/sapl.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.
89 lines
2.4 KiB
89 lines
2.4 KiB
{% load i18n %}
|
|
{% load common_tags %}
|
|
{% load static %}
|
|
|
|
|
|
<head>
|
|
<style>
|
|
@page{
|
|
margin-top: 4.5cm;
|
|
size: A4 portrait;
|
|
|
|
@bottom-right {
|
|
content: "Página" counter(page);
|
|
height: 3cm;
|
|
font-size: 8pt;
|
|
}
|
|
|
|
@bottom-center {
|
|
border-top: 1px solid black;
|
|
font-size: 8pt;
|
|
height: 1cm;
|
|
content: "{{rodape|safe}}";
|
|
font-style:italic;
|
|
}
|
|
@bottom-left {
|
|
content: "{{data}}";
|
|
height: 3cm;
|
|
font-size: 8pt;
|
|
}
|
|
|
|
@top-center {
|
|
content: string(title);
|
|
}
|
|
header {
|
|
width: 0;
|
|
height: 0;
|
|
visibility: hidden;
|
|
string-set: title content();
|
|
}
|
|
}
|
|
</style>
|
|
<link rel="stylesheet" href="{% static '/sapl/css/relatorio.css'%}">
|
|
</head>
|
|
|
|
<body>
|
|
<h2>Fim de Prazo de Tramitações</h2>
|
|
|
|
<b>PARÂMETROS DE PESQUISA:<br /></b>
|
|
 Ano: {{ ano }} <br />
|
|
 Vigência: {{ vigencia }} <br />
|
|
{% if object_list %}
|
|
<br/>
|
|
{% if object_list|length > 1 %}
|
|
<h3>Foram encontradas {{object_list|length}} normas.</h3>
|
|
{% else %}
|
|
<h3>Foi encontrada 1 norma.</h3>
|
|
{% endif %}
|
|
<br/>
|
|
<table class="table table-bordered table-hover" style="width:100%">
|
|
<thead class="thead-default" >
|
|
<tr class="active">
|
|
<th>Norma</th>
|
|
<th>Ementa</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for norma in object_list %}
|
|
<tr>
|
|
<td>
|
|
{{norma.tipo.descricao}} - {{norma.tipo.sigla}} {{norma.numero}}/{{norma.ano}}
|
|
</td>
|
|
<td>{{norma.ementa}}<br>{{norma.observacao}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<table class="table table-bordered table-hover" style="margin-top:30px;">
|
|
<thead class="thead-default" >
|
|
<tr class="active">
|
|
<th> Não foi encontrada nenhuma norma com os parâmetros buscados.</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
{% endif %}
|
|
<br>
|
|
<h3>Estatísticas das normas do ano:</h3><br>
|
|
<h3>{{quant_vigente}} vigente(s) / {{quant_nao_vigente}} não vigente(s)</h3>
|
|
</body>
|