632
| <![CDATA[<button class="btn btn-padrao btn-exportar" id="btn-exporting-print" onclick="printContent('imprimirDownload');" >
<i class="fas fa-print"></i> Imprimir
</button>]]>
|
475
| <![CDATA[<script>
function printContent(id){
w = screen.width;
h = screen.height;
meio_w = w/2;
meio_h = h/2;
altura = '768';
largura = '1024';
altura2 = altura/2;
largura2 = largura/2;
meio1 = meio_h-altura2;
meio2 = meio_w-largura2;
str=document.getElementById(id).innerHTML
newwin=window.open('','printwin','left='+meio2+',top='+meio1+',width='+largura+',height='+altura+'')
newwin.document.write('<html>\n')
newwin.document.write('<head>\n')
newwin.document.write('<base href="https://www.ipirangadonorte.mt.gov.br/" />')
newwin.document.write('<style>')
newwin.document.write('.content-header-print{margin-bottom: 20px; }')
newwin.document.write('table{ font-family: arial, sans-serif; border-collapse: collapse; width: 100%; color: black; }')
newwin.document.write('thead{ background-color: black !important; }')
newwin.document.write('th{color: #FFF;}')
newwin.document.write('th{text-align: center; }')
newwin.document.write('td:nth-child(1), th:nth-child(1) {width: 30%;}')
newwin.document.write('td:nth-child(2), th:nth-child(1) {width: 40%;}')
newwin.document.write('td:nth-child(3), th:nth-child(1) {width: 30%;}')
newwin.document.write('td, th {border: 1px solid #DDDDDD; padding: 8px; }')
newwin.document.write('tr:nth-child(even) { background-color: #dddddd; }')
newwin.document.write('a{ color: #000000; text-decoration: none; }')
newwin.document.write('</style>')
newwin.document.write('<script>\n')
newwin.document.write('function chkstate(){\n')
newwin.document.write('if(document.readyState=="complete"){\n')
newwin.document.write('window.close()\n')
newwin.document.write('}\n')
newwin.document.write('else{\n')
newwin.document.write('setTimeout("chkstate()",2000)\n')
newwin.document.write('}\n')
newwin.document.write('}\n')
newwin.document.write('function print_win(){\n')
newwin.document.write('window.print();\n')
newwin.document.write('chkstate();\n')
newwin.document.write('}\n')
newwin.document.write('<\/script>\n')
newwin.document.write('<title> > Decretos </title> ')
newwin.document.write('</head>\n')
newwin.document.write('<body style="background:none;" onload="print_win()">\n');
newwin.document.write('<div class="content-header-print"> - Decretos 20/04/2022 ás 07:40:53</div>')
newwin.document.write(str)
newwin.document.write('</body>\n')
newwin.document.write('</html>\n')
newwin.document.close();
}
</script>]]>
|
999
| <![CDATA[<script type="text/javascript">
// /* Contador Documento */
// $('.item-download').on('click', function(){
// codDoc = $(this).data('codigo');
// $.ajax({
// url: "downloads_interna_hit.php?documento="+codDoc
// });
// });
/* Submit form */
$('#btn-pesquisar').on('click', function (e) {
$('#form-pesquisa').submit();
});
</script>]]>
|
1632
| <![CDATA[<script type='text/javascript'>//<![CDATA[
$(document).ready(function(){
// if no cookie
if ($.cookie('cookie-lgpd')!="true") {
$("#barra-cookies-lgpd").show();
$("#aceitar-cookies-lgpd").click(function() {
$("#barra-cookies-lgpd").hide();
// set the cookie for 24 hours
var date = new Date();
date.setDate(date.getDate() + 30);
$.cookie('cookie-lgpd', "true", { expires: date });
});
}
});//]]>
</script>]]>
|