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

Sites Pertecentes a (o) BA

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 6 76 1558 1559 1745 1747 1748
1.1.4 Presença de CSS(s) interno 1 2038
1.1.5 Presença de javascript(s) in-line 32 699 788 792 797 826 832 1620 1646 1674 1702 1729 1756 1782 1816 1816 1816 1816 1816 1816 1816 1816 1816 1816 1816 1816 1816 1816 1816 1816 1816 1816 1820
1.1.6 Presença de javascript(s) interno 9 933 1825 1965 2182 2208 2275 2284 2329 2337
76 <![CDATA[<div class="d-opaticy" style="background-image: url('https://guanambi.ba.gov.br/files/img/binding-light.png')"></div>]]>
1558 <![CDATA[<span class="titulo_principal" style="float:left;">Contratos e Aquisições</span>]]>
1559 <![CDATA[<span id="lastDate" class="titulo_principal" style="float:right;display:none"></span>]]>
1745 <![CDATA[<button style="cursor: pointer; float: right" onClick="document.getElementById('iframeModal').style.display='none'">x</button>]]>
1747 <![CDATA[<div id="content_modal" style="margin-left:10px;margin-right: 10px;"> <iframe id="iframeLicitacoes" style="width:100%;margin-top:5%;"></iframe> </div>]]>
1748 <![CDATA[<iframe id="iframeLicitacoes" style="width:100%;margin-top:5%;"></iframe>]]>
2038 <![CDATA[<style> #satisfacao{ margin-top: 100px; min-height: 200px; margin-bottom: 50px } #satisfacao .satisfacao-header h1{ font-size: 1.5rem; font-weight: bold } #satisfacao .satisfacao-body{ margin-top: 20px; } #satisfacao .satisfacao-body ul{ display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 10px } #satisfacao .satisfacao-body ul li{ display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 20px; border-radius: 10px } #satisfacao .satisfacao-body ul li span{ font-size: 2.5rem; } #satisfacao input, #satisfacao textarea{ width: 100%; padding: 10px; margin-top: 10px; } #satisfacao .satisfacao-message{display: none} #satisfacao .satisfacao-message form ul{ display: flex; flex-wrap: wrap; margin: 0 auto; padding-bottom: 10px; padding-top: 10px; justify-content: space-between; width: 100%; gap:10px } #satisfacao li.face{ -moz-transition:color .2s ease-in; -o-transition:color .2s ease-in; -webkit-transition:color .2s ease-in; cursor: pointer; text-shadow: 1px 0px 0px #0000008f; border: 1px solid } #satisfacao li.face:hover{ text-shadow: 1px 0px 10px #0000008f; } #satisfacao li.very-dissatisfied{color: #ff000094;} #satisfacao li.little-dissatisfied{color: #d6a63e94;} #satisfacao li.neutral{color: #828282;} #satisfacao li.little-satisfied{color: #a7c34ac7;} #satisfacao li.satisfied{color:#009688;} #satisfacao li.very-dissatisfied:hover, #satisfacao li.very-dissatisfied-checked{background-color: #ff000094;color: #fff;} #satisfacao li.little-dissatisfied:hover, #satisfacao li.little-dissatisfied-checked{background-color: #d6a63e94;color: #fff;} #satisfacao li.little-satisfied:hover, #satisfacao li.little-satisfied-checked{background-color: #a7c34ac7;color: #fff;} #satisfacao li.neutral:hover, #satisfacao li.neutral-checked{background-color: #828282;color: #fff;} #satisfacao li.satisfied:hover, #satisfacao li.satisfied-checked{background-color:#009688;color: #fff;} pressed </style>]]>
699 <![CDATA[<label onclick="showAllFilters()" class="d-pointer">Filtrar</label>]]>
788 <![CDATA[<a href="#" title="Todos os serviços" onclick="showMenu(true)">Todos os serviços</a>]]>
792 <![CDATA[<div id="d-accessibility" title="Abrir menu acessibilidade" onclick="accessibilityModal()"> <img src="https://guanambi.ba.gov.br/files/img/acessibilidade.png" alt="Acessibilidade logo" title="Acessibilidade"> <h1>Acessibilidade</h1> </div>]]>
797 <![CDATA[<span id="d-modal-close-accessibility" class="fas fa-times-circle" onclick="accessibilityModal()"></span>]]>
826 <![CDATA[<div class="d-icon-comment btn-green" onclick="showContactModal()" title="Fale com a Prefeitura"> <img src="https://guanambi.ba.gov.br/files/img/batpapo.png" alt="bat-papo"> </div>]]>
832 <![CDATA[<span id="d-modal-close" class="fas fa-times-circle" onclick="showContactModal()"></span>]]>
1620 <![CDATA[<a href="https://guanambi.ba.gov.br/relatorio/exportar_v2/contratos-covid/pdf" onclick="processPDF()"> <img src="https://guanambi.ba.gov.br/files/img/exportar/pdf.png" alt="PDF"> </a>]]>
1646 <![CDATA[<a href="#" onclick="event.preventDefault();loadComplementsOrigem(158288)" target="_blank" title="Clique aqui para visualizar">Arquivo de Origem</a>]]>
1674 <![CDATA[<a href="#" onclick="event.preventDefault();loadComplementsOrigem(157486)" target="_blank" title="Clique aqui para visualizar">Arquivo de Origem</a>]]>
1702 <![CDATA[<a href="#" onclick="event.preventDefault();loadComplementsOrigem(155811)" target="_blank" title="Clique aqui para visualizar">Arquivo de Origem</a>]]>
1729 <![CDATA[<a href="#" onclick="event.preventDefault();loadComplementsOrigem(152871)" target="_blank" title="Clique aqui para visualizar">Arquivo de Origem</a>]]>
1756 <![CDATA[<button class="btn-close" onclick="closeModal('miniModalRequest')">x</button>]]>
1782 <![CDATA[<button class="btn-close" onclick="closeModal('miniModalOrigem')">x</button>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(2);">2</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(3);">3</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(4);">4</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(5);">5</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(6);">6</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(7);">7</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(8);">8</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(9);">9</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(10);">10</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(11);">11</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(12);">12</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(13);">13</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(14);">14</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(15);">15</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(16);">16</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(17);">17</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(18);">18</a>]]>
1816 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(19);">19</a>]]>
1820 <![CDATA[<a href="javascript:;" target="_top" onclick="return pagina(2);"><i class="next"></i>PRÓXIMA</a>]]>
933 <![CDATA[<script> $(document).ready(function () { $('#nav-icon4').click(function () { $(this).toggleClass('open'); let fclass = $(this).attr("class"); if (fclass === "open") { showMenu(false); } else { $(".d-actions-items").show(); $(".d-m-h").css("display", "none").addClass("d-hide"); $("#d-container").css("height", "100vh"); } $("#d-container.d-diversos").height($("#d-menu").height()); $("#d-container").css('min-height', (parseInt($(".d-menu-helper").height())+150)+'px' ); $("#d-container.d-diversos").css('min-height', (parseInt($(".d-menu-helper").height())+100)+'px' ); }); $("body .uwy.userway_p1 .uai").css("right", "0"); sessionStorage.setItem("img-back", 0); }); function slidShow(){ let img_atual = parseInt(sessionStorage.getItem("img-back")); img_atual++; if(img_atual >= $(".img-back").length){ img_atual = 0; } $(".img-back").addClass("d-hide"); $("#banner_fundo"+img_atual).removeClass("d-hide"); sessionStorage.setItem("img-back", img_atual); } function showContactModal() { if ($("#d-modal-comment").css("display") == "none") { $(".d-icon-comment").removeClass("btn-green").addClass("btn-grey"); $("#d-modal-comment").css("display", "flex"); }else{ $(".d-icon-comment").addClass("btn-green").removeClass("btn-grey"); $("#d-modal-comment").css("display", "none"); } } function showMenu(toogle = false) { if (toogle) { $('#nav-icon4').toggleClass('open'); } $(".d-actions-items").hide(); $(".d-m-h").css("display", "flex").removeClass("d-hide"); $("#d-container").css("height", "auto"); } function removeAcento(text) { text = text.toLowerCase(); text = text.replace(new RegExp('[ÁÀÂÃ]','gi'), 'a'); text = text.replace(new RegExp('[ÉÈÊ]','gi'), 'e'); text = text.replace(new RegExp('[ÍÌÎ]','gi'), 'i'); text = text.replace(new RegExp('[ÓÒÔÕ]','gi'), 'o'); text = text.replace(new RegExp('[ÚÙÛ]','gi'), 'u'); text = text.replace(new RegExp('[Ç]','gi'), 'c'); return text; } function setFilter() { let filter = $("#filter").val(); //Oculta e mostra as linhas $(".d-swap ul li .d-swap-itens li a").each(function () { let source = ($(this).data("source")); let target = $(this).parent("li"); if (removeAcento(source).toLowerCase().search(removeAcento(filter).toLowerCase()) == -1) { target.css("display", "none"); } else { target.css("display", "block"); } }); //Oculta e mostra os h2 for (let index = 1; index <= $(".d-swap ul li .d-swap-itens").length; index++) { let hide = true; $(".d-swap ul li #dsi-" + index + " li").each(function () { if ($(this).css("display") != "none") { hide = false; } }); if (hide) { $(".d-swap ul li #dsi-" + index).parent().css("display", "none"); } else { $(".d-swap ul li #dsi-" + index).parent().css("display", "block"); } } //Oculta e mostra os h1 for (let index = 0; index < $(".d-swap").length; index++) { let hide = true; for (let sub = 1; sub <= $(".d-swap ul li .d-swap-itens").length; sub++) { $("#ds-"+index+" ul li #dsi-" + sub + " li").each(function () { if ($(this).css("display") != "none") { hide = false; } }); } if (hide) { $("#ds-"+index+" h1").css("display", "none"); } else { $("#ds-"+index+" h1").css("display", "block"); } } } function showAllFilters() { if ($("#d-all-filters").css("display") === "none") { $("#d-all-filters").css("display", "flex"); } else { $("#d-all-filters").css("display", "none"); } } $("#enviar").click(function(event){ const form = "#contact-form-top "; event.preventDefault(); let errors = ""; if($(form+" #nome").val() == ""){ errors += '* O <b>Nome</b> não pode ficar em branco <br>'; } if($(form+" #telefone1").val() == ""){ errors += '* O <b>Telefone 1</b> não pode ficar em branco <br>'; } if($(form+" #email").val() == ""){ errors += '* O <b>E-mail</b> não pode ficar em branco <br>'; } if($(form+" #assunto").val() == ""){ errors += '* O <b>Assunto</b> não pode ficar em branco <br>'; } if($(form+" #mensagem").val() == ""){ errors += '* O <b>Mensagem</b> não pode ficar em branco <br>'; } if(errors.length > 0){ Swal.fire({ icon: 'error', title: 'Encontramos os seguinte(s) erro(s)', html: errors, }); }else{ $("#contact-form-top").submit(); } }); </script>]]>
1825 <![CDATA[<script> function loadComplementsOrigem(codigo){ window.location.href='#contratos_covid'; $.ajax({ url : 'https://api.procedebahia.com.br/publication/'+codigo, type : 'get', data : {}, beforeSend : function(){ openModal('miniModalOrigem'); $('#tableMiniModalOrigem>tbody>tr').empty() .append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>') .append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>') .append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>') .append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>'); } }).done(function(msg){ $('#tableMiniModalOrigem>tbody>tr').empty(); if((msg.publicacao_data != null) && (msg.publicacao_data.length > 0)){ const publicacao_data = new Intl.DateTimeFormat('pt-BR').format(new Date(msg.publicacao_data)); $('#tableMiniModalOrigem>tbody>tr').append(`<td class="tg-d5um" style="padding:4px;text-align:center">${publicacao_data}</td>`); }else{ $('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>'); } if((msg.titulo != null) && (msg.titulo.length > 0)){ $('#tableMiniModalOrigem>tbody>tr').append(`<td class="tg-d5um" style="padding:4px;text-align:center">${msg.titulo}</td>`); }else{ $('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>'); } if((msg.arquivo != null) && (msg.arquivo.length > 0)){ $('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center"><a href="'+msg.arquivo+'" title="'+msg.titulo+'" target="_blank" class="fas fa-eye d-open" style="font-size:20px;color:black"></a></td>'); }else{ $('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>'); } if((msg.cod_diario != null) && (msg.cod_diario > 0)){ $('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center"><a href="#" title="Clique para visualizar mais detalhes" class="fas fa-book-open d-open" style="font-size:20px;color:black" onClick="loadComplements('+codigo+')"></a></td>'); }else{ $('#tableMiniModalOrigem>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>'); } }).fail(function(jqXHR, textStatus, msg){ Swal.fire({ icon: 'error', title: 'Oops...', text: 'Não conseguimos conexão com o servidor, tente novamente em instantes!' }); }); } function loadComplements(codigo){ $.ajax({ url : 'https://api.procedebahia.com.br/contract/third', type : 'get', data : { cod_publish : codigo, }, beforeSend : function(){ openModal('miniModalRequest'); $('#tableminiModalRequest>tbody>tr').empty() .append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>') .append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>') .append('<td class="tg-d5um" style="padding:4px;text-align:center"><label class="fas fa-spinner fa-pulse" style="font-size:20px"></label></td>'); } }).done(function(msg){ $('#tableminiModalRequest>tbody>tr').empty(); if(msg.diary != null){ $('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center"><a href="'+msg.diary.arquivo+'" title="'+msg.diary.resume+'" target="_blank" class="fas fa-eye" style="font-size:20px;color:black"></a></td>'); }else{ $('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>'); } if(msg.postOffice != null){ $('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center"><a href="'+msg.postOffice.arquivo+'" title="'+msg.postOffice.resume+'" target="_blank" class="fas fa-eye" style="font-size:20px;color:black"></a></td>'); }else{ $('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>'); } if(msg.union != null){ $('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center"><a href="'+msg.union.arquivo+'" title="'+msg.union.resume+'" target="_blank" class="fas fa-eye" style="font-size:20px;color:black"></a></td>'); }else{ $('#tableminiModalRequest>tbody>tr').append('<td class="tg-d5um" style="padding:4px;text-align:center">--</td>'); } }).fail(function(jqXHR, textStatus, msg){ Swal.fire({ icon: 'error', title: 'Oops...', text: 'Não conseguimos conexão com o servidor, tente novamente em instantes!' }); }); } $(document).ready(function(){ if(document.getElementById('lastDate')){ document.getElementById('lastDate').style.display = "block"; document.getElementById('lastDate').innerHTML = "Última Atualização: 25/03/2020 às 13:20:33 "; } $(".shadowbox").each(function () { let source = ($(this).data("code")); loadItensTerceiro(source); }); }); function loadItensTerceiro(codigo){ $.ajax({ type: 'get', dataType: 'json', url: 'http://demonstracao.procedebahia.com.br/laravel/api/publication/'+codigo, beforeSend: function () {}, data: {}, success: function (retorno) { let url = "http://www.procedebahia.com.br/guanambi/publicacoes/"; if(retorno[0].correio != null){ $("#ItemShadow-"+codigo).append('<a href="'+url+'/'+retorno[0].correio+'" target="_blank" title="Clique aqui para visualizar">Correio da Bahia</a>'); } if(retorno[0].uniao != null){ $("#ItemShadow-"+codigo).append('<a href="'+url+'/'+retorno[0].uniao+'" target="_blank" title="Clique aqui para visualizar">Diário União</a>'); } }, error: function (error) { console.error("atualize a pagina"); } }); } function abrirModalIframe(codigo) { const cidade = "guanambi"; $("#iframeLicitacoes").attr("src", "http://procedebahia.com.br/ba/"+cidade+"/api-publicacoes/iframe/"+codigo) document.getElementById('iframeModal').style.display = 'block'; window.location.href='#iframeModal'; } </script>]]>
1965 <![CDATA[<script> window.addEventListener('message', function (event) { if (event.data.viz == "LastDateTime") { var data = event.data; let lastDate = (data.ultimaData).split('-'); document.getElementById('lastDate').innerHTML = "Última Atualização: "+lastDate[2]+ '/'+lastDate[1]+'/'+lastDate[0]+" às "+data.ultimaHora; if((lastDate.length > 1) && (typeof lastDate[2] !== "undefined")){ document.getElementById('lastDate').style.display= 'block'; }else{ document.getElementById('lastDate').style.display= 'none'; } } }, false); window.addEventListener('message', function (event) { if (event.data.viz == "scrollTop") { $('html, body').animate({scrollTop: ($('#transparencia').offset().top) - 100}, 'slow'); } }, false); function hideLoading() { document.getElementById('divLoading').style.display = "none"; document.getElementById('iframe_transparencia').style.display = "block"; } setAlturaFrame(); function setAlturaFrame(){ window.addEventListener('message', function (event) { if((document.getElementById("iframe_transparencia")) && (event.data.location == document.getElementById("iframe_transparencia").contentWindow.location.href)){ document.getElementById('iframe_transparencia').style.height = event.data.largura+'px'; } }, false); } window.setInterval("setAlturaFrame()", 2000); function setFilterTransparency() { let filter = $("#buscaTransparencia").val(); $(".dt-label").each(function () { let search = $(this).html(); if (removeAcento(search).toLowerCase().search(removeAcento(filter).toLowerCase()) == -1) { $(this).closest('li').hide(); }else{ $(this).parent().parent().parent().parent().parent().show(); $(this).closest('li').show(); } }); $(".dt-ul-block-list li a").each(function () { let search = $(this).html(); if (removeAcento(search).toLowerCase().search(removeAcento(filter).toLowerCase()) == -1) { $(this).closest('li').hide(); }else{ $(this).closest('li').show(); $(this).parent().parent().parent().parent().show(); $(this).parent().parent().parent().parent().parent().parent().show(); $(this).parent().parent().parent().parent().parent().parent().parent().parent().parent().show(); } }); } </script>]]>
2182 <![CDATA[<script> function setExperienceResponse(el, ref){ clearExperienceResponse(); let action = ($(el)[0].className).replace('face ', ''); if(!$(el).hasClass(action+'-checked')){ $(el).addClass(action+'-checked'); $('.satisfacao-message').css('display','block'); $('#actionRef').val(ref); }else{ $('.satisfacao-message').css('display','none'); $('#actionRef').val(0); } } function clearExperienceResponse(){ $('.face').map(function(index, value){ let ref = $(value).data('ref'); $(value).removeClass().addClass('face').addClass(ref); }); } </script>]]>
2208 <![CDATA[<script> $(document).ready(function(){ $("#d-container.d-diversos").height($("#d-menu").height()); }); window.addEventListener('resize', function() { $("#d-container.d-diversos").height($("#d-menu").height()); }); </script>]]>
2275 <![CDATA[<script> $( document ).ready(function() { $('#vLibras').append("<div vw class='enabled'><div vw-access-button class='active'></div><div vw-plugin-wrapper><div class='vw-plugin-top-wrapper'></div></div></div>"); new window.VLibras.Widget('https://vlibras.gov.br/app'); }); </script>]]>
2284 <![CDATA[<script> $(document).ready(function(){ if(!sessionStorage.getItem("messager-footer")){ sessionStorage.setItem("messager-footer", "true"); } if(sessionStorage.getItem("messager-footer") == "true"){ $("#messager-footer").removeClass("d-hide"); } }); function disabledMessFooter(){ $("#messager-footer").addClass("d-hide"); sessionStorage.setItem("messager-footer", "false"); } var id = new Object(); id = ["#navega h2/9/19", "#navega a/9/19", "#navega li/9/19", "#pagina_lei p/13/23", "#pagina_lei li/9/19", "#transparencia span/8/18", "#transparencia h1/20/30", "#transparencia h2/25/35", "#transparencia a/9/19", "#secretarias a/12/21"]; var swiper = new Swiper('#topo', { // pagination: '.swiper-pagination', nextButton: '.swiper-button-next', prevButton: '.swiper-button-prev', paginationClickable: true, // Disable preloading of all images preloadImages: true, // Enable lazy loading lazyLoading: true, centeredSlides: true, direction: 'horizontal', autoplay: 5000, autoplayDisableOnInteraction: false }); (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>]]>
2329 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-PC0YMJZK4D'); </script>]]>
2337 <![CDATA[<script> var link = document.createElement('meta'); link.setAttribute('property', 'og:url'); link.content = document.location; document.getElementsByTagName('head')[0].appendChild(link); </script>]]>