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
2.2 Garantir que os objetos programáveis sejam acessíveis.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
2.2.6 Presença do elemento SCRIPT sem o elemento NOSCRIPT 9 16 51 94 411 422 432 808 809 813
16 <![CDATA[<script>(function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start' : new Date().getTime(), event : 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-PMBQH65'); </script>]]>
51 <![CDATA[<script type="text/javascript"> //<![CDATA[ var PageMethods = function() { PageMethods.initializeBase(this); this._timeout = 0; this._userContext = null; this._succeeded = null; this._failed = null; } PageMethods.prototype = { _get_path:function() { var p = this.get_path(); if (p) return p; else return PageMethods._staticInstance.get_path();}, ListarLicitacoesJSON:function(jsonView,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'ListarLicitacoesJSON',false,{jsonView:jsonView},succeededCallback,failedCallback,userContext); }, ListarFasesLicitacoesJSON:function(jsonView,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'ListarFasesLicitacoesJSON',false,{jsonView:jsonView},succeededCallback,failedCallback,userContext); }} PageMethods.registerClass('PageMethods',Sys.Net.WebServiceProxy); PageMethods._staticInstance = new PageMethods(); PageMethods.set_path = function(value) { PageMethods._staticInstance.set_path(value); } PageMethods.get_path = function() { return PageMethods._staticInstance.get_path(); } PageMethods.set_timeout = function(value) { PageMethods._staticInstance.set_timeout(value); } PageMethods.get_timeout = function() { return PageMethods._staticInstance.get_timeout(); } PageMethods.set_defaultUserContext = function(value) { PageMethods._staticInstance.set_defaultUserContext(value); } PageMethods.get_defaultUserContext = function() { return PageMethods._staticInstance.get_defaultUserContext(); } PageMethods.set_defaultSucceededCallback = function(value) { PageMethods._staticInstance.set_defaultSucceededCallback(value); } PageMethods.get_defaultSucceededCallback = function() { return PageMethods._staticInstance.get_defaultSucceededCallback(); } PageMethods.set_defaultFailedCallback = function(value) { PageMethods._staticInstance.set_defaultFailedCallback(value); } PageMethods.get_defaultFailedCallback = function() { return PageMethods._staticInstance.get_defaultFailedCallback(); } PageMethods.set_enableJsonp = function(value) { PageMethods._staticInstance.set_enableJsonp(value); } PageMethods.get_enableJsonp = function() { return PageMethods._staticInstance.get_enableJsonp(); } PageMethods.set_jsonpCallbackParameter = function(value) { PageMethods._staticInstance.set_jsonpCallbackParameter(value); } PageMethods.get_jsonpCallbackParameter = function() { return PageMethods._staticInstance.get_jsonpCallbackParameter(); } PageMethods.set_path("licitacoescovid19graficos.aspx"); PageMethods.ListarLicitacoesJSON= function(jsonView,onSuccess,onFailed,userContext) {PageMethods._staticInstance.ListarLicitacoesJSON(jsonView,onSuccess,onFailed,userContext); } PageMethods.ListarFasesLicitacoesJSON= function(jsonView,onSuccess,onFailed,userContext) {PageMethods._staticInstance.ListarFasesLicitacoesJSON(jsonView,onSuccess,onFailed,userContext); } //]]> </script>]]>
94 <![CDATA[<script type="text/javascript"> //<![CDATA[ Sys.Application.setServerId("smaMasterPrincipal", "ctl00$smaMasterPrincipal"); Sys.Application._enableHistoryInScriptManager(); //]]> </script>]]>
411 <![CDATA[<script> new window.VLibras.Widget('https://vlibras.gov.br/app'); </script>]]>
422 <![CDATA[<script> function AtribuirMascaras() { j("#cphMasterPrincipal_txtDataInicial").mask("99/9999"); j("#cphMasterPrincipal_txtDataFinal").mask("99/9999"); } window.onload = () => { MostrarGrafico(); } </script>]]>
432 <![CDATA[<script> /* Variaveis */ var colsX = []; var faseAtual = ""; var d3locale = d3.formatDefaultLocale({ "decimal": ",", "thousands": ".", "grouping": [3], "currency": ["R$", ""] }); /* FIM Variaveis */ // Utiliza as funções abaixo para preencher os gráficos. var graficoBarraOrgao = c3.generate({ bindto: '#graficoBarraOrgao', data: { json: [], type: 'bar', labels: { format: d3locale.format("$,.2f") }, empty: { label: { text: "Nenhuma informação foi encontrada." } } }, size: { width: 930, height: 380 }, axis: { x: { type: 'category', tick: { multiline: false, } }, y: { show: true, tick: { format: function (value) { return d3.format(",.4s")(value); }, rotate: 10, }, label: { text: 'Valor Total', position: 'outer-center' } }, rotated: true, }, legend: { show: false, }, interaction: { enabled: true }, tooltip: { format: { title: function (x) { return getNomeOrgao(colsX[x]); }, name: function (name, ratio, id, index) { return "Valor " + faseAtual; }, value: function (value, ratio, id) { var format = d3locale.format("$,.2f"); return format(value); } } }, color: { pattern: ['#72ae28', '#174a8c', '#757f80', '#db2e2e', '#3187bb', '#22c2d5'] } }); var graficoPizzaModalidade = c3.generate({ bindto: '#graficoPizzaModalidade', data: { json: [], keys: { value: ['Modalidade'], }, empty: { label: { text: "Nenhuma informação foi encontrada." } }, type: 'pie', }, pie: { label: { format: function (value, ratio, id) { var format = d3locale.format("$,.2f"); return format(value); }, } }, tooltip: { format: { value: function (value, ratio, id) { var format = d3locale.format("$,.2f"); return format(value); } } }, legend: { show: true, }, color: { pattern: ['#22c2d5', '#db2e2e', '#72ae28', '#174a8c', '#ffbc00', '#4ea8a6', '#3187bb', '#c36514'] } }); var graficoBarraFases = c3.generate({ bindto: '#graficoBarraFases', data: { json: [], keys: { x: 'Modalidade', value: ["ValorTotal"] }, color: function (color, d) { var patrn = ['#4ea8a6', '#e6b626', '#599308', '#174a8c'] return d.id ? patrn[d.index] : color; }, type: 'bar', labels: { format: d3locale.format("$,.2f") }, empty: { label: { text: "Nenhuma informação foi encontrada." } } }, size: { width: 930, height: 380 }, axis: { x: { type: 'category', tick: { multiline: true } }, y: { show: true, tick: { format: function (value) { return d3locale.format("$,")(value); }, rotate: 10, }, label: { text: 'Valor Total', position: 'outer-middle' } }, rotated: false, }, legend: { show: false, }, interaction: { enabled: true }, tooltip: { format: { name: function (name, ratio, id, index) { if (index == 0) return "Total Empenhado"; else if (index == 1) return "Total Liquidado"; else if (index == 2) return "Total Pago"; }, //title: function (d) { return 'Data ' + d; }, value: function (value, ratio, id) { var format = d3locale.format("$,.2f"); return format(value); } } }, color: { pattern: ['#4ea8a6', '#e6b626', '#34404e', '#174a8c', '#757f80', '#db2e2e', '#3187bb', '#22c2d5'] } }); function MostrarGrafico() { j("#uppMasterPrincipal").show(); graficoBarraOrgao.element.classList.add("graficoFull"); graficoPizzaModalidade.element.classList.add("graficoFull"); graficoBarraFases.element.classList.add("graficoFull"); PageMethods.set_path("/sgp/licitacoescovid19graficos.aspx"); var jsonView = MontarFiltrosGraficos(); PageMethods.ListarLicitacoesJSON(jsonView, OnSucesso, OnErro); PageMethods.ListarFasesLicitacoesJSON(jsonView, OnSucessoFases, OnErro); } function MontarFiltrosGraficos() { var objectView = new Object(); objectView.Mes = j("[id*=ddlMes]").val(); objectView.Ano = j("[id*=ddlAno]").val(); var codigoOrgao = j("[id*=ddlOrgao] option:selected").val(); if (codigoOrgao == "Todos") codigoOrgao = ""; objectView.Orgao = codigoOrgao; var fase = j("[id*=rblFaseLicitacao] :checked").val(); objectView.Fase = fase; if (fase == 0) faseAtual = "Empenhado"; else if (fase == 1) faseAtual = "Liquidado"; else if (fase == 2) faseAtual = "Pago"; return JSON.stringify(objectView); } function OnSucesso(result) { var dadosGrafico = JSON.parse(result); var formar = d3locale.format("$,.2f") colsX = []; var valorSomado = 0; var dataPie = {}; dadosGrafico.Orgaos.forEach(function (e, index) { colsX.push(e.SiglaOrgao.trim()); dataPie[e.NomeOrgao] = e.ValorTotal; valorSomado += e.ValorTotal; }); /* * * ORGÃO * * */ graficoBarraOrgao.unload({ done: function () { //resize graficoBarraOrgao.resize({ width: 900, height: 550 }); //load graficoBarraOrgao.load({ json: dadosGrafico.Orgaos, keys: { x: 'SiglaOrgao', value: ['ValorTotal'] }, type: 'bar', done: function () { j("#TotalPorOrgao").text("Total " + faseAtual + ": " + formar(valorSomado)); graficoBarraOrgao.element.classList.remove("graficoFull"); } }); } }); /* * * MODALIDADE * * */ graficoPizzaModalidade.unload({ done: function () { //resize graficoPizzaModalidade.resize({ width: 900, height: 500 }); //load graficoPizzaModalidade.load({ json: dadosGrafico.Modalidades, type: 'pie', done: function () { setTimeout(function () { var partes = graficoPizzaModalidade.element.getElementsByClassName("c3-chart-arc"); for (let item of partes) { var attr = item.getElementsByTagName("text")[0].getAttribute("transform"); var values = attr.replace("translate(", "").replace(")", "").split(','); if (parseFloat(values[0]) > 0) attr = "translate(" + (parseFloat(values[0]) - 25).toString() + "," + parseFloat(values[1]).toString() + ")"; else attr = "translate(" + (parseFloat(values[0]) + 25).toString() + "," + parseFloat(values[1]).toString() + ")"; item.getElementsByTagName("text")[0].setAttribute("transform", attr); } }, 500); j("#TotalPorModalidade").text("Total " + faseAtual + ": " + formar(valorSomado)); } }); } }); setTimeout(function () { j("#uppMasterPrincipal").hide(); }, 5000); } function OnSucessoFases(result) { var fasesGrafico = JSON.parse(result); var formar = d3locale.format("$,.2f"); graficoBarraFases.unload({ done: function () { //resize graficoBarraFases.resize({ width: 900, height: 550 }); //load graficoBarraFases.load({ json: fasesGrafico, keys: { x: 'Modalidade', value: ['ValorTotal'] }, type: 'bar', done: function () { graficoBarraFases.element.classList.remove("graficoFull"); //graficoBarraFases.element.classList.remove("graficoFull"); j("#uppMasterPrincipal").hide(); } }); } }); } function OnErro(result) { alert("Ocorreu um ao tentar preencher o gráfico: " + result._message); } function getNomeOrgao(sigla) { if (sigla == 'FAAC') return 'FUNDO DE ABASTECIMENTO ALIMENTAR DE CURITIBA'; else if (sigla == 'FAS') return 'FUNDAÇÃO DE AÇÃO SOCIAL'; else if (sigla == 'FCC') return 'FUNDAÇÃO CULTURAL DE CURITIBA'; else if (sigla == 'FMAS') return 'FUNDO MUNICIPAL DE ASSISTÊNCIA SOCIAL'; else if (sigla == 'FMS') return 'FUNDO MUNICIPAL DA SAÚDE'; else if (sigla == 'IMAP') return 'INSTITUTO MUNICIPAL DE ADMINISTRAÇÃO PÚBLICA'; else if (sigla == 'IMT') return 'INSTITUTO MUNICIPAL DE TURISMO'; else if (sigla == 'SMAP') return 'SECRETARIA MUNICIPAL DE ADMINISTRAÇÃO E DE GESTÃO DE PESSOAL'; else if (sigla == 'SMCR') return 'SECRETARIA MUNICIPAL DA CRIANÇA'; else if (sigla == 'SMDT') return 'SECRETARIA MUNICIPAL DA DEFESA SOCIAL E TRÂNSITO'; else if (sigla == 'SME') return 'SECRETARIA MUNICIPAL DA EDUCAÇÃO'; else if (sigla == 'SMMA') return 'SECRETARIA MUNICIPAL DO MEIO AMBIENTE'; else if (sigla == 'SMSAN') return 'SECRETARIA MUNICIPAL DE SEGURANÇA ALIMENTAR E NUTRICIONAL'; else if (sigla == 'SMU') return 'SECRETARIA MUNICIPAL DO URBANISMO'; else return sigla; } </script>]]>
808 <![CDATA[<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create','UA-16502298-2','auto');ga('send','pageview');</script>]]>
809 <![CDATA[<script type="text/javascript"> //<![CDATA[ AtribuirMascaras();//]]> </script>]]>
813 <![CDATA[<script type='text/javascript'>new Sys.WebForms.Menu({ element: 'menuTopo', disappearAfter: 500, orientation: 'horizontal', tabIndex: 0, disabled: false });</script>]]>