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

Sites Verificados

Lista com todos os sítios que foram verificados pela TIC Web Acessibilidade. Dentro de cada domínio, há informações detalhadas sobre as páginas coletadas, bem como os erros e avisos de cada uma *.

Endereço Nota Erros Avisos

www.amazonfund.gov.br/en/carteira-de-projetos/

76.83 59 97
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 12 179 189 714 807 809 811 813 815 819 821 823 825
1.1.5 Presença de javascript(s) in-line 7 74 80 186 412 852 859 866
1.1.6 Presença de javascript(s) interno 8 42 48 418 886 893 916 1000 1018
179 <![CDATA[<div class="header__top" style="box-shadow: none !important"> <div> <h1>Projects</h1> <!--<p>updated in ;28/02/2017</p>--> <div class="list-total"><span>102</span> itens</div> </div> <div class="header__links"> <button class="header__pill btn-pill" onclick="showModal('list-filter')" aria-label="filtrar busca">Search filter<i class="icon-search"></i></button> </div> </div>]]>
189 <![CDATA[<a href="javascript:history.back()" class="btn-pill btn-back" style="margin: 1em 0 2em 2.5em"><i class="icon-left-open"></i> voltar</a>]]>
714 <![CDATA[<span style="color: #ffffff; opacity: .8; font-weight: 300; font-size: .85em; margin-bottom: 0.5em; display: inline-block; transition: all .3s ease;">0800 702 6307</span>]]>
807 <![CDATA[<div class="wrap" style="text-align: center;max-width: 57%;"> <div class="rodape-desktop"> <a href="https://www.bndes.gov.br/" target="_blank"><img style=" width: 20%; height: auto;" alt="bndes" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_1.jpg"></a> <a href="https://www.gov.br/mdic/" target="_blank"><img style=" width: 20%; height: auto;" alt="economia" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_2.jpg"></a> <a href="https://www.gov.br/mma/" target="_blank"><img style=" width: 20%; height: auto;" alt="mma" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_3.jpg"></a> <a href="https://www.gov.br/" target="_blank"><img style=" width: 20%; height: auto;" alt="brasil" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_4.jpg"></a> </div> <div class="rodape-mobile"> <a href="https://www.bndes.gov.br/" target="_blank"><img style=" width: 50%; height: auto;" alt="bndes" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_1.jpg"></a> <a href="https://www.gov.br/mdic/" target="_blank"><img style=" width: 50%; height: auto;" alt="economia" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_2.jpg"></a> <a href="https://www.gov.br/mma/" target="_blank"><img style=" width: 50%; height: auto;" alt="mma" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_3.jpg"></a> <a href="https://www.gov.br/" target="_blank"><img style=" width: 50%; height: auto;" alt="brasil" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_4.jpg"></a> </div> </div>]]>
809 <![CDATA[<img style=" width: 20%; height: auto;" alt="bndes" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_1.jpg">]]>
811 <![CDATA[<img style=" width: 20%; height: auto;" alt="economia" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_2.jpg">]]>
813 <![CDATA[<img style=" width: 20%; height: auto;" alt="mma" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_3.jpg">]]>
815 <![CDATA[<img style=" width: 20%; height: auto;" alt="brasil" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_4.jpg">]]>
819 <![CDATA[<img style=" width: 50%; height: auto;" alt="bndes" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_1.jpg">]]>
821 <![CDATA[<img style=" width: 50%; height: auto;" alt="economia" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_2.jpg">]]>
823 <![CDATA[<img style=" width: 50%; height: auto;" alt="mma" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_3.jpg">]]>
825 <![CDATA[<img style=" width: 50%; height: auto;" alt="brasil" src="/export/system/modules/br.gov.bndes.amz/resources/images/rodape_desktop_2023_4.jpg">]]>
74 <![CDATA[<button class="header-button" id="searchBtn" onclick="toogleSearch()"> <span> <span>SEARCH</span> </span> <i class="icon-search"></i> </button>]]>
80 <![CDATA[<button class="header-button" id="menuBtn" onclick="toogleMenu()"><span>MENU</span> <i class="icon-menu-1"></i></button>]]>
186 <![CDATA[<button class="header__pill btn-pill" onclick="showModal('list-filter')" aria-label="filtrar busca">Search filter<i class="icon-search"></i></button>]]>
412 <![CDATA[<button class="btn-pill" type="button" onclick="buscarProjeto()">Find projects</button>]]>
852 <![CDATA[<button aria-label="Contraste" class="access-contrast" onclick="accessContrast()"> <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill="#FFFFFF" d="M16,5.1C10,5.1,5.1,10,5.1,16S10,26.9,16,26.9V5.1z M16,29C8.8,29,3,23.2,3,16S8.8,3,16,3s13,5.8,13,13 S23.2,29,16,29z" /> </svg> </button>]]>
859 <![CDATA[<button aria-label="Zoom in no texto" class="access-zoom-in" onclick="accessZoom(5)"> <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill="#FFFFFF" d="M12.9,7.4l6.6,17.2h-3.7l-1.4-3.8H7.6l-1.4,3.8H2.5L9.2,7.4H12.9z M11,11.5l-0.3,1l-2,5.4h4.7l-2-5.4L11,11.5z" /> <path fill="#FFFFFF" d="M25.9,10.9v3.7h3.6v2.8h-3.6v3.6H23v-3.6h-3.6v-2.8H23v-3.7H25.9z" /> </svg> </button>]]>
866 <![CDATA[<button aria-label="Zoom out no texto" class="access-zoom-out" onclick="accessZoom(-5)"> <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill="#FFFFFF" d="M14.1,7.4l6.6,17.2h-3.7l-1.4-3.8H8.8l-1.4,3.8H3.8l6.6-17.2H14.1z M12.2,11.5l-0.3,1l-2,5.4h4.7l-2-5.4 L12.2,11.5z" /> <path fill="#FFFFFF" d="M28.2,16.8v2.8h-7.7v-2.8H28.2z" /> </svg> </button>]]>
42 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-110261759-1'); </script>]]>
48 <![CDATA[<script type="text/javascript"> var url = decodeURIComponent(window.location.href); console.log(url); var regex = /[!@$^*()\[\]{};'"\\|,<>]/; if (regex.test(url)) { alert("A URL contém caracteres especiais!"); window.stop(); // para o carregamento da página location.href = "https://amz.hom.bndes.net/pt/home/"; } </script>]]>
418 <![CDATA[<script> //Vetor com as categorias selecionadas para filtro var checados = []; $(document).ready(function() { $(".category_exact").click(function(e) { checados = []; $.each($("input[name='Category']:checked"), function(){ checados.push($(this).val()); }); }); }); //Vetor com o status selecionado para filtro var situacoes = []; $(document).ready(function() { $(".Situacao_prop").click(function(e) { situacoes = []; $.each($("input[name='Situacao']:checked"), function(){ situacoes.push($(this).val()); }); }); }); //Vetor com o ano de aprovação selecionado para filtro var anoDeAprovacao = []; $(document).ready(function() { $(".anoDeAprovacao").click(function(e) { anoDeAprovacao = []; $.each($("input[name='Ano']:checked"), function(){ anoDeAprovacao.push($(this).val()); }); }); }); //Função que impede de marcar mais de uma checkbox na parte de "Situações" $(function(){ $('input.Situacao_prop').click(function(){ if($(this).is(":checked")){ $('input.Situacao_prop').attr('disabled',true); $(this).removeAttr('disabled'); }else{ $('input.Situacao_prop').removeAttr('disabled'); } }) }) //Função que impede de marcar mais de uma checkbox na parte de "Data de aprovação" $(function(){ $('input.anoDeAprovacao').click(function(){ if($(this).is(":checked")){ $('input.anoDeAprovacao').attr('disabled',true); $(this).removeAttr('disabled'); }else{ $('input.anoDeAprovacao').removeAttr('disabled'); } }) }) //Função uasada para limpar toda busca. function limparBusca(){ var busca = ''; var link = '/en/projetos/busca/index.html?' + busca; location.href = link; } function buscarProjeto() { //var busca_categoria = 'reloaded&facet_category_exact=' + checados; var busca_categoria = 'reloaded'; var i = 0; while(i < checados.length){ var j = '&facet_category_exact='+checados[i]; busca_categoria += j; i++; } var busca_titulo = $( "input#Title_prop" ).val(); var busca_anome = $( "input#anome_prop" ).val(); var busca_situacao = situacoes[0]; var busca_ano_aprovacao = anoDeAprovacao[0]; var busca_responsavel = $( "input#Responsavel_prop" ).val(); var busca_aresponsavel = $( "input#aresponsavel_prop" ).val(); var erros = []; //Validação Caracter especial para nome e responsavel const caracterEspecial = /[\[\]!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/; if (caracterEspecial.test(busca_titulo)) { erros.push("Nome do projeto é inválido"); } if (caracterEspecial.test(busca_anome)) { erros.push("Invalid project name"); } if (caracterEspecial.test(busca_responsavel)) { erros.push("Responsável inválido"); } if (caracterEspecial.test(busca_aresponsavel)) { erros.push("Invalid responsible"); } if (erros.length > 0) { alert(erros.join("\n")); return; } var status = $("#status0").val(); var status1 = $("#status1").val(); if(false) var busca = (busca_titulo ? '&facet_Title_prop=' + busca_titulo : ''); else var busca = (busca_anome ? '&facet_anome_en=' + busca_anome : ''); if(false) busca += (busca_responsavel ? '&facet_Responsavel_prop=' + busca_responsavel : ''); else busca += (busca_aresponsavel ? '&facet_aresponsavel_en=' + busca_aresponsavel : ''); busca += (busca_situacao !== status ? '&facet_Situacao_prop=' + busca_situacao : ''); busca += (busca_responsavel ? '&facet_Responsavel_prop=' + busca_responsavel : ''); busca = busca_categoria + busca; busca += (busca_ano_aprovacao !== status1 ? '&ano_contratacao=' + busca_ano_aprovacao : ''); var link = '/en/projetos/busca/index.html?' + busca; location.href = link; } document.addEventListener('keydown', function(event){ if (event.which == 13 || event.keyCode == 13) { buscarProjeto(); } } ); </script>]]>
886 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
893 <![CDATA[<script> //Vetor com os links function trataLinks() { var elemento = document.getElementsByTagName("a"); var qntElementos = elemento.length; for (i = 0; i < qntElementos; i++) { var link = elemento[i].href; link = link.replace("http", "https"); link = link.replace("httpss", "https"); link = link.replace("amz.bndes.net", "www.fundoamazonia.gov.br"); elemento[i].href = link; } } trataLinks(); </script>]]>
916 <![CDATA[<script> // ********* ESTILOS ********* $.get('/system/modules/br.gov.bndes.amz/elements/dados-cores-natureza.jsp', function(data) { var coresNatureza = JSON.parse(data).coresPorNatureza; var customStyleFunction = function(feature, resolution) { var natureza = coresNatureza.filter(function(c) {return c.caminho === feature.get("natureza")})[0]; var fillColor = natureza.fillColor; var strokeColor = natureza.strokeColor; return [new ol.style.Style({ image: new ol.style.Circle({ fill: new ol.style.Fill({ color: fillColor }), stroke: new ol.style.Stroke({ color: strokeColor, width: 1 }), radius: (resolution < 2500 ? 4 : 2) }) })]; }; // ********* MARKER ********* var vectorMarkers = new ol.layer.Vector({ name: 'projetos', source: new ol.source.Vector({ url: '/system/modules/br.gov.bndes.amz/elements/coordenadas-mapa-geral.jsp?locale=en', format: new ol.format.GeoJSON() }), style: customStyleFunction }); // ********* MAPA ********* var viewBrasil = new ol.View({ center: ol.proj.transform([-62, -11.5], 'EPSG:4326', 'EPSG:3857'), zoom: 4, minZoom: 3, maxZoom: 9 }); var viewReset = new ol.View({ center: [0, 0], zoom: 2 }); var map = new ol.Map({ layers: [ new ol.layer.Tile({ source: new ol.source.OSM() })], target: 'map', view: viewBrasil }); map.addLayer(vectorMarkers); // --- evita interação map.getInteractions().forEach(function(interaction) { if (interaction instanceof ol.interaction.DragPan) { interaction.setActive(false); } }, this); // --- zoom top fit vectorMarkers.getSource().on("change", function(evt) { extent = vectorMarkers.getSource().getExtent(); map.getView().fit(extent, map.getSize()); // map.getView().setZoom(map.getView().getZoom()); }); // --- esconde os controles de zoom // var hideElements = document.getElementsByClassName("ol-zoom"); // for(var i = 0; i < hideElements.length; i++){ // hideElements[i].style.display = "none"; // } if (document.getElementsByClassName("ol-zoom").length) document.getElementsByClassName("ol-zoom")[0].style.display = "none"; }); // console.log(map.getInteractions()); </script>]]>
1000 <![CDATA[<script> $(function(){ var isMobile = false; if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4))) isMobile = true; if (isMobile){ $('#map-filter').fancybox( {iframe : {css : {width : '100%'} } }); } else { $('#map-filter').fancybox( {iframe : {css : {width : '80%', height : '85%'} } }); } }); </script>]]>
1018 <![CDATA[<script> const urlParams = new URLSearchParams(window.location.search); const myParam = urlParams.getAll('facet_category_exact'); let tagsPesquisa = splitVetor(myParam); const language = 'en'; //Função para pegar os nomes das opções marcadas. function splitVetor(vetor){ //Regex para pegar valor entre barras: var re = /\/([a-z]*)?\// var palavrasSeparadas; var tags = []; var categorias = []; for(var i = 0; i < vetor.length; i++){ palavrasSeparadas = vetor[i].split("/"); tags.push(palavrasSeparadas[1]); categorias.push(palavrasSeparadas[0]); } return {tags, categorias}; }; //Cria os buttons das tags de pesquisa var divPesquisa = document.getElementById("tagsDaPesquisa"); for (var i = 0; i < tagsPesquisa.tags.length; i++){ var button = document.createElement("BUTTON"); var tag = tagsPesquisa.tags[i].replaceAll("-"," "); var categoria = tagsPesquisa.categorias[i].replaceAll("-"," "); button.innerHTML = tag[0].toUpperCase() + tag.substring(1) + "<span id='subtag"+i+"'>"+" "+ categoria[0].toUpperCase() + categoria.substring(1) +"</span>"; button.setAttribute("id", "botao"+i); button.setAttribute("class", "header__filter-item"); button.setAttribute("aria-label", "filtro: (Category)"); button.setAttribute("type", "button"); button.setAttribute("onclick","removetagCategory("+i+")"); divPesquisa.appendChild(button); } var button = document.createElement("BUTTON"); if (language == 'pt'){ button.innerHTML = "Limpar filtros"; } else{ button.innerHTML = "Clear filter"; } button.setAttribute("class", "header__filter-clear"); button.setAttribute("aria-label", "limpar filtros"); button.setAttribute("type", "button"); button.setAttribute("onclick", "limparBusca()"); divPesquisa.appendChild(button); //Função para traduzir as tags para ingles function trataTagsEN(){ for (var i = 0; i < tagsPesquisa.tags.length; i++){ var tagAtual = document.getElementById("botao"+i+"").innerHTML; tagAtual = tagAtual.replace("Ambito chamada publica", "Public call"); tagAtual = tagAtual.replace("Apoio a projetos produtivos sustentaveis", "Support of sustainable productive projects"); tagAtual = tagAtual.replace("Consolidacao e fortalecimento de cadeias de valor sustentaveis e inclusivas", "Consolidation and Strengthening of Sustainable Production Chains"); tagAtual = tagAtual.replace("Projetos voltados ao apoio a pgtas", "Projects focused on support of PGTAs"); tagAtual = tagAtual.replace("Recuperacao da cobertura vegetal", "Vegetation Cover Recovery"); tagAtual = tagAtual.replace("Eixo", "Axis"); tagAtual = tagAtual.replace("Ciencia inovacao e instrumentos economicos", "Science, innovation and economic instruments"); tagAtual = tagAtual.replace("Monitoramento e controle", "Monitoring and control systems"); tagAtual = tagAtual.replace("Ordenamento territorial", "Land use planning"); tagAtual = tagAtual.replace("Producao sustentavel", "Sustainable production"); tagAtual = tagAtual.replace("Local", "Location"); tagAtual = tagAtual.replace("Natureza responsavel", "Organization type"); tagAtual = tagAtual.replace("Estados", "States"); tagAtual = tagAtual.replace("Internacionais", "International"); tagAtual = tagAtual.replace("Municipios", "Municipalities"); tagAtual = tagAtual.replace("Terceiro setor", "Third Sector"); tagAtual = tagAtual.replace("Uniao", "Federal Government"); tagAtual = tagAtual.replace("Universidade", "Universities"); tagAtual = tagAtual.replace("Tema", "Theme"); tagAtual = tagAtual.replace("Assentamento", "Settlement"); tagAtual = tagAtual.replace("Cadastro ambiental rural car", "Rural Environmental Register (CAR)"); tagAtual = tagAtual.replace("Combate a incendios e queimadas", "Combat to illegal fires and burn-offs"); tagAtual = tagAtual.replace("Terras indigenas", "Indigenous lands"); tagAtual = tagAtual.replace("Unidades de conservacao", "Conservation units"); document.getElementById("botao"+i+"").innerHTML = tagAtual } if (document.getElementById("tagSituacao") != null){ var tagAtual = document.getElementById("tagSituacao").innerHTML; tagAtual = tagAtual.replace("Situacao", "Status"); tagAtual = tagAtual.replace("recus", "Declined"); tagAtual = tagAtual.replace("aprov", "Approved"); tagAtual = tagAtual.replace("conclu", "Concluded"); tagAtual = tagAtual.replace("contrat", "Hired"); document.getElementById("tagSituacao").innerHTML = tagAtual } if (document.getElementById("tagAnoContratacao") != null){ var tagAtual = document.getElementById("tagAnoContratacao").innerHTML; tagAtual = tagAtual.replace("Ano de contratação", "Date of approval"); document.getElementById("tagAnoContratacao").innerHTML = tagAtual } } //Função para traduzir as situações nos resultados da pesquisa function trataSituacaoResultadoEN(){ var situacoes = document.getElementsByClassName("project-status"); for (var i = 0; i < situacoes.length; i++){ var situacao = situacoes[i].innerHTML situacao = situacao.replaceAll("concluido","concluded"); situacao = situacao.replace("-concluded","-concluido"); situacao = situacao.replaceAll("aprovado","approved"); situacao = situacao.replace("-approved","-aprovado"); situacao = situacao.replaceAll("contratado","hired"); situacao = situacao.replace("-hired","-contratado"); situacao = situacao.replaceAll("recusado","denied"); situacao = situacao.replace("-denied","-recusado"); (document.getElementsByClassName("project-status"))[i].innerHTML = situacao; } } // Funções para remoção de uma tag, apertando no X ao lado dela. function removetagCategory(num){ var buttonParaRemover = document.getElementById("botao"+num); var tagParaRemover = "&facet_category_exact="+tagsPesquisa.categorias[num]+"/"+tagsPesquisa.tags[num] + "/"; var link = window.location.href.replace(tagParaRemover,""); location.href = link; } function removetagNome(){ var buttonParaRemover = document.getElementById("tagNome").innerHTML; var tagParaRemover = "&facet_Title_prop="+ buttonParaRemover.split("<")[0]; var tagParaRemover = tagParaRemover.replace("ç", "%C3%A7"); tagParaRemover = tagParaRemover.replace("ô", "%C3%B4"); var link = window.location.href.replace(tagParaRemover,""); location.href = link; } function removetagNomeEN(){ var buttonParaRemover = document.getElementById("tagNome").innerHTML; var tagParaRemover = "&facet_anome_en="+ buttonParaRemover.split("<")[0]; var link = window.location.href.replace(tagParaRemover,""); location.href = link; } function removetagResponsavel(){ var buttonParaRemover = document.getElementById("tagResponsavel").innerHTML; var tagParaRemover = "&facet_Responsavel_prop="+ buttonParaRemover.split("<")[0]; var tagParaRemover = tagParaRemover.replace("ç", "%C3%A7"); tagParaRemover = tagParaRemover.replace("ã", "%C3%A3"); var link = window.location.href.replaceAll(tagParaRemover,""); location.href = link; } function removetagResponsavelEN(){ var buttonParaRemover = document.getElementById("tagResponsavel").innerHTML; var tagParaRemover = "&facet_aresponsavel_en="+ buttonParaRemover.split("<")[0]; var link = window.location.href.replaceAll(tagParaRemover,""); location.href = link; } function removetagSituacao(){ var buttonParaTratar = document.getElementById("tagSituacao").innerHTML; if(buttonParaTratar.includes("Concluído")){ document.getElementById("tagSituacao").innerHTML = buttonParaTratar.replace("Concluído", "conclu"); } if(buttonParaTratar.includes("Aprovado")){ document.getElementById("tagSituacao").innerHTML = buttonParaTratar.replace("Aprovado", "aprov"); } if(buttonParaTratar.includes("Contratado")){ document.getElementById("tagSituacao").innerHTML = buttonParaTratar.replace("Contratado", "contrat"); } if(buttonParaTratar.includes("Recusado")){ document.getElementById("tagSituacao").innerHTML = buttonParaTratar.replace("Recusado", "recus"); } var buttonParaRemover = document.getElementById("tagSituacao").innerHTML; var tagParaRemover = "&facet_Situacao_prop="+ buttonParaRemover.split("<")[0]; var link = window.location.href.replaceAll(tagParaRemover,""); location.href = link; } function removetagAnoContratacao(){ var buttonParaRemover = document.getElementById("tagAnoContratacao").innerHTML; var tagParaRemover = "&ano_contratacao="+ buttonParaRemover.split("<")[0]; var link = window.location.href.replaceAll(tagParaRemover,""); location.href = link; } //Arruma o nome da tag de Situacao function trataSituacao(){ var buttonParaTratar = document.getElementById("tagSituacao").innerHTML; if(buttonParaTratar.includes("conclu")){ document.getElementById("tagSituacao").innerHTML = buttonParaTratar.replace("conclu", "Concluído"); } if(buttonParaTratar.includes("aprov")){ document.getElementById("tagSituacao").innerHTML = buttonParaTratar.replace("aprov", "Aprovado"); } if(buttonParaTratar.includes("contrat")){ document.getElementById("tagSituacao").innerHTML = buttonParaTratar.replace("contrat", "Contratado"); } if(buttonParaTratar.includes("recus")){ document.getElementById("tagSituacao").innerHTML = buttonParaTratar.replace("recus", "Recusado"); } } if (language == "en"){ trataTagsEN(); trataSituacaoResultadoEN(); } if (language == "pt"){ trataSituacao(); } </script>]]>