66
| <![CDATA[<script>
$(document).ready(function() {
$(window).scroll(function() {
if ($(this).scrollTop() > 100) {
$("#top-bar").fadeOut();
$("#logo-top-bar").fadeOut();
$('#scroll').fadeIn();
} else {
$("#top-bar").fadeIn();
$("#logo-top-bar").fadeIn();
$('#scroll').fadeOut();
}
});
$('#scroll').click(function() {
$("html, body").animate({
scrollTop: 0
}, 600);
return false;
});
$("#search-box").keyup(function() {
$.ajax({
type: "POST",
url: "consulta.php",
data: 'keyword=' + $(this).val(),
beforeSend: function() {
$(".fa-spinner").show();
},
success: function(data) {
$("#suggesstion-box").show();
$("#suggesstion-box").html(data);
$(".fa-spinner").hide();
}
});
});
$('#search-box').hide().contents().hide();
$('#btnperq').on('click', function(e) {
e.preventDefault();
$('#search-box').slideToggle('fast', function(e) {
if ($(this).is(':visible')) {
$(this).contents().fadeIn(2000);
} else {
$(this).contents().hide();
}
});
})
$('.gmaps').click(function() {
$('.gmaps iframe').css("pointer-events", "auto");
});
});
</script>]]>
|
426
| <![CDATA[<script type="text/javascript">
google.charts.load("current", {
packages: ['corechart', 'bar']
});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
["Element", "Quantidade", {
role: "style"
}],
['REGISTRADO', 0, '#15B063'],
['ENCAMINHADO', 0, '#F1491C'],
['RESPONDIDO', 56, '#A349A4'],
['VISUALIZADO', 0, '#0DA5AA'],
['EM ANÁLISE', 0, '#C52259'],
['REENCAMINHADO', 0, '#FF7F00'],
['ABERTURA DE RECURSO', 0, '#2C93DE'],
['INDEFERIDO', 0, '#939393'],
]);
var view = new google.visualization.DataView(data);
// Com decimais //decimalSymbol: ',', groupingSymbol: '.'
var formatter = new google.visualization.NumberFormat({
pattern: '#',
groupingSymbol: '.'
});
formatter.format(data, 1);
view.setColumns([0, 1,
{
calc: "stringify",
sourceColumn: 1,
type: "string",
role: "annotation"
},
2
]);
var options = {
title: "",
height: 220,
chartArea: {
width: '85%'
},
animation: {
"startup": true,
duration: 2000,
easing: 'out'
},
legend: {
position: "none",
},
viewWindow: {
min: [7, 30, 0],
max: [17, 30, 0]
},
hAxis: {
title: '',
minValue: 0
},
textStyle: {
bold: true,
fontSize: 12,
color: '#FFFFFF'
},
};
var chart = new google.visualization.ColumnChart(document.getElementById("chart_div2"));
chart.draw(data, options);
}
</script>]]>
|
508
| <![CDATA[<script>
var doughnutData = [{
value: 0,
color: "#f39c12",
label: "Não respondidos"
},
{
value: 55,
color: "#27ae60",
label: "Respondidos"
},
];
new Chart(document.getElementById("doughnut").getContext("2d")).Doughnut(doughnutData);
var doughnutSigilo = [
{
value: 61,
color: "#27ae60",
label: "NÃO CLASSIFICADA",
},
];
new Chart(document.getElementById("doughnutSigilo").getContext("2d")).Doughnut(doughnutSigilo);
var doughnutDataS = [
{
value: 28,
color: "#27ae60",
label: "NÃO INFORMADO",
},
{
value: 24,
color: "#f39c12",
label: "FEMININO",
},
{
value: 29,
color: "#2980b9",
label: "MASCULINO",
},
];
new Chart(document.getElementById("doughnutS").getContext("2d")).Doughnut(doughnutDataS);
var doughnutDataG = [
{
value: 28,
color: "#27ae60",
label: "NÃO INFORMADO",
},
{
value: 24,
color: "#f39c12",
label: "AT� O 5� ANO INCOMPLETO DO ENSINO FUNDAMENTAL (ANTIGA 4� S�RIE) QUE SE TENHA ALFABETIZADO SEM TER FREQ�ENTADO ESCOLA REGULAR.",
},
{
value: 29,
color: "#2980b9",
label: "ANALFABETO, INCLUSIVE O QUE, EMBORA TENHA RECEBIDO INSTRU��O, N�O SE ALFABETIZOU.",
},
];
new Chart(document.getElementById("doughnutG").getContext("2d")).Doughnut(doughnutDataG);
</script>]]>
|