Browse Source

Ajusta impresso ficha_pdf

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

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

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

Loading…
Cancel
Save