44
| <![CDATA[<script>
var tam = 15;
function mudaFonte(tipo, elemento) {
if (tipo == "mais") {
if (tam < 24)
tam += 1;
} else {
if (tam > 10)
tam -= 1;
}
document.getElementById("Noticia").style.fontSize = tam + "px";
document.getElementById("Descricao").style.fontSize = tam + "px";
}
function printDiv(id, pg, url) {
var oPrint, oJan;
oPrint = window.document.getElementById(id).innerHTML;
oJan = window.open(pg);
oJan.document.write(oPrint);
oJan.document.write(url);
oJan.window.print();
oJan.document.close();
oJan.focus();
}
// Função contraste INICIO
(function() {
var Contrast = {
storage: 'contrastState',
cssClass: 'contrast',
currentState: null,
check: checkContrast,
getState: getContrastState,
setState: setContrastState,
toogle: toogleContrast,
updateView: updateViewContrast
};
window.toggleContrast = function() {
Contrast.toogle();
};
Contrast.check();
function checkContrast() {
this.updateView();
}
function getContrastState() {
return localStorage.getItem(this.storage) === 'true';
}
function setContrastState(state) {
localStorage.setItem(this.storage, '' + state);
this.currentState = state;
this.updateView();
}
function updateViewContrast() {
var body = document.body;
if (this.currentState === null)
this.currentState = this.getState();
if (this.currentState)
body.classList.add(this.cssClass);
else
body.classList.remove(this.cssClass);
}
function toogleContrast() {
this.setState(!this.currentState);
}
})();
// Função contraste FIM
</script>]]>
|
1261
| <![CDATA[<script type="text/javascript">
google.charts.load('current', {
'packages': ['corechart']
});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Data', 'Empenhado', 'liquidado', 'pago'],
['/2020', 0.00, 0.00, ],
['JAN/2020', 250832.22, 250832.22, 250832.22],
['MAR/2020', 5737.60, 5537.60, 5537.60],
['ABR/2020', 268787.01, 88909.99, 22500.00],
['MAIO/2020', 260607.34, 265811.50, 262461.66],
['JUN/2020', 334157.73, 255644.21, 201706.79],
['JUL/2020', 345742.20, 410416.10, 390966.78],
['AGO/2020', 1060817.16, 682823.64, 550167.95],
['SET/2020', 983578.16, 764504.09, 776240.64],
['OUT/2020', 691796.55, 1056494.51, 1090040.17],
['NOV/2020', 1085610.98, 1151104.54, 1153335.21],
['DEZ/2020', 0.00, 71229.81, 140866.62],
]);
var formatter = new google.visualization.NumberFormat({
decimalSymbol: ',',
groupingSymbol: '.'
});
formatter.format(data, 1);
var options = {
title: '',
height: 400,
chartArea: {
width: '85%'
},
animation: {
"startup": true,
duration: 2000,
easing: 'out'
},
legend: {
position: 'top'
},
series: {
0: {
color: '#f39c12'
},
1: {
color: '#e67e22'
},
2: {
color: '#c0392b'
},
},
lineWidth: 5,
hAxis: {
title: 'Demonstrativo das despesas empenhadas, liquidadas e pagas por mês no exercício: 2020'
},
vAxis: {
minValue: 0
}
};
var chart = new google.visualization.LineChart(document.getElementById('chart_div2'));
chart.draw(data, options);
}
</script>]]>
|
1767
| <![CDATA[<script>
$(function() {
/* Custom buttons */
$('#font-setting').easyView({
container: 'body, .section, .container, .row, .col-md-6, .col-md-9, .col-md-12, #footer, #bottom',
step: 10,
bootstrap: true,
increaseSelector: '.increase-me',
decreaseSelector: '.decrease-me',
normalSelector: '.reset-me',
contrastSelector: '.change-me'
});
});
</script>]]>
|