32
| <![CDATA[<div class='section' style="padding-bottom:0px;">
<div id="menuRelatorio">
<div class="container" style="width: 100%; ">
<h2 style="text-transform:uppercase; text-align: center;"> Prefeitura Municipal de Tabuleiro do Norte </h2>
<h3 style="text-transform:uppercase; text-align: center;">Olá bem-vindo ao nosso ambiente exportação de dados - Listagem de veículos </h3>
<div class="row group-btn-export" style="margin-top: 15px; margin-bottom: 15px;">
<div class="col-md-12 group-btn-export-item" style="text-align: center;">
<p style="margin: 0px;">Opções para exportação</p>
<span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='JSON' onclick="$('#veiculos').tableExport({type:'json',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> JSON</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='CSV' onclick="$('#veiculos').tableExport({type:'csv',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> CSV</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='TXT' onclick="$('#veiculos').tableExport({type:'txt',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-text-o'></i> TXT</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='XLS' onclick="$('#veiculos').tableExport({type:'excel',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a></span><a class='btn btn-primary' href='#' title='PDF' onclick="datatable('veiculos', 'PREFEITURA MUNICIPAL DE TABULEIRO DO NORTE','Listagem de veículos', [15,110,163]);"><i class='fa fa-file-pdf-o'></i> PDF</a> </div>
</div>
</div>
</div>
<div class="container" style="width: 100%; ">
<table class='table table-responsive table-condensed table-bordered table-striped' id='veiculos' title='veiculos' style='width: 100%; font-size: 11px; padding: 2px;'> <thead> <tr><td style='line-height: 1.500;'><strong>Marca</strong></td><td style='line-height: 1.500;'><strong>Data</strong></td><td style='line-height: 1.500;'><strong>Descricao</strong></td><td style='line-height: 1.500;'><strong>Placa</strong></td><td style='line-height: 1.500;'><strong>Categoria</strong></td><td style='line-height: 1.500;'><strong>Situação</strong></td><td style='line-height: 1.500;'><strong>Secretaria</strong></td><td style='line-height: 1.500;'><strong>Finalidade</strong></td><td style='line-height: 1.500;'><strong>Tipo</strong></td> </tr> </thead> <tbody> </tbody> <tr> <td colspan='9' >www.tabuleirodonorte.ce.gov.br</br>Emitido dia 02/10/2023 às 13:41:25</td> </tr></table>
</div>
</div>]]>
|
34
| <![CDATA[<div class="container" style="width: 100%; ">
<h2 style="text-transform:uppercase; text-align: center;"> Prefeitura Municipal de Tabuleiro do Norte </h2>
<h3 style="text-transform:uppercase; text-align: center;">Olá bem-vindo ao nosso ambiente exportação de dados - Listagem de veículos </h3>
<div class="row group-btn-export" style="margin-top: 15px; margin-bottom: 15px;">
<div class="col-md-12 group-btn-export-item" style="text-align: center;">
<p style="margin: 0px;">Opções para exportação</p>
<span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='JSON' onclick="$('#veiculos').tableExport({type:'json',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> JSON</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='CSV' onclick="$('#veiculos').tableExport({type:'csv',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> CSV</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='TXT' onclick="$('#veiculos').tableExport({type:'txt',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-text-o'></i> TXT</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='XLS' onclick="$('#veiculos').tableExport({type:'excel',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a></span><a class='btn btn-primary' href='#' title='PDF' onclick="datatable('veiculos', 'PREFEITURA MUNICIPAL DE TABULEIRO DO NORTE','Listagem de veículos', [15,110,163]);"><i class='fa fa-file-pdf-o'></i> PDF</a> </div>
</div>
</div>]]>
|
36
| <![CDATA[<h2 style="text-transform:uppercase; text-align: center;"> Prefeitura Municipal de Tabuleiro do Norte </h2>]]>
|
39
| <![CDATA[<h3 style="text-transform:uppercase; text-align: center;">Olá bem-vindo ao nosso ambiente exportação de dados - Listagem de veículos </h3>]]>
|
44
| <![CDATA[<div class="row group-btn-export" style="margin-top: 15px; margin-bottom: 15px;">
<div class="col-md-12 group-btn-export-item" style="text-align: center;">
<p style="margin: 0px;">Opções para exportação</p>
<span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='JSON' onclick="$('#veiculos').tableExport({type:'json',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> JSON</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='CSV' onclick="$('#veiculos').tableExport({type:'csv',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> CSV</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='TXT' onclick="$('#veiculos').tableExport({type:'txt',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-text-o'></i> TXT</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='XLS' onclick="$('#veiculos').tableExport({type:'excel',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a></span><a class='btn btn-primary' href='#' title='PDF' onclick="datatable('veiculos', 'PREFEITURA MUNICIPAL DE TABULEIRO DO NORTE','Listagem de veículos', [15,110,163]);"><i class='fa fa-file-pdf-o'></i> PDF</a> </div>
</div>]]>
|
46
| <![CDATA[<div class="col-md-12 group-btn-export-item" style="text-align: center;">
<p style="margin: 0px;">Opções para exportação</p>
<span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='JSON' onclick="$('#veiculos').tableExport({type:'json',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> JSON</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='CSV' onclick="$('#veiculos').tableExport({type:'csv',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> CSV</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='TXT' onclick="$('#veiculos').tableExport({type:'txt',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-text-o'></i> TXT</a></span><span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='XLS' onclick="$('#veiculos').tableExport({type:'excel',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a></span><a class='btn btn-primary' href='#' title='PDF' onclick="datatable('veiculos', 'PREFEITURA MUNICIPAL DE TABULEIRO DO NORTE','Listagem de veículos', [15,110,163]);"><i class='fa fa-file-pdf-o'></i> PDF</a> </div>]]>
|
47
| <![CDATA[<p style="margin: 0px;">Opções para exportação</p>]]>
|
48
| <![CDATA[<span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='JSON' onclick="$('#veiculos').tableExport({type:'json',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> JSON</a></span>]]>
|
48
| <![CDATA[<span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='CSV' onclick="$('#veiculos').tableExport({type:'csv',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> CSV</a></span>]]>
|
48
| <![CDATA[<span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='TXT' onclick="$('#veiculos').tableExport({type:'txt',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-text-o'></i> TXT</a></span>]]>
|
48
| <![CDATA[<span style='padding-right: 15px;'><a class='btn btn-primary' href='#' title='XLS' onclick="$('#veiculos').tableExport({type:'excel',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a></span>]]>
|
56
| <![CDATA[<div class="container" style="width: 100%; ">
<table class='table table-responsive table-condensed table-bordered table-striped' id='veiculos' title='veiculos' style='width: 100%; font-size: 11px; padding: 2px;'> <thead> <tr><td style='line-height: 1.500;'><strong>Marca</strong></td><td style='line-height: 1.500;'><strong>Data</strong></td><td style='line-height: 1.500;'><strong>Descricao</strong></td><td style='line-height: 1.500;'><strong>Placa</strong></td><td style='line-height: 1.500;'><strong>Categoria</strong></td><td style='line-height: 1.500;'><strong>Situação</strong></td><td style='line-height: 1.500;'><strong>Secretaria</strong></td><td style='line-height: 1.500;'><strong>Finalidade</strong></td><td style='line-height: 1.500;'><strong>Tipo</strong></td> </tr> </thead> <tbody> </tbody> <tr> <td colspan='9' >www.tabuleirodonorte.ce.gov.br</br>Emitido dia 02/10/2023 às 13:41:25</td> </tr></table>
</div>]]>
|
57
| <![CDATA[<table class='table table-responsive table-condensed table-bordered table-striped' id='veiculos' title='veiculos' style='width: 100%; font-size: 11px; padding: 2px;'> <thead> <tr><td style='line-height: 1.500;'><strong>Marca</strong></td><td style='line-height: 1.500;'><strong>Data</strong></td><td style='line-height: 1.500;'><strong>Descricao</strong></td><td style='line-height: 1.500;'><strong>Placa</strong></td><td style='line-height: 1.500;'><strong>Categoria</strong></td><td style='line-height: 1.500;'><strong>Situação</strong></td><td style='line-height: 1.500;'><strong>Secretaria</strong></td><td style='line-height: 1.500;'><strong>Finalidade</strong></td><td style='line-height: 1.500;'><strong>Tipo</strong></td> </tr> </thead> <tbody> </tbody> <tr> <td colspan='9' >www.tabuleirodonorte.ce.gov.br</br>Emitido dia 02/10/2023 às 13:41:25</td> </tr></table>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Marca</strong></td>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Data</strong></td>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Descricao</strong></td>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Placa</strong></td>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Categoria</strong></td>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Situação</strong></td>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Secretaria</strong></td>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Finalidade</strong></td>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Tipo</strong></td>]]>
|
48
| <![CDATA[<a class='btn btn-primary' href='#' title='JSON' onclick="$('#veiculos').tableExport({type:'json',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> JSON</a>]]>
|
48
| <![CDATA[<a class='btn btn-primary' href='#' title='CSV' onclick="$('#veiculos').tableExport({type:'csv',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-download'></i> CSV</a>]]>
|
48
| <![CDATA[<a class='btn btn-primary' href='#' title='TXT' onclick="$('#veiculos').tableExport({type:'txt',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-text-o'></i> TXT</a>]]>
|
48
| <![CDATA[<a class='btn btn-primary' href='#' title='XLS' onclick="$('#veiculos').tableExport({type:'excel',escape:'false',ignoreColumn:[10],tableName:'veiculos',fileName: 'veiculos',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a>]]>
|
48
| <![CDATA[<a class='btn btn-primary' href='#' title='PDF' onclick="datatable('veiculos', 'PREFEITURA MUNICIPAL DE TABULEIRO DO NORTE','Listagem de veículos', [15,110,163]);"><i class='fa fa-file-pdf-o'></i> PDF</a>]]>
|
74
| <![CDATA[<script>
$(function() {
var nav = $('#menuRelatorio');
$(window).scroll(function() {
if ($(this).scrollTop() > 150) {
nav.addClass("menu-fixo");
$('body').css('padding-top', 70);
} else {
nav.removeClass("menu-fixo");
$('body').css('padding-top', 0);
}
});
});
function datatable(table, title, subtitle, colorheader) {
var doc = new jsPDF("l", 'pt', 'letter');
var res = doc.autoTableHtmlToJson(document.getElementById(table));
var header = function(data) {
doc.setFontSize(14);
doc.setTextColor(40);
doc.setFontStyle('normal');
//doc.addImage(headerImgData, 'JPEG', data.settings.margin.left, 20, 50, 50);
doc.text(title, data.settings.margin.left, 40);
doc.text(subtitle, data.settings.margin.left, 60);
};
var options = {
beforePageContent: header,
startY: doc.autoTableEndPosY() + 80,
margin: {
top: 80
},
theme: 'grid',
headerStyles: {
fillColor: colorheader,
halign: 'center'
},
styles: {
overflow: 'linebreak',
fontSize: 7,
tableWidth: 'auto',
columnWidth: 'auto',
}
};
doc.autoTable(res.columns, res.data, options);
doc.save(table + '.pdf');
}
</script>]]>
|