Browse Source

Retira código desnecessário

pull/1916/head
Marcio Mazza 7 years ago
parent
commit
499877255f
  1. 11
      sapl/static/XSLT/HTML/.objects
  2. 95
      sapl/static/XSLT/HTML/estilo.css
  3. 51
      sapl/static/XSLT/HTML/indicacao.xsl
  4. 41
      sapl/static/XSLT/HTML/mocao.xsl
  5. 45
      sapl/static/XSLT/HTML/mocao2.xsl
  6. 41
      sapl/static/XSLT/HTML/parecer.xsl
  7. 47
      sapl/static/XSLT/HTML/pedido.xsl
  8. 53
      sapl/static/XSLT/HTML/pedido2.xsl
  9. 105
      sapl/static/XSLT/HTML/pl.xsl
  10. 100
      sapl/static/XSLT/HTML/pl2.xsl
  11. 52
      sapl/static/XSLT/HTML/requerimento.xsl
  12. 57
      sapl/static/XSLT/HTML/requerimento2.xsl
  13. 2
      sapl/templates/sessao/blocos_resumo/expedientes.html

11
sapl/static/XSLT/HTML/.objects

@ -1,11 +0,0 @@
estilo.css:DTML Method
indicacao.xsl:File
mocao.xsl:File
mocao2.xsl:File
parecer.xsl:File
pedido.xsl:File
pedido2.xsl:File
pl.xsl:File
pl2.xsl:File
requerimento.xsl:File
requerimento2.xsl:File

95
sapl/static/XSLT/HTML/estilo.css

@ -1,95 +0,0 @@
body {
font-family: Times;
text-align: justify;
font-size: 12 pt;
margin: 5px 1cm 20px 2cm;
}
p,
.p{
font-family: Times;
text-align: justify;
font-size: 12pt;
text-indent: 1.5cm;
margin: 40px 0 20px 0;
}
.pequeno {
font-family: Times;
text-align: left;
font-size: 13pt;
margin: 0px 0 0px 0;
}
.cabecalho {
font-family: Times;
font-weight:bold;
text-align: left;
font-size: 15pt;
margin: 10px 0 0px 0;
}
.texto {
font-family: Times;
text-align: justify;
font-size: 12pt;
margin: 0px 0px 0px 0px;
}
.data {
text-align: right;
}
.autor {
text-align: center;
}
.center {
text-align: center;
}
.semrecuo {
text-indent: 0;
}
.ementa {
text-align: justify;
margin-left: 50%;
text-indent: 0;
}
.titulos1 {
text-align: center;
margin: 10px 0 0px 0;
}
.titulos2 {
text-align: center;
margin: 0px 0 0px 0;
}
p.artigo {
text-align: justify;
text-indent: 1cm;
margin: 10px 0 0px 0;
}
#imagem {
float:left;
}
#autores
{
-moz-column-count:3; /* Firefox */
-webkit-column-count:3; /* Safari and Chrome */
width:50px;
}
#col1 { width: 33%; float: left; center: 10px; }
#col2 { width: 33%; float: left; center: 10px; }
#col3 { width: 33%; float: left; center: 10px; }

51
sapl/static/XSLT/HTML/indicacao.xsl

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ind="/XSD/Indicacao">
<xsl:template match="/">
<html>
<head>
<link href="/XSLT/HTML/estilo.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="ind:ementa_text">
<div>
<div id="imagem">
<img border="0" src="http://sapl.agudo.rs.leg.br/generico/sapl_documentos/props_sapl/logo_casa"/><br></br>
</div><br></br>
<p class ="cabecalho">Câmara Municipal de Agudo</p>
<p class ="pequeno"> Estado do Rio Grande do Sul <br></br><br></br><br></br></p>
</div>
<p class="autor"><strong><xsl:value-of select="text()" /></strong></p>
</xsl:template>
<xsl:template match="ind:autoria_text">
<p class="semrecuo"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:destinatario_text">
<p class="semrecuo"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:indicacao_text">
<p><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:data_text">
<p><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:autor_text">
<p class="autor"><xsl:value-of select="text()" /></p>
</xsl:template>
</xsl:stylesheet>

41
sapl/static/XSLT/HTML/mocao.xsl

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:moc="/XSD/Mocao">
<xsl:template match="/">
<html>
<body>
<table>
<xsl:apply-templates />
</table>
</body>
</html>
</xsl:template>
<xsl:template match="moc:ementa_text">
<tr>
<td width="50%"></td>
<td width="50%" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="moc:mocao_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="moc:data_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="moc:autor_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
</xsl:stylesheet>

45
sapl/static/XSLT/HTML/mocao2.xsl

@ -1,45 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ind="/XSD/Mocao">
<xsl:template match="/">
<html>
<head>
<link href="/sapl/XSLT/HTML/estilo.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div>
<div id="imagem">
<img border="0" src="/sapl/sapl_documentos/props_sapl/logo_casa"/>
</div><br></br>
<p class ="cabecalho">Câmara Municipal de Agudo</p>
<p class ="pequeno">Estado do Rio Grande do Sul<br></br><br></br><br></br> </p>
</div>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="ind:ementa_text">
<p class ="autor"><strong><xsl:value-of select="text()" /></strong></p>
</xsl:template>
<xsl:template match="ind:mocao_text">
<p class ="texto"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:justificativa_text">
<p class ="texto"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:data_text">
<p><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:autor_text">
<p class="autor"><xsl:value-of select="text()" /></p>
</xsl:template>
</xsl:stylesheet>

41
sapl/static/XSLT/HTML/parecer.xsl

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:par="/XSD/Parecer">
<xsl:template match="/">
<html>
<body>
<table>
<xsl:apply-templates />
</table>
</body>
</html>
</xsl:template>
<xsl:template match="par:ementa_text">
<tr>
<td width="50%"></td>
<td width="50%" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="par:parecer_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="par:data_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="par:autor_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
</xsl:stylesheet>

47
sapl/static/XSLT/HTML/pedido.xsl

@ -1,47 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:req="/XSD/Requerimento">
<xsl:template match="/">
<html>
<body>
<table>
<xsl:apply-templates />
</table>
</body>
</html>
</xsl:template>
<xsl:template match="req:ementa_text">
<tr>
<td width="50%"></td>
<td width="50%" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="req:requisicao_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="req:justificativa_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="req:data_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="req:autor_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
</xsl:stylesheet>

53
sapl/static/XSLT/HTML/pedido2.xsl

@ -1,53 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ind="/XSD/Pedido">
<xsl:template match="/">
<html>
<head>
<link href="/sapl/XSLT/HTML/estilo.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div>
<div id="imagem">
<img border="0" src="/sapl/sapl_documentos/props_sapl/logo_casa"/>
</div><br></br>
<p class ="cabecalho">Câmara Municipal de Agudo</p>
<p class ="pequeno">Estado do Rio Grande do Sul<br></br><br></br><br></br> </p>
</div>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="ind:ementa_text">
<p class ="autor"><strong><xsl:value-of select="text()" /></strong></p>
</xsl:template>
<xsl:template match="ind:autoria_text">
<p class="semrecuo"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:destinatario_text">
<p class="semrecuo"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:solicitacao_text">
<p class="texto"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:alinea_text">
<p class="texto"><xsl:value-of select="concat(../@Rotulo,' ',text())"/></p>
</xsl:template>
<xsl:template match="ind:data_text">
<p><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:autor_text">
<p class="autor"><xsl:value-of select="text()" /></p>
</xsl:template>
</xsl:stylesheet>

105
sapl/static/XSLT/HTML/pl.xsl

@ -1,105 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pl="/XSD/ProjLei">
<xsl:output encoding="ISO-8859-1"/>
<xsl:template match="/pl:pl">
<html>
<head>
<title>
<xsl:value-of select="@id"/>
</title>
<style type="text/css">
body {margin-left: 2cm; margin-right: 1cm;}
p {font-family: Times; font-size: 12pt;}
p.epigrafe {text-align: center; text-transform: uppercase;}
p.ementa {text-align: justify; margin-left: 50%;}
p.preambulo {text-transform: uppercase; text-indent: 1cm;}
p.artigo {text-align: justify; text-indent: 1cm;}
p.paragrafo {text-align: justify; text-indent: 1cm;}
p.inciso {text-align: justify; text-indent: 1cm;}
p.alinea {text-align: justify; text-indent: 1cm;}
p.item {text-align: justify; text-indent: 1cm;}
p.justificativa {text-align: justify; text-indent: 1cm;}
p.mensagem {text-align: justify;}
p.data_apresentacao {text-align: justify; text-indent: 1cm;}
p.autor {text-align: center; text-transform: uppercase;}
h3.cab_secao {text-align: center; font-size: 12pt;}
</style>
</head>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="pl:proposicao">
<hr/>
<h3 class="cab_secao">PROPOSIÇÃO</h3>
<hr/>
<xsl:apply-templates select="./*"/>
</xsl:template>
<xsl:template match="pl:epigrafe">
<p class="epigrafe">
<xsl:value-of select="pl:epigrafe_text"/>
</p>
</xsl:template>
<xsl:template match="pl:ementa">
<p class="ementa">
<xsl:value-of select="pl:ementa_text"/>
</p>
</xsl:template>
<xsl:template match="pl:preambulo">
<p class="preambulo">
<xsl:value-of select="pl:preambulo_text"/>
</p>
</xsl:template>
<xsl:template match="pl:artigo_text">
<p class="artigo">
<xsl:value-of select="concat(../@Rotulo,' ',text())"/>
</p>
</xsl:template>
<xsl:template match="pl:paragrafo_text">
<p class="paragrafo">
<xsl:value-of select="concat(../@Rotulo,' ',text())"/>
</p>
</xsl:template>
<xsl:template match="pl:inciso_text">
<p class="inciso">
<xsl:value-of select="concat(../@Rotulo,' - ',text())"/>
</p>
</xsl:template>
<xsl:template match="pl:alinea_text">
<p class="alinea">
<xsl:value-of select="concat(../@Rotulo,' ',text())"/>
</p>
</xsl:template>
<xsl:template match="pl:item_text">
<p class="item">
<xsl:value-of select="concat(../@Rotulo,' ',text())"/>
</p>
</xsl:template>
<xsl:template match="pl:data_apresentacao_text">
<p class="data_apresentacao">
<xsl:value-of select="text()"/>
</p>
</xsl:template>
<xsl:template match="pl:autor_text">
<p class="autor">
<xsl:value-of select="text()"/>
</p>
</xsl:template>
<xsl:template match="pl:justificativa">
<hr/>
<h3 class="cab_secao">JUSTIFICATIVA</h3>
<hr/>
<p class="justificativa">
<xsl:value-of select="pl:justificativa_text"/>
</p>
</xsl:template>
<xsl:template match="pl:mensagem">
<hr/>
<h3 class="cab_secao">MENSAGEM</h3>
<hr/>
<p class="mensagem">
<xsl:value-of select="pl:mensagem_text"/>
</p>
</xsl:template>
</xsl:stylesheet>

100
sapl/static/XSLT/HTML/pl2.xsl

@ -1,100 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ind="/XSD/ProjLei">
<xsl:template match="/">
<html>
<head>
<link href="/sapl/XSLT/HTML/estilo.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div>
<div id="imagem">
<img border="0" src="/sapl/sapl_documentos/props_sapl/logo_casa"/>
</div><br></br>
<p class ="cabecalho">Câmara Municipal de Agudo</p>
<p class ="pequeno">Estado do Rio Grande do Sul<br></br><br></br><br></br> </p>
</div>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="ind:epigrafe_text">
<p class ="autor"><strong><xsl:value-of select="text()" /></strong></p>
</xsl:template>
<xsl:template match="ind:ementa_text">
<p class ="ementa"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:preambulo_text">
<p class ="artigo"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:parte_text">
<p class ="titulos1"><xsl:value-of select="concat(../@Rotulo,' ')"/></p>
<p class ="titulos2"><xsl:value-of select="text()"/></p>
</xsl:template>
<xsl:template match="ind:livro_text">
<p class ="titulos1"><xsl:value-of select="concat(../@Rotulo,' ')"/></p>
<p class ="titulos2"><xsl:value-of select="text()"/></p>
</xsl:template>
<xsl:template match="ind:titulo_text">
<p class ="titulos1"><xsl:value-of select="concat(../@Rotulo,' ')"/></p>
<p class ="titulos2"><xsl:value-of select="text()"/></p>
</xsl:template>
<xsl:template match="ind:capitulo_text">
<p class ="titulos1"><xsl:value-of select="concat(../@Rotulo,' ')"/></p>
<p class ="titulos2"><xsl:value-of select="text()"/></p>
</xsl:template>
<xsl:template match="ind:secao_text">
<p class ="titulos1"><xsl:value-of select="concat(../@Rotulo,' ')"/></p>
<p class ="titulos2"><xsl:value-of select="text()"/></p>
</xsl:template>
<xsl:template match="ind:subsecao_text">
<p class ="titulos1"><xsl:value-of select="concat(../@Rotulo,' ')"/></p>
<p class ="titulos2"><xsl:value-of select="text()"/></p>
</xsl:template>
<xsl:template match="ind:artigo_text">
<p class="artigo"><xsl:value-of select="concat(../@Rotulo,' ',text())"/></p>
</xsl:template>
<xsl:template match="ind:paragrafo_text">
<p class="artigo"><xsl:value-of select="concat(../@Rotulo,' ',text())"/></p>
</xsl:template>
<xsl:template match="ind:inciso_text">
<p class="artigo"><xsl:value-of select="concat(../@Rotulo,' ',text())"/></p>
</xsl:template>
<xsl:template match="ind:alinea_text">
<p class="artigo"><xsl:value-of select="concat(../@Rotulo,' ',text())"/></p>
</xsl:template>
<xsl:template match="ind:item_text">
<p class="artigo"><xsl:value-of select="concat(../@Rotulo,' ',text())"/></p>
</xsl:template>
<xsl:template match="ind:data_apresentacao_text">
<p class="artigo"><xsl:value-of select="concat(../@Rotulo,' ',text())"/></p>
</xsl:template>
<xsl:template match="ind:autor_text">
<p class="artigo"><xsl:value-of select="concat(../@Rotulo,' ',text())"/></p>
</xsl:template>
<xsl:template match="ind:justificativa_text">
<p class="artigo"><xsl:value-of select="text()" /></p>
</xsl:template>
</xsl:stylesheet>

52
sapl/static/XSLT/HTML/requerimento.xsl

@ -1,52 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:req="/XSD/Requerimento">
<xsl:template match="/">
<html>
<body>
<table>
<xsl:apply-templates />
</table>
</body>
</html>
</xsl:template>
<xsl:template match="req:destinatario_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="req:ementa_text">
<tr>
<td width="50%"></td>
<td width="50%" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="req:requisicao_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="req:justificativa_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="req:data_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
<xsl:template match="req:autor_text">
<tr>
<td colspan="2" align="left"><xsl:value-of select="text()" /></td>
</tr>
</xsl:template>
</xsl:stylesheet>

57
sapl/static/XSLT/HTML/requerimento2.xsl

@ -1,57 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ind="/XSD/Requerimento">
<xsl:template match="/">
<html>
<head>
<link href="/sapl/XSLT/HTML/estilo.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div>
<div id="imagem">
<img border="0" src="/sapl/sapl_documentos/props_sapl/logo_casa"/>
</div><br></br>
<p class ="cabecalho">Câmara Municipal de Agudo</p>
<p class ="pequeno">Estado do Rio Grande do Sul<br></br><br></br><br></br> </p>
</div>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="ind:ementa_text">
<p class="autor"><strong><xsl:value-of select="text()" /></strong></p>
</xsl:template>
<xsl:template match="ind:formatratamento_text">
<p class="semrecuo"><xsl:value-of select="text()"/> </p>
</xsl:template>
<xsl:template match="ind:parlamentar_text">
<p class="semrecuo"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:cargofuncao_text">
<p class="semrecuo"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:requisicao_text">
<p class="texto"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:justificativa_text">
<p class="texto"><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:data_text">
<p><xsl:value-of select="text()" /></p>
</xsl:template>
<xsl:template match="ind:autor_text">
<p class="autor"><xsl:value-of select="text()" /></p>
</xsl:template>
</xsl:stylesheet>

2
sapl/templates/sessao/blocos_resumo/expedientes.html

@ -6,7 +6,7 @@
<tr>
<td>
<b>{{e.tipo}}: </b> <br /><br />
<div contenteditable="false" style="border:0.5px solid #BAB4B1; border-radius: 10px; background-color: rgba(225, 225, 225, .8);">
<div style="border:0.5px solid #BAB4B1; border-radius: 10px; background-color: rgba(225, 225, 225, .8);">
<p>{{e.conteudo|safe}}</p>
</div>
</td>

Loading…
Cancel
Save