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

Sites Pertecentes a (o) DF

Endereço Nota Erros Avisos

www.ssp.df.gov.br/index.html?p=19354

77.23 31 333
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 5 92 162 207 329 366
1.1.4 Presença de CSS(s) interno 2 39 62
1.1.6 Presença de javascript(s) interno 4 34 375 726 736
1.1.8 Não foram respeitados os Padrões Web CSS 253 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
92 <![CDATA[<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1" style="background-color: white; font-family: 'Titillium Web', sans-serif;"> <ul class="nav navbar-nav"> <div class="menu-sobre-a-secretaria-container"><ul id="menu-sobre-a-secretaria" class="menu"><li id="menu-item-1329" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-1329"><a href="http://www.ssp.df.gov.br/category/sobre-a-secretaria/">Sobre a secretaria</a> <ul class="sub-menu"> <li id="menu-item-1327" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-1327"><a href="http://www.ssp.df.gov.br/a-secretaria/">A Secretaria</a></li> <li id="menu-item-1341" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-1341"><a href="http://www.ssp.df.gov.br/estrutura/">Estrutura</a></li> <li id="menu-item-1328" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-1328"><a href="http://www.ssp.df.gov.br/perfil-do-secretario/">Secretário de Segurança Pública</a></li> <li id="menu-item-6483" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-6483"><a href="http://www.ssp.df.gov.br/perfil-secretario-adjunto/">Secretário Executivo de Segurança Pública</a></li> <li id="menu-item-27406" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-27406"><a href="http://www.ssp.df.gov.br/secretario-executivo-de-gestao-integrada/">Secretário Executivo de Gestão Integrada</a></li> <li id="menu-item-1339" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-1339"><a href="http://www.ssp.df.gov.br/perfil-dos-subsecretarios/">Perfil dos subsecretários</a></li> <li id="menu-item-13843" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-13843"><a href="http://www.ssp.df.gov.br/subsecretarias/">Subsecretarias</a></li> <li id="menu-item-1343" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-1343"><a href="http://www.ssp.df.gov.br/quem-e-quem/">Quem é quem</a></li> <li id="menu-item-18869" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-18869"><a href="http://www.ssp.df.gov.br/agenda-do-secretario/">Agenda Secretário</a></li> <li id="menu-item-21223" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-21223"><a href="http://www.ssp.df.gov.br/atas-das-reunioes-do-comite-de-governanca-e-estrategia/">Governança e Estratégia</a></li> <li id="menu-item-1340" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-1340"><a href="http://www.ssp.df.gov.br/base-juridica/">Base Jurídica</a></li> </ul> </li> <li id="menu-item-1365" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-1365"><a href="http://www.ssp.df.gov.br/sala-de-imprensa/">Sala de Imprensa</a></li> <li id="menu-item-1230" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-1230"><a href="http://www.ssp.df.gov.br/category/carta-de-servicos/">Serviços</a> <ul class="sub-menu"> <li id="menu-item-21043" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-21043"><a target="_blank" rel="noopener noreferrer" href="http://www.ssp.df.gov.br/category/carta-de-servicos/">Carta de Serviços</a></li> <li id="menu-item-21044" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-21044"><a target="_blank" rel="noopener noreferrer" href="http://www.ssp.df.gov.br/canais-de-atendimento/">Informações</a></li> </ul> </li> <li id="menu-item-6379" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-has-children menu-item-6379"><a href="http://www.ssp.df.gov.br/outros-portais/">Outros portais</a> <ul class="sub-menu"> <li id="menu-item-8024" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-8024"><a href="http://sigeo.ssp.df.gov.br">SSP/DF &#8211; SIGEO</a></li> <li id="menu-item-6382" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-6382"><a href="http://sesipe.ssp.df.gov.br/">Sistema Penitenciário</a></li> <li id="menu-item-6383" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-6383"><a href="http://www.pmdf.df.gov.br/site/">Polícia Militar</a></li> <li id="menu-item-6384" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-6384"><a href="http://www.pcdf.df.gov.br/">Polícia Civil</a></li> <li id="menu-item-6385" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-6385"><a href="http://www.cbm.df.gov.br/">Corpo de Bombeiros Militar</a></li> <li id="menu-item-6386" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-6386"><a href="http://www.detran.df.gov.br/">Departamento de Trânsito (Detran)</a></li> <li id="menu-item-6388" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-6388"><a href="http://www.casamilitar.df.gov.br/">Casa Militar</a></li> </ul> </li> <li id="menu-item-9066" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-9066"><a href="http://www.ssp.df.gov.br/estatisticas/">Estatísticas e Relatórios</a></li> <li id="menu-item-12023" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-12023"><a href="http://www.ssp.df.gov.br/category/concursos/">Concursos</a> <ul class="sub-menu"> <li id="menu-item-29809" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-29809"><a href="http://www.ssp.df.gov.br/concurso-cultural-para-colegios-civico-militares/">Concurso Cultural Colégios Cívico-Militares</a></li> </ul> </li> </ul></div> </ul> </div>]]>
162 <![CDATA[<img src="http://www.ssp.df.gov.br/wp-conteudo/themes/site-secretarias/img/ico-vlibras.svg" alt="Vlibras" style="margin-bottom: -4px;" />]]>
207 <![CDATA[<img src="http://www.ssp.df.gov.br/wp-conteudo/themes/site-secretarias/img/ico-logo-gdf.svg" alt="Governo do Distrito Federal" style="height:100px"/>]]>
329 <![CDATA[<div class="icones-de-categoria" style=""> <!-- javascript --> </div>]]>
366 <![CDATA[<div class="area-carregando" style="text-align: center; color: gray; font-size: 40px;"> Carregando agenda... </div>]]>
39 <![CDATA[<style type="text/css"> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style>]]>
62 <![CDATA[<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>]]>
34 <![CDATA[<script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/www.ssp.df.gov.br\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.4.1"}}; /*! This file is auto-generated */ !function(e,a,t){var r,n,o,i,p=a.createElement("canvas"),s=p.getContext&&p.getContext("2d");function c(e,t){var a=String.fromCharCode;s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,e),0,0);var r=p.toDataURL();return s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,t),0,0),r===p.toDataURL()}function l(e){if(!s||!s.fillText)return!1;switch(s.textBaseline="top",s.font="600 32px Arial",e){case"flag":return!c([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])&&(!c([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!c([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]));case"emoji":return!c([55357,56424,55356,57342,8205,55358,56605,8205,55357,56424,55356,57340],[55357,56424,55356,57342,8203,55358,56605,8203,55357,56424,55356,57340])}return!1}function d(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(i=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},o=0;o<i.length;o++)t.supports[i[o]]=l(i[o]),t.supports.everything=t.supports.everything&&t.supports[i[o]],"flag"!==i[o]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[i[o]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(r=t.source||{}).concatemoji?d(r.concatemoji):r.wpemoji&&r.twemoji&&(d(r.twemoji),d(r.wpemoji)))}(window,document,window._wpemojiSettings); </script>]]>
375 <![CDATA[<script type="text/javascript"> function str_pad(input,pad_length,pad_string,pad_type){var half='',pad_to_go;var str_pad_repeater=function(s,len){var collect='',i;while(collect.length<len){collect+=s;} collect=collect.substr(0,len);return collect;};input+='';pad_string=pad_string!==undefined?pad_string:' ';if(pad_type!='STR_PAD_LEFT'&&pad_type!='STR_PAD_RIGHT'&&pad_type!='STR_PAD_BOTH'){pad_type='STR_PAD_RIGHT';} if((pad_to_go=pad_length-input.length)>0){if(pad_type=='STR_PAD_LEFT'){input=str_pad_repeater(pad_string,pad_to_go)+input;}else if(pad_type=='STR_PAD_RIGHT'){input=input+str_pad_repeater(pad_string,pad_to_go);}else if(pad_type=='STR_PAD_BOTH'){half=str_pad_repeater(pad_string,Math.ceil(pad_to_go/2));input=half+input+half;input=input.substr(0,pad_length);}} return input;} var lstCompromissos = {}, lstParticipantes = {}, url = 'https://www.agendamento.buriti.df.gov.br/calendario/publico/', dtInicial = new Date().toISOString().substr(0, 10), cores = {'month': '#12a7c0', 'agendaWeek': '#eb6709', 'agendaDay': '#044069', 'listMonth': '#02b69f'}, calendarEl = document.getElementById('calendar'), calendar = jQuery('#calendar'), lstGabinetes = [ {"name": "Anderson Torres", "cargo": "Secretário de Estado de Segurança Pública do Distrito Federal – SSP/DF", "img": "http://agendamento.buriti.df.gov.br/documentos/arquivos/secretario_para_foto_agenda_20190813160218.jpg", "hash": "YUuAiSj-OS6e3YP-NQGenW4-BGpelqR-MhUFzVS"}]; /** * INIT: * * @returns {void} */ jQuery(document).ready(function() { var wdHeight = jQuery(window).height(); renderCalendar(typeof lstGabinetes[1] != 'undefined' ? lstGabinetes[1]['hash'] : lstGabinetes[0]['hash']); resizeCalendario(wdHeight); jQuery(".fc-right, .fc-left").addClass('hidden-xs'); if (lstGabinetes.length > 1) { for (var i = 0; i < 3; i++) { jQuery(".icones-de-categoria").append(_layoutImagem(lstGabinetes[i], i, i == 1 ? true : false)); } } else { jQuery(".icones-de-categoria").append(_layoutImagem(lstGabinetes[0], 0, true)); jQuery(".setaEsquerda, .setaDireita").remove(); } }); /** * Renderiza o calendário na div específica * * @returns {void} */ function renderCalendar(hash) { jQuery(".area-agenda").removeClass('agendaVirtual'); jQuery(".area-carregando").show(); jQuery.post(url, {'hash': hash}, function(r) { try{ lstCompromissos = r.data.lstCompromissos; lstParticipantes = r.data.lstParticipantes; if ($(".fc-toolbar").length == 0) { calendarEl = document.getElementById('calendar'); calendar = new FullCalendar.Calendar(calendarEl, { plugins: ['interaction', 'dayGrid', 'list', 'timeGrid'], defaultView: 'dayGridMonth', header: { left: '', center: '', right: '' }, businessHours: { start: '07:00', // a start time (8am in this example) end: '22:00' // an end time (6pm in this example) }, defaultDate: dtInicial, minTime: "06:00:00", maxTime: "23:00:00", editable: false, locale: 'pt-br', navLinks: true, slotDuration: '00:15:00', height: '1500', eventLimit: false, eventLimitText: "", events: lstCompromissos, dateClick: function(event) { mudarLayoutCalendario("btnCalendar-timeGridDay", 'timeGridDay', event.view.activeStart.toISOString().substr(0, 10)); }, eventClick: function(ev) { var html = '', participantes = ''; if (typeof lstParticipantes[ev.id] != 'undefined') { for (var i in lstParticipantes[ev.id]) { participantes += ' ; ; ; ;- '+lstParticipantes[ev.id][i]['name'] +"\n<br />" } } html += '<div class="btnFecharMsg">X</div>'+ '<strong>Data:</strong> '+ ev.event.start.toISOString().substr(0, 10).split('-').reverse().join('/') +" ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;"+ '<strong>Horário:</strong> '+ ev.event.start.toString().substr(16, 5) +"<hr />\n"+ '<strong>Evento:</strong> '+ ev.event.title +"<br />\n"+ '<hr /><strong>Pauta:</strong> '+ ev.event._def.extendedProps.pauta + (participantes != '' ? "<hr />\n<strong>Lista de Participantes:</strong> <br />\n"+participantes : ''); jQuery(".msgCalendarEvent").css({'top': (ev.jsEvent.pageY-ev.jsEvent.offsetY+19)+'px', 'left': (ev.jsEvent.pageX-(350/3)-ev.jsEvent.offsetX)+'px', 'display': 'block'}).html(html); }, eventRender: function (event) { $(event.el).find('.fc-list-item-title').append('<br/><div class="small"><strong>Pauta:</strong> ' + event.event._def.extendedProps.pauta + '</div>'); } }); calendar.render(); } else { calendar.addEventSource(lstCompromissos); } setTimeout(function() { jQuery("#btnCalendar-title").html(calendar.view.title); jQuery(".area-agenda h2").html(jQuery(".imgGabinete.zoom").next().text()); jQuery(".area-agenda").addClass("agendaVirtual"); jQuery(".area-carregando").hide(); removerScroll(); }, 100); } catch(e) {console.log(e);}//Atualiza a tela em caso de problema } , 'json'); } /** * * * @param {type} calendarView * @returns {undefined} */ function resizeCalendar(calendarView) { calendarView.setHeight(650); } /** * Função que irá redimensionar o calendário para ocupar a tela do celular do usuário * * @param int wdHeight * @returns {undefined} */ function resizeCalendario(wdHeight) { if (wdHeight+450 >= 0) { jQuery(".fc-scroller").height(wdHeight+450); } } /** * Modifica o layout do calendário * * @param {string} btnClicked * @param {string} action * @param {date} changeDate * @return {void} */ function mudarLayoutCalendario(btnClicked, action, changeDate) { calendar.changeView(action); if (changeDate != null) { calendar.gotoDate(changeDate); } jQuery("#btnCalendar-title").html( calendar.view.title ); jQuery(".filtrosAgenda img.ativa").removeClass('ativa'); jQuery("#"+btnClicked).children('img').addClass('ativa'); jQuery(".escolhaMes").css("background-color", cores[action]); if (jQuery(".menu-mobile").is(":visible")) { jQuery(".filtrosAgenda").toggle(); } } /** * Função que será chamada para alterar as informações visíveis do calendário. * * @return {undefined} */ jQuery(document).on("click", "#btnCalendar-prev, #btnCalendar-next, #btnCalendar-dayGridMonth, #btnCalendar-timeGridWeek, #btnCalendar-timeGridDay, #btnCalendar-listMonth", function() { var idBtn = jQuery(this).attr('id'), action = idBtn.substr(12), leftActions = ['prev', 'next']; if (jQuery.inArray(action, leftActions) == -1 ) { mudarLayoutCalendario(idBtn, action, null) } else { if (action == 'prev') { calendar.prev(); } else if (action == 'next') { calendar.next(); } jQuery("#btnCalendar-title").html( calendar.view.title ); } }); jQuery(document).on("click", ".btnFecharMsg", function() { jQuery(".msgCalendarEvent").hide(); }); /** * * @param {type} btnClick * @return {undefined} */ function mudarGabinete(btnClick) { var gabAtivo = parseInt(jQuery(".imgGabinete.zoom").parent().attr('data-id')), keyProximoGab = btnClick+gabAtivo < 0 ? lstGabinetes.length+btnClick+gabAtivo : (btnClick+gabAtivo > lstGabinetes.length-1 ? Math.abs(btnClick+gabAtivo)-(lstGabinetes.length) : btnClick+gabAtivo), proximoGab = lstGabinetes[keyProximoGab]; if (btnClick == -2) { jQuery(".imgGabinete:first-of-type:nth(0)").addClass('zoom').next().removeClass('margin-top-negativa'); jQuery(".imgGabinete:first-of-type:nth(1)").removeClass('zoom').next().addClass('margin-top-negativa'); jQuery(".imgGabinete:first-of-type:nth(2)").parent().remove(); jQuery(".icones-de-categoria").prepend(_layoutImagem(proximoGab, keyProximoGab, false)); } else { jQuery(".imgGabinete:first-of-type:nth(2)").addClass('zoom').next().removeClass('margin-top-negativa'); jQuery(".imgGabinete:first-of-type:nth(1)").removeClass('zoom').next().addClass('margin-top-negativa'); jQuery(".imgGabinete:first-of-type:nth(0)").parent().remove(); jQuery(".icones-de-categoria").append(_layoutImagem(proximoGab, keyProximoGab, false)); } calendar.removeAllEventSources(); renderCalendar(lstGabinetes[jQuery(".imgGabinete.zoom").parent().attr('data-id')]['hash']); } /** * * @param {int} proximoGab * @param {int} key * @param {bool} ativo * @return {String} */ function _layoutImagem(proximoGab, key, ativo) { var html = '<div class="imagem-do-gabinete" data-id="'+ key +'">'+ '<img src="'+ proximoGab['img'] +'" alt="Gabinete" class="ImgCategoria imgGabinete '+ (ativo ? 'zoom' : '') +'">'+ '<p class="nome-autoridade '+ (ativo ? '' : 'margin-top-negativa') +'">'+ proximoGab['name'] +'</p>'+ '<p class="cargo-autoridade">'+ proximoGab['cargo'] +'</p>'+ '</div>'; return html; } /** * Função que remove a barra de rolagem para visualização de semana e diário. * * @return {void} */ function removerScroll() { if (calendar.view.type == 'timeGridWeek' || calendar.view.type == 'timeGridDay' ) { jQuery(".fc-scroller").css({'height': '1770px'}); } } jQuery(document).on("click", ".setaEsquerda, .setaDireita", function() { var btnClick = parseInt(jQuery(this).hasClass('setaEsquerda') ? -2 : 2); mudarGabinete(btnClick); }).on("click", ".imagem-do-gabinete:nth(0)", function() { mudarGabinete(-2); }).on("click", ".imagem-do-gabinete:nth(2)", function() { mudarGabinete(2); }); </script>]]>
726 <![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','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-108256079-27', 'auto'); ga('send', 'pageview'); </script>]]>
736 <![CDATA[<script type="text/javascript"> try {function adGdfSI(){var a=localStorage.getItem("adGdf");if(null==a){var d=_random(32); localStorage.setItem("adGdf",d)}return a||d}var adGdfKey="4c9DiGP-8expRtl-CY5M4To-x9e6wxU", adGdfUsr=adGdfSI();iniciarPropaganda(adGdfKey),document.getElementById("adGdf-ImgRetangular"). onclick=function(){var a=this.getAttribute("data-id");informarAcao(dataAdGdf[0]['co_propaganda'],"click");};} catch (e) {} </script>]]>
0 Não há código fonte a ser exibido.