Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Atualizados

Lista dos novos sites adicionados a plataforma na última atualização

Recomendações Avaliadas
1.1 Respeitar os Padrões Web.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
1.1.3 Presença de CSS(s) in-line 77 146 152 158 196 197 198 212 218 219 235 241 242 258 264 265 281 287 288 307 313 314 331 337 338 354 360 361 377 383 384 402 408 409 425 431 432 448 454 455 471 477 478 498 504 505 521 527 528 544 550 551 567 573 574 592 598 599 615 621 622 638 644 645 661 667 668 687 693 694 710 716 717 733 739 740 778 834
1.1.4 Presença de CSS(s) interno 1 995
1.1.5 Presença de javascript(s) in-line 4 65 111 115 197
1.1.6 Presença de javascript(s) interno 7 1103 1165 1185 1197 1874 1922 1938
146 <![CDATA[<i class='fa fa-chevron-down' style='font-size:12px;'></i>]]>
152 <![CDATA[<i class='fa fa-chevron-down' style='font-size:12px;'></i>]]>
158 <![CDATA[<i class='fa fa-chevron-down' style='font-size:12px;'></i>]]>
196 <![CDATA[<h3 class="panel-title" style="text-transform:uppercase">Publicações <div class='btn-group pull-right no-print'> <button type='button' id='imprimir' class='btn btn-default btn-xs ocultar-print no-print' style="margin: 0 10px; padding: 0 10px; border-radius: 5px" title='Imprimir' onclick='javascript:window.print();'><i class='fa fa-print' aria-hidden='true'></i> IMPRIMIR</button> <a class="pull-right" title="Voltar para o início" href="https://www.presidentekennedy.es.gov.br/controladoria"><i class="fa fa-home" style="color:#fff;"></i></a> </div> </h3>]]>
197 <![CDATA[<button type='button' id='imprimir' class='btn btn-default btn-xs ocultar-print no-print' style="margin: 0 10px; padding: 0 10px; border-radius: 5px" title='Imprimir' onclick='javascript:window.print();'><i class='fa fa-print' aria-hidden='true'></i> IMPRIMIR</button>]]>
198 <![CDATA[<i class="fa fa-home" style="color:#fff;"></i>]]>
212 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/governo.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMGOV</div> <div style="color: white;">Secretaria Municipal de Governo</div> </div> </div> </div>]]>
218 <![CDATA[<div style="font-size: 25px; color: white;">SEMGOV</div>]]>
219 <![CDATA[<div style="color: white;">Secretaria Municipal de Governo</div>]]>
235 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/administracao.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMAD</div> <div style="color: white;">Secretaria Municipal de Administração</div> </div> </div> </div>]]>
241 <![CDATA[<div style="font-size: 25px; color: white;">SEMAD</div>]]>
242 <![CDATA[<div style="color: white;">Secretaria Municipal de Administração</div>]]>
258 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/saude.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMUS</div> <div style="color: white;">Secretaria Municipal de Saúde</div> </div> </div> </div>]]>
264 <![CDATA[<div style="font-size: 25px; color: white;">SEMUS</div>]]>
265 <![CDATA[<div style="color: white;">Secretaria Municipal de Saúde</div>]]>
281 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/educacao.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEME</div> <div style="color: white;">Secretaria Municipal de Educação</div> </div> </div> </div>]]>
287 <![CDATA[<div style="font-size: 25px; color: white;">SEME</div>]]>
288 <![CDATA[<div style="color: white;">Secretaria Municipal de Educação</div>]]>
307 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/beioambiente.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMMA</div> <div style="color: white;">Secretaria Municipal de Meio Ambiente</div> </div> </div> </div>]]>
313 <![CDATA[<div style="font-size: 25px; color: white;">SEMMA</div>]]>
314 <![CDATA[<div style="color: white;">Secretaria Municipal de Meio Ambiente</div>]]>
331 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/agricultura.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMDAP</div> <div style="color: white;">Secretaria Municipal de Desenvolvimento da Agricultura e Pesca</div> </div> </div> </div>]]>
337 <![CDATA[<div style="font-size: 25px; color: white;">SEMDAP</div>]]>
338 <![CDATA[<div style="color: white;">Secretaria Municipal de Desenvolvimento da Agricultura e Pesca</div>]]>
354 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/fazenda.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMFAZ</div> <div style="color: white;">Secretaria Municipal de Fazenda</div> </div> </div> </div>]]>
360 <![CDATA[<div style="font-size: 25px; color: white;">SEMFAZ</div>]]>
361 <![CDATA[<div style="color: white;">Secretaria Municipal de Fazenda</div>]]>
377 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/semuctel.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMUCTEL</div> <div style="color: white;">Secretaria Municipal de Esporte Cultura e Lazer</div> </div> </div> </div>]]>
383 <![CDATA[<div style="font-size: 25px; color: white;">SEMUCTEL</div>]]>
384 <![CDATA[<div style="color: white;">Secretaria Municipal de Esporte Cultura e Lazer</div>]]>
402 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/assitenciasocial.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMAS</div> <div style="color: white;">Secretaria Municipal de Assitência Social</div> </div> </div> </div>]]>
408 <![CDATA[<div style="font-size: 25px; color: white;">SEMAS</div>]]>
409 <![CDATA[<div style="color: white;">Secretaria Municipal de Assitência Social</div>]]>
425 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/desenvolvimento.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMDES</div> <div style="color: white;">Secretaria Municipal de Desenvolvimento Econômico</div> </div> </div> </div>]]>
431 <![CDATA[<div style="font-size: 25px; color: white;">SEMDES</div>]]>
432 <![CDATA[<div style="color: white;">Secretaria Municipal de Desenvolvimento Econômico</div>]]>
448 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/obras.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMOBH</div> <div style="color: white;">Secretaria Municipal de Obras, Serviços Públicos e Habitação</div> </div> </div> </div>]]>
454 <![CDATA[<div style="font-size: 25px; color: white;">SEMOBH</div>]]>
455 <![CDATA[<div style="color: white;">Secretaria Municipal de Obras, Serviços Públicos e Habitação</div>]]>
471 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/transporte.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SETRANFRO</div> <div style="color: white;">Secretaria Municipal de Transporte e Frotas</div> </div> </div> </div>]]>
477 <![CDATA[<div style="font-size: 25px; color: white;">SETRANFRO</div>]]>
478 <![CDATA[<div style="color: white;">Secretaria Municipal de Transporte e Frotas</div>]]>
498 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/seguranca.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMSEG</div> <div style="color: white;">Secretaria Municipal de Segurança Pública</div> </div> </div> </div>]]>
504 <![CDATA[<div style="font-size: 25px; color: white;">SEMSEG</div>]]>
505 <![CDATA[<div style="color: white;">Secretaria Municipal de Segurança Pública</div>]]>
521 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/servicospublicos.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">SEMUSP</div> <div style="color: white;">Secretaria Municipal de Serviços Públicos</div> </div> </div> </div>]]>
527 <![CDATA[<div style="font-size: 25px; color: white;">SEMUSP</div>]]>
528 <![CDATA[<div style="color: white;">Secretaria Municipal de Serviços Públicos</div>]]>
544 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/condeca.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">COMDECA</div> <div style="color: white;">Conselho Municipal de Defesa dos Diretos da Criança e Adolescente</div> </div> </div> </div>]]>
550 <![CDATA[<div style="font-size: 25px; color: white;">COMDECA</div>]]>
551 <![CDATA[<div style="color: white;">Conselho Municipal de Defesa dos Diretos da Criança e Adolescente</div>]]>
567 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/comas.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">COMAS</div> <div style="color: white;">Conselho Municipal de Assistência Social</div> </div> </div> </div>]]>
573 <![CDATA[<div style="font-size: 25px; color: white;">COMAS</div>]]>
574 <![CDATA[<div style="color: white;">Conselho Municipal de Assistência Social</div>]]>
592 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/cmpd.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">CMPD</div> <div style="color: white;">Conselho Municipal dos Direitos da Pessoa com Defiência</div> </div> </div> </div>]]>
598 <![CDATA[<div style="font-size: 25px; color: white;">CMPD</div>]]>
599 <![CDATA[<div style="color: white;">Conselho Municipal dos Direitos da Pessoa com Defiência</div>]]>
615 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/cmi.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">CMI</div> <div style="color: white;">Conselho Municipal dos Direitos da Pessoa Idosa</div> </div> </div> </div>]]>
621 <![CDATA[<div style="font-size: 25px; color: white;">CMI</div>]]>
622 <![CDATA[<div style="color: white;">Conselho Municipal dos Direitos da Pessoa Idosa</div>]]>
638 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/consea.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">COMSEA</div> <div style="color: white;">Conselho Municipal de Segurança Alimentar e Nutricional</div> </div> </div> </div>]]>
644 <![CDATA[<div style="font-size: 25px; color: white;">COMSEA</div>]]>
645 <![CDATA[<div style="color: white;">Conselho Municipal de Segurança Alimentar e Nutricional</div>]]>
661 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/cms.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">CMS</div> <div style="color: white;">Conselho Municipal de Saúde</div> </div> </div> </div>]]>
667 <![CDATA[<div style="font-size: 25px; color: white;">CMS</div>]]>
668 <![CDATA[<div style="color: white;">Conselho Municipal de Saúde</div>]]>
687 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/dgrh.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">DGRH</div> <div style="color: white;">Divisão Geral de Recursos Humanos</div> </div> </div> </div>]]>
693 <![CDATA[<div style="font-size: 25px; color: white;">DGRH</div>]]>
694 <![CDATA[<div style="color: white;">Divisão Geral de Recursos Humanos</div>]]>
710 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/licitacao.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">LICITAÇÃO</div> <div style="color: white;">Divisão de Licitação</div> </div> </div> </div>]]>
716 <![CDATA[<div style="font-size: 25px; color: white;">LICITAÇÃO</div>]]>
717 <![CDATA[<div style="color: white;">Divisão de Licitação</div>]]>
733 <![CDATA[<div class="panel-heading" style="background-color: #386098; height: 90px;"> <div class="row"> <div class="col-xs-3"> <img class="img-responsive" src="https://www.presidentekennedy.es.gov.br/uploads/filemanager/DTI/paginas/images/licitacao.png"> </div> <div class="col-xs-9 text-right"> <div style="font-size: 25px; color: white;">PREGÃO</div> <div style="color: white;">Divisão de Licitação - Pregão</div> </div> </div> </div>]]>
739 <![CDATA[<div style="font-size: 25px; color: white;">PREGÃO</div>]]>
740 <![CDATA[<div style="color: white;">Divisão de Licitação - Pregão</div>]]>
778 <![CDATA[<input type="hidden" name="csrf_site_name" value="f68aa502d1383a6919f77ec655dbb6bc" style="display:none;" />]]>
834 <![CDATA[<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d276.6639766864219!2d-41.044924897566865!3d-21.09932845776096!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0xb83dac45555555%3A0xf2550aed8212ef21!2sPrefeitura%20Municipal%20Presidente%20Kennedy!5e0!3m2!1spt-BR!2sbr!4v1661271867623!5m2!1spt-BR!2sbr" width="400" height="300" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>]]>
995 <![CDATA[<style> /* GOOGLE ANALYTICS */ .cookies-container { color: #222; position: fixed; bottom: 2rem; z-index: 1000; } .card-title { font-style: normal; font-weight: normal; font-size: 21px; line-height: 1.5; margin-bottom: 20px; margin-top: 0; } .card-link { font-weight: bold; text-decoration: none; color: #2F2F2F; } .card-text { font-style: normal; font-weight: normal; line-height: 150%; align-items: center; color: #505050; } .cookies-content { background: white; padding: 20px; opacity: 0; transform: translateY(1rem); animation: slideUp 0.5s forwards; border-radius: 4px; background: rgba(251, 251, 251, 0.95); box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7); } @keyframes slideUp { to { transform: initial; opacity: initial; } } .cookies-pref label { margin-right: 1rem; } .cookies-save { grid-column: 2; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; background: var(--Primary0); color: white; cursor: pointer; border: none; border-radius: 5px; padding: 0.8rem 2rem; font-size: 16px; } .cookies-save:hover { background: var(--Primary2); transition: .3s; } @media (max-width: 500px) { .cookies-content { grid-template-columns: 1fr; } .cookies-save { grid-column: 1; grid-row: 3; } } </style>]]>
65 <![CDATA[<a href="#bloco-logo" onclick="openSearch()" title="Ir para o rodapé" accesskey="3"><span>3</span> Ir para a busca</a>]]>
111 <![CDATA[<button class="btn" type="button" onclick="openSearch()"><i class="fa fa-search"></i></button>]]>
115 <![CDATA[<button class="btn btn-default botao-busca" type="button" onclick="openSearch()"><i class="fa fa-search"></i></button>]]>
197 <![CDATA[<button type='button' id='imprimir' class='btn btn-default btn-xs ocultar-print no-print' style="margin: 0 10px; padding: 0 10px; border-radius: 5px" title='Imprimir' onclick='javascript:window.print();'><i class='fa fa-print' aria-hidden='true'></i> IMPRIMIR</button>]]>
1103 <![CDATA[<script> function cookies(functions) { const clientName = 'presidentekennedy'; const container = document.querySelector('.cookies-container'); const save = document.querySelector('.cookies-save'); if (!container || !save) return null; const localPref = JSON.parse(window.localStorage.getItem('cookies-pref' + clientName)); if (localPref) activateFunctions(localPref); function getFormPref() { return [...document.querySelectorAll('[data-function]')] .filter((el) => el.checked) .map((el) => el.getAttribute('data-function')); } function activateFunctions(pref) { pref.forEach((f) => functions[f]()); container.style.display = 'none'; window.localStorage.setItem('cookies-pref' + clientName, JSON.stringify(pref)); } function handleSave() { const pref = getFormPref(); activateFunctions(pref); } save.addEventListener('click', handleSave); } function analytics() { window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', ''); console.log('Função anali..'); } function simplecookie() { console.log('Política de Privacidade Autorizada'); } cookies({ simplecookie, }); </script>]]>
1165 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
1185 <![CDATA[<script> $(".popup").fancybox({ 'width': '95%', 'height': '90%', 'autoScale': false, 'transitionIn': 'none', 'transitionOut': 'none', 'type': 'iframe' }); </script>]]>
1197 <![CDATA[<script> const BASE_URL = "https://www.presidentekennedy.es.gov.br/"; function fonte(e) { var elements = $('p, h1, h2, h3, h4, h5, h6, a, button, input, i, svg'); elements.each((index, item) => { let element = $(item); let font = $(element).css('font-size'); let newFont = e == 'a' ? parseInt(font) + 1 : parseInt(font) - 1; element.css('font-size', newFont); }) } function openSearch(e) { // Função de Botão de Busca if ($('#bloco-logo .form-padrao input').val() != '') { $('#bloco-logo form').submit(); } else { let button = document.querySelector('#bloco-logo button.botao-busca'); let form = document.querySelector('#bloco-logo .form-padrao'); form.classList.toggle('hidden'); button.classList.toggle('hidden'); } } function dataAtualFormatada(e) { let data = new Date(e); let dia = data.getDate(); if (dia <= 9) dia = "0" + dia; var meses = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"]; data = dia + " de " + meses[data.getMonth()] + " de " + data.getFullYear(); return data; } $(".nav-stacked a").click(function(e) { if ($(this).children('svg').attr('data-icon') == 'plus') $(this).children('svg').attr('data-icon', 'minus') else $(this).children('svg').attr('data-icon', 'plus') }); $('.dropdown-submenu a.submenu-institucional').on("click", function(e) { // Faz os submenu do submenu funcionar no mobile e.preventDefault(); $(this).next('ul').toggle('open'); e.stopPropagation(); }); $(document).ready(function() { // Processa depois de carregar a página if (typeof funcion_a_comprobar === 'function') { if (typeof number == "undefined" || number == null) { let number = $('.inputmask_tel'); number.inputmask({ mask: ["+55 (99) 9999-9999", "+55 (99) 9 9999-9999", ], keepStatic: true }); } if (typeof cpf_cnpj == "undefined" || cpf_cnpj == null) { let cpf_cnpj = $('.inputmask_cpf_cnpj'); cpf_cnpj.inputmask({ mask: ["999.999.999-99", "99.999.999/9999-99", ], keepStatic: true }); } } $(window).scroll(function() { var scrollTop = $(window).scrollTop(); if (scrollTop > 50) { $('#acessibilidade').addClass("navbar-fixed-top"); } else { $('#acessibilidade').removeClass("navbar-fixed-top"); } }); var html = document.getElementsByTagName('html')[0]; html.style.cssText = '--Primary0: #1A4278; --Primary1: #1F4C8C; --Primary2: #386098'; // Filtro por Pesquisa $('#search-faq').submit(function(e) { e.preventDefault(); var request = $.ajax({ dataType: "json", url: BASE_URL + `faq/faqs_post/0/8?termos=` + $('#termos').val(), beforeSend() { $('.bloco-tabs ul.nav').html(''); $('.bloco-tabs ul.nav').addClass('loader'); }, }) .done(function(msg) { $('.bloco-tabs ul.nav').load(); $('.bloco-tabs ul.nav').removeClass('loader'); msg.map(item => { $('ul.nav.nav-pills.nav-stacked').append(` <li> <a class="item" data-toggle="collapse" href="#${item.id}" role="button" aria-expanded="false" aria-controls="${item.id}">${item.pergunta} <i class="fa fa-plus"></i></a> <div class="texto collapse" id="${item.id}"> ${item.resposta} </div> </li> `); }); }) .fail(function() { $('.message').html('Não consegui carregar, tente novamente.'); }); }); $('#acesso a').click(function(e) { e.preventDefault(); var categoria = $(this).data('categoria'); var request = $.ajax({ // type: 'POST', // data: data, //dataType tells jQuery to expect JSON response dataType: "json", url: BASE_URL + `faq/faqs_post/?categoria_id=` + categoria, beforeSend() { $('.bloco-tabs ul.nav').html(''); $('.bloco-tabs ul.nav').addClass('loader'); }, }) .done(function(msg) { $('.bloco-tabs ul.nav').removeClass('loader'); $('.bloco-tabs ul.nav').load(); msg.map(item => { $('ul.nav.nav-pills.nav-stacked').append(` <li> <a class="item" data-toggle="collapse" href="#${item.id}" role="button" aria-expanded="false" aria-controls="${item.id}">${item.pergunta} <i class="fa fa-plus"></i></a> <div class="texto collapse" id="${item.id}"> ${item.resposta} </div> </li> `); }); }) .fail(function() { $('.message').html('Não consegui carregar, tente novamente.'); }); }); // Função de Load More Notícias var offset_posts = 5 $('#load_more_posts').click(function(e) { e.preventDefault(); var request = $.ajax({ // type: 'GET', // data: data, //dataType tells jQuery to expect JSON response dataType: "json", url: BASE_URL + `noticia/get_post/${offset_posts}/5`, beforeSend() { $('#load_more_posts').html('Carregando...'); $('.loader').removeClass('hidden'); }, }) .done(function(msg) { offset_posts = offset_posts + 5; $('.loader').addClass('hidden'); $('#load_more_posts').html('Carregar mais notícias'); msg.map(item => { $('.noticias').append(` <a href="${BASE_URL}noticia/ler/${item.id}/${item.titulo.normalize('NFD').replace(/[\u0300-\u036f]/g, '').replace(/[^\w-]+/g, '-').toLowerCase()}" title="Notícia: ${item.titulo}"> <div class="col-sm-3 col-xs-12 imagem no-padding"> <img src="${item.capa}" alt="${item.titulo}" /> </div> <div class="col-sm-9 col-xs-12 texto"> <h2>${item.titulo}</h2> <p>` + item.chamada.substring(0, 550) + `</p> <h5>` + dataAtualFormatada(item.publicacao) + `</h5> </div> <hr /> </a> `); }) }) .fail(function() { $('.message').html('Não consegui carregar, tente novamente.'); }); }); // Função de Load More nos Faqs var offset_faqs = 8 $('#load_more_faq').click(function(e) { e.preventDefault(); var request = $.ajax({ dataType: "json", url: BASE_URL + `faq/faqs_post/${offset_faqs}/5`, beforeSend() { $('#load_more_faq').html('Carregando...'); $('.loader').removeClass('hidden'); }, }) .done(function(msg) { offset_faqs = offset_faqs + 5; $('.loader').addClass('hidden'); $('#load_more_faq').html('Carregar mais perguntas'); msg.map(item => { $('ul.nav.nav-pills.nav-stacked').append(` <li> <a class="item" data-toggle="collapse" href="#${item.id}" role="button" aria-expanded="false" aria-controls="${item.id}">${item.pergunta} <i class="fa fa-plus"></i></a> <div class="texto collapse" id="${item.id}"> ${item.resposta} </div> </li> `); }) }) .fail(function() { $('.message').html('Não consegui carregar, tente novamente.'); }); }); // Bloco de Vereadores/Atividade Legislativa no Portal Institucional var VereadoresAPI = $('.vereadores-lista').data('vereadoresapi'); if (typeof VereadoresAPI !== "undefined" && VereadoresAPI) { $.getJSON(VereadoresAPI + 'api/vereador/?v=2&qtd=100', function(json) { // Lista os Vereadores var bloco_vereadores = $('.vereadores-lista'); var parlamentar = $.map(json.dados, function(item) { if (item.situacao == 'Licenciado para assumir cargo no Executivo') return; return bloco_vereadores.append(` <a target="_blank" href="${VereadoresAPI}vereador.aspx?id=${item.ID}" target="_blank" title="Veja mais sobre o vereador(a) ${item.nome_parlamentar}" class="vereador-item"> <div class="imagem"> <img src="${item.foto}" alt="Foto do vereador(a) ${item.nome}" /> </div> <div class="texto"> <h3>${item.nome}</h3> <h5>${item.partido_sigla}</h5> <p>Situação <span>${item.situacao}</span></p> </div> </a> `); }); }); $('.vereadores-lista .loader').hide(); $.getJSON(VereadoresAPI + 'api/norma_filtros?v=2', function(json) { var data = $.map(json.tipos, function(item) { return { id: item.tipo_id, text: item.tipo } }); data.unshift({ id: '', text: '' }); return $('.especie_normativa').select2({ // Monta o Select usando Ajax placeholder: 'Selecione o tipo', width: '100%', data: data }); }); $.getJSON(VereadoresAPI + 'api/proposicao_filtros/?v=2&area=LEG', function(json) { var data = $.map(json.tipos, function(item) { return { id: item.tipo_id, text: item.tipo } }); data.unshift({ id: '', text: '' }); return $('.proposicoes').select2({ // Monta o Select usando Ajax placeholder: 'Selecione o tipo', width: '100%', data: data }); }); $.getJSON(VereadoresAPI + 'api/proposicao_filtros/?v=2&area=ADM', function(json) { var data = $.map(json.tipos, function(item) { return { id: item.tipo_id, text: item.tipo } }); data.unshift({ id: '', text: '' }); return $('.processos_administrativos').select2({ // Monta o Select usando Ajax placeholder: 'Selecione o tipo', width: '100%', data: data }); }); } var isSomethingTrue = false; $('.openTabs').click(function(e) { e.preventDefault(); $('.bloco-tabs').toggle('in'); $(this).toggleClass('botao-primary0'); if (!isSomethingTrue) { isSomethingTrue = true; $(this).html('Ver menos serviços'); } else { isSomethingTrue = false; $(this).html('Ver todos os serviços'); } }); // Função de Load More nos Faqs $('#fotos a:not(.botao)').click(function(e) { e.preventDefault(); let idGaleria = $(this).data('id'); //Initial csrf values var data = {}; var api_images = []; var api_titles = []; var api_descriptions = []; $.ajax({ // type: 'POST', data: data, //dataType tells jQuery to expect JSON response dataType: "json", url: BASE_URL + `galeria/get_galeria_anexos/` + idGaleria, }) .done(function(msg) { // console.log(msg); msg.map(item => { api_images.push(item['arquivo']); api_titles.push(item['titulo']); api_descriptions.push(['']); }); $.prettyPhoto.open(api_images, api_titles, api_descriptions); $.prettyPhoto.changePage('next'); $.prettyPhoto.changePage('previous'); $.prettyPhoto.close(); }) .fail(function(response, status, error) { // console.log(error); $.prettyPhoto.open(BASE_URL + 'assets/img/brasao.jpg', 'Não consegui carregar, tente novamente.', ''); }); }); // Auto Contraste Função $("#acessibilidade_contraste").on("click", function(event) { event.preventDefault(); $("body").toggleClass("contrast"); var logo_menu = document.getElementById('logo-menu'); if ($('body').hasClass('contrast')) { if (logo_menu.src == `${BASE_URL}assets/img/logo_site.svg`) logo_menu.src = `${BASE_URL}assets/img/logo_site_branco.svg`; else logo_menu.src = `${BASE_URL}assets/img/logo_site_branco.png`; } else { if (logo_menu.src == `${BASE_URL}assets/img/logo_site_branco.svg`) logo_menu.src = `${BASE_URL}assets/img/logo_site.svg`; else logo_menu.src = `${BASE_URL}assets/img/logo_site.png`; } }); var Contrast = { storage: 'contrastState', cssClass: 'contrast', currentState: null, check: checkContrast, getState: getContrastState, setState: setContrastState, toogle: toogleContrast, updateView: updateViewContrast }; 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; var logo_menu = document.getElementById('logo-menu'); if (!body) return; if (!logo_menu) return null; if (this.currentState === null) this.currentState = this.getState(); if (this.currentState) { body.classList.add(this.cssClass); if (logo_menu.src == 'https://www.presidentekennedy.es.gov.br/assets/img/logo_site.svg') logo_menu.src = 'https://www.presidentekennedy.es.gov.br/assets/img/logo_site_branco.svg'; else logo_menu.src = 'https://www.presidentekennedy.es.gov.br/assets/img/logo_site_branco.png'; } else { body.classList.remove(this.cssClass); if (logo_menu.src == 'https://www.presidentekennedy.es.gov.br/assets/img/logo_site_branco.svg' || logo_menu.src == 'https://www.presidentekennedy.es.gov.br/assets/img/logo_site.svg') logo_menu.src = 'https://www.presidentekennedy.es.gov.br/assets/img/logo_site.svg'; else logo_menu.src = 'https://www.presidentekennedy.es.gov.br/assets/img/logo_site.png'; } } function toogleContrast() { this.setState(!this.currentState); } // FIM AUTOCONTRASTE // Função do Popup nas fotos var player; function onYouTubeIframeAPIReady() { player = new YT.Player('player', { events: { 'onReady': onPlayerReady, 'onStateChange': onPlayerStateChange } }); } $('a[rel=group]').fancybox(); $("a[rel^='prettyPhoto']").prettyPhoto({ default_width: 700, //I have tried playing with these values default_height: 500, //I have tried playing with these values theme: 'light_rounded', social_tools: '<a target="_blank" download href="#" class="download_image left btn btn-xs btn-default"><span class="fa fa-download"></span> Baixar Imagem</a>', overlay_gallery: false, show_title: false, hideflash: true, iframe_markup: "<iframe src='{path}' width='{width}' height='{height}' frameborder='no' allowfullscreen='true'></iframe>", deeplinking: false }); $('body').on('click', '.download_image', function() { var foto_download = $('#fullResImage').attr('src'); $(this).attr('href', foto_download); }); $('div.thumbnail').on('click', 'a', function() { var id = $(this).attr('id'); if (id.length) { $.ajax({ url: BASE_URL + 'galeria/contador_acessos/' + id, type: "post", data: { 'id': id } }); } }); // VERIFICA SWIPER if (document.getElementsByClassName('destaques').length !== 0) { var destaques = new Swiper(".destaques", { loop: true, autoHeight: true, autoplay: { delay: 3000, disableOnInteraction: false, }, pagination: { el: ".destaques .swiper-pagination", dynamicBullets: true, clickable: true, }, navigation: { nextEl: ".destaques .swiper-button-next", prevEl: ".destaques .swiper-button-prev", }, }); } if (document.getElementsByClassName('especialidades').length !== 0) { var especialidades = new Swiper(".especialidades", { // slidesPerView: 1, calculateHeight: true, spaceBetween: 20, breakpoints: { // 0: { // }, // when window width is >= 768px 769: { slidesPerGroup: 4, slidesPerView: 2, allowTouchMove: false, grid: { rows: 2, }, }, }, // loop: true, // <- causes issues combined with multi row setup!! navigation: { nextEl: ".especialidades .swiper-button-next", prevEl: ".especialidades .swiper-button-prev", }, }); } if (document.getElementsByClassName('galerias').length != 0) { var banners = new Swiper(".galerias", { slidesPerView: 1, autoHeight: true, loop: true, spaceBetween: 10, // effect: "fade", breakpoints: { // 0: { // }, // when window width is >= 768px 769: { slidesPerView: 4, }, }, navigation: { nextEl: "#galerias .next", prevEl: "#galerias .prev", }, pagination: { el: ".galerias .swiper-pagination", clickable: true, }, }); } if (document.getElementsByClassName('banners').length != 0) { var banners = new Swiper(".banners", { slidesPerView: 1, autoHeight: true, loop: true, spaceBetween: 10, // effect: "fade", autoplay: { delay: 3000, disableOnInteraction: false, }, navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev", }, pagination: { el: ".swiper-pagination", clickable: true, }, }); var estatico = new Swiper(".estatico", { slidesPerView: 1, autoHeight: true, loop: false, spaceBetween: 10, // effect: "fade", autoplay: { // delay: 3000, disableOnInteraction: true, }, navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev", }, pagination: { el: ".swiper-pagination", clickable: true, }, }); } if (document.getElementsByClassName('portais').length != 0) { var portais = new Swiper(".portais", { slidesPerView: 6, spaceBetween: 30, slidesPerGroup: 6, loop: true, loopFillGroupWithBlank: true, navigation: { nextEl: ".portais .swiper-button-next", prevEl: ".portais .swiper-button-prev", }, }); } $('#web-tv #video').carousel({ interval: false, }); // bootstrap-datepicker --------------------- if ($('.bootstrap_datepicker').length) { $('.bootstrap_datepicker').datepicker({ format: 'dd/mm/yyyy' }); } $('#imprimir').click(function() { window.print(); }); }); function cookies(functions) { const container = document.querySelector('.cookies-container'); const save = document.querySelector('.cookies-save'); if (!container || !save) return null; const localPref = JSON.parse(window.localStorage.getItem('cookies-pref')); if (localPref) activateFunctions(localPref); function getFormPref() { return [...document.querySelectorAll('[data-function]')] .filter((el) => el.checked) .map((el) => el.getAttribute('data-function')); } function activateFunctions(pref) { pref.forEach((f) => functions[f]()); container.style.display = 'none'; window.localStorage.setItem('cookies-pref', JSON.stringify(pref)); } function handleSave() { const pref = getFormPref(); activateFunctions(pref); } save.addEventListener('click', handleSave); } function analytics() { window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', ''); console.log('Função anali..'); } function simplecookie() { console.log('Política de Privacidade Autorizada'); } // ============================================================ // Função Frame do Youtube </script>]]>
1874 <![CDATA[<script text="text/Javascript"> $(function() { // Recaptcha no formulário da Newsletter $(".form_recaptcha .bnt_submit_recaptcha").click(function(e) { e.preventDefault(); grecaptcha.execute('6Leug74eAAAAABtQ1gXM_SdwZwJGTMB6GK79nquU').then(function(token) { var recaptchaResponse = document.getElementById('recaptcha_token'); recaptchaResponse.value = token; $('.form_recaptcha').submit(); }) }) }); // var form = $('#newsletter'); // $(form).submit(function(e) { // Função do Formulario newsletter da Home // e.preventDefault(); // grecaptcha.execute('6Leug74eAAAAABtQ1gXM_SdwZwJGTMB6GK79nquU').then(function(token) { // // add token value to form // document.getElementById('g-recaptcha-response').value = token; // $.ajax({ // type: form.attr('method'), // url: form.attr('action'), // dataType: 'json', // data: form.serialize(), // beforeSend() { // // console.log('Carregando...'); // $('#newsletter .loader').toggleClass('hidden'); // }, // }) // .success(function(msg) { // // console.log(msg); // if (msg == 200) { // alertify.success('Contato cadastrado com sucesso!'); // } else { // alertify.error(msg); // } // $('#newsletter .loader').toggleClass('hidden'); // }) // .fail(function(request, status, error) { // // console.log('Status: ', status); // $('#newsletter .loader').toggleClass('hidden'); // }); // }); // }); </script>]]>
1922 <![CDATA[<script> var preloader = document.getElementById('preloader'); if (typeof preloader !== "undefined" && preloader) { document.addEventListener('DOMContentLoaded', function() { setTimeout(() => { // if (document.readyState === "complete") { // Ainda carregando preloader.classList.toggle('loaded') setTimeout(() => { preloader.classList.add('hidden') }, 1000); // } }, 3000); }); } </script>]]>
1938 <![CDATA[<script> let acessoRapido = document.querySelector('a[title="Direcionar para Kennedy Saúde"]'); acessoRapido.title = "Direcionar para Secretaria Municipal de Saúde"; </script>]]>