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 notícias </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="$('#informa').tableExport({type:'json',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'csv',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'txt',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'excel',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a></span><a class='btn btn-primary' href='#' title='PDF' onclick="datatable('informa', 'PREFEITURA MUNICIPAL DE TABULEIRO DO NORTE','Listagem de notícias', [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='informa' title='informa' style='width: 100%; font-size: 11px; padding: 2px;'> <thead> <tr><td style=''><strong>Categoria</strong></td><td style=''><strong>Data de publicação</strong></td><td style='line-height: 1.500;'><strong>Título</strong></td><td style='line-height: 1.500;'><strong>Descrição</strong></td> </tr> </thead> <tbody> </tbody> <tr> <td colspan='4' >www.tabuleirodonorte.ce.gov.br</br>Emitido dia 23/09/2023 às 13:48:03</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 notícias </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="$('#informa').tableExport({type:'json',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'csv',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'txt',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'excel',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a></span><a class='btn btn-primary' href='#' title='PDF' onclick="datatable('informa', 'PREFEITURA MUNICIPAL DE TABULEIRO DO NORTE','Listagem de notícias', [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 notícias </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="$('#informa').tableExport({type:'json',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'csv',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'txt',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'excel',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a></span><a class='btn btn-primary' href='#' title='PDF' onclick="datatable('informa', 'PREFEITURA MUNICIPAL DE TABULEIRO DO NORTE','Listagem de notícias', [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="$('#informa').tableExport({type:'json',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'csv',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'txt',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'excel',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a></span><a class='btn btn-primary' href='#' title='PDF' onclick="datatable('informa', 'PREFEITURA MUNICIPAL DE TABULEIRO DO NORTE','Listagem de notícias', [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="$('#informa').tableExport({type:'json',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'csv',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'txt',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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="$('#informa').tableExport({type:'excel',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',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='informa' title='informa' style='width: 100%; font-size: 11px; padding: 2px;'> <thead> <tr><td style=''><strong>Categoria</strong></td><td style=''><strong>Data de publicação</strong></td><td style='line-height: 1.500;'><strong>Título</strong></td><td style='line-height: 1.500;'><strong>Descrição</strong></td> </tr> </thead> <tbody> </tbody> <tr> <td colspan='4' >www.tabuleirodonorte.ce.gov.br</br>Emitido dia 23/09/2023 às 13:48:03</td> </tr></table>
</div>]]>
|
57
| <![CDATA[<table class='table table-responsive table-condensed table-bordered table-striped' id='informa' title='informa' style='width: 100%; font-size: 11px; padding: 2px;'> <thead> <tr><td style=''><strong>Categoria</strong></td><td style=''><strong>Data de publicação</strong></td><td style='line-height: 1.500;'><strong>Título</strong></td><td style='line-height: 1.500;'><strong>Descrição</strong></td> </tr> </thead> <tbody> </tbody> <tr> <td colspan='4' >www.tabuleirodonorte.ce.gov.br</br>Emitido dia 23/09/2023 às 13:48:03</td> </tr></table>]]>
|
57
| <![CDATA[<td style=''><strong>Categoria</strong></td>]]>
|
57
| <![CDATA[<td style=''><strong>Data de publicação</strong></td>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Título</strong></td>]]>
|
57
| <![CDATA[<td style='line-height: 1.500;'><strong>Descrição</strong></td>]]>
|
48
| <![CDATA[<a class='btn btn-primary' href='#' title='JSON' onclick="$('#informa').tableExport({type:'json',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',displayTableName: true});"><i class='fa fa-download'></i> JSON</a>]]>
|
48
| <![CDATA[<a class='btn btn-primary' href='#' title='CSV' onclick="$('#informa').tableExport({type:'csv',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',displayTableName: true});"><i class='fa fa-download'></i> CSV</a>]]>
|
48
| <![CDATA[<a class='btn btn-primary' href='#' title='TXT' onclick="$('#informa').tableExport({type:'txt',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',displayTableName: true});"><i class='fa fa-file-text-o'></i> TXT</a>]]>
|
48
| <![CDATA[<a class='btn btn-primary' href='#' title='XLS' onclick="$('#informa').tableExport({type:'excel',escape:'false',ignoreColumn:[5],tableName:'informa',fileName: 'informa',displayTableName: true});"><i class='fa fa-file-excel-o'></i> XLS</a>]]>
|
48
| <![CDATA[<a class='btn btn-primary' href='#' title='PDF' onclick="datatable('informa', 'PREFEITURA MUNICIPAL DE TABULEIRO DO NORTE','Listagem de notícias', [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>]]>
|