Browse Source

Ajusta impresso ficha_pdf

pull/1517/head
Rogério Frá 7 years ago
committed by GitHub
parent
commit
e6f74acd22
  1. 61
      sapl/templates/materia/impressos/ficha_pdf.html

61
sapl/templates/materia/impressos/ficha_pdf.html

@ -25,38 +25,23 @@ body
#ementa_texto
{
font-family: Arial;
line-height: 175%;
line-height: 150%;
border-style: none;
text-align: justify;
padding: 0pt 5pt 0pt 0pt;
line-height: 140%;
margin-right:100px;
font-size: small;
height:130px;
}
#ficha_menor
{
background-color: transparent;
margin: -2pt 20pt 0pt 0pt;
position: relative;
width: 285pt;
height: 370pt;
}
#titulo
{
font-size: medium;
margin-right:100px;
text-align: center;
}
#ficha_maior
{
background-color: #9eddee;
margin:0pt;
position: relative;
width: 285pt;
height: 370pt;
}
#despacho_inicial
{
font-family: Arial;
@ -71,30 +56,38 @@ body
</style>
<body style="margin-left:80px;margin-right:80px; margin-top: -50px">
<body style="margin-left:-50px;margin-right:180px; margin-top: -50px">
<div style="page-break-inside: avoid;">
<justify>
<div id="titulo">
<!-- Informa o processo -->
{% if materia.numeracao_set.first %}
<strong class="text_pdf">PROCESSO Nº: {{ materia.numeracao_set.first.numero_materia }}</strong><br><br>
<strong class="text_pdf">PROCESSO Nº {{ materia.numeracao_set.first.numero_materia }} / {{ materia.numeracao_set.first.ano_materia }}</strong><br>
&nbsp;
{% else %}
<strong class="text_pdf">PROCESSO Nº: {{ materia.numero }}</strong><br><br>
<strong class="text_pdf">PROCESSO Nº: {{ materia.numero }}</strong><br>
&nbsp;
{% endif %}
</div>
<!-- Informa o tipo da matéria -->
<strong class="text_pdf">{{materia.tipo}}:</strong> <span class="text_pdf"> {{materia.numero}}/{{materia.ano}} </span><br>
<!-- Informa a Data de Entrada -->
<strong class="text_pdf">Data de entrada:</strong> <span class="text_pdf"> {{materia.data_apresentacao}}</span></br>
<table border=0>
<td height="60pt" valign=top>
<!-- Informa o tipo da matéria -->
<strong class="text_pdf">{{materia.tipo}}:</strong> <span class="text_pdf"> {{materia.numero}} / {{materia.ano}} </span><br>
</td>
</table>
<table border=0>
<td height="60pt" valign=top>
<!-- Informa a Data de Entrada -->
<strong class="text_pdf">Data de entrada:</strong> <span class="text_pdf"> {{materia.data_apresentacao}}</span></br>
</td>
</table>
<table border=0>
<td height="60pt" valign=top>
<div id="ementa_texto">
<div>
<!-- Lista os autores -->
{% if materia.autoria_set.all %}
<strong class="text_pdf">Autor:</strong>
@ -111,18 +104,16 @@ body
</td>
</table>
<br><br><br>
<!-- Ementa -->
<table border=0>
<td height="160pt">
<td>
<div id="ementa_texto">
<strong class="text_pdf">Ementa:</strong> <span class="text_pdf">{{materia.ementa}}</span>
</div>
</td>
</table>
<br><br><br>
<br>
<table border=0>
<td height="100pt">
<div id="despacho_inicial">
@ -134,8 +125,8 @@ body
</td>
</table>
<br>
<strong></strong><br>
<strong>________________NORMA JURIDICA_________________</strong><br><br>
<strong>________________NORMA JURIDICA_________________</strong><br><br><br>
<strong>_________________________________________________</strong>
</div>

Loading…
Cancel
Save