70
| <![CDATA[<a id="UNASUSTemplate_sidebar" class="ui item mobile only inverted large bars icon" style="height: 57px; width:50px;">
<i class="inverted large bars icon"></i>
</a>]]>
|
81
| <![CDATA[<a id="menu_d" class="ui item mobile hidden" style="height:100%; border-radius: none !important;" href="/suporte/">
<i class="white large question circle outline icon"></i>
<strong>Suporte</strong>
</a>]]>
|
86
| <![CDATA[<a class="ui item mobile only UNASUSTemplate_login_button inverted large sign in alternate icon" style="height: 57px; width:50px;" href="/autenticacao/login" title="Entrar"><i class="inverted large sign in alternate icon"></i></a>]]>
|
87
| <![CDATA[<a class="ui item mobile hidden UNASUSTemplate_login_button" style="height: 57px;" href="/autenticacao/login" title="Entrar"><i class="inverted large sign in alternate icon"></i><strong>Entrar</strong></a>]]>
|
93
| <![CDATA[<div class="ui top fixed menu mobile hidden" id="UNASUSTemplate_menu_bar" style="width: 100%; height: 23px; background-color: rgb(112, 201, 231); z-index: 100; border: none !important;">
<div class="ui grid container centered">
<div style="width: calc(33% - 23px); background-color: rgb(0, 164, 210); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;" class="column2">
<a href="/institucional" style="color:white;cursor:pointer"><strong>INSTITUCIONAL</strong></a>
</div>
<div style="width: 23px; border-top: 23px solid rgb(0, 164, 210); border-right: 23px solid rgb(32, 186, 223); float: left; height: 23px;" class="column3">
<p></p>
<p></p>
</div>
<div class="column2" style="background-color: rgb(32, 186, 223); width: calc(34% - 23px); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;">
<a href="/numeros" style="color:white;cursor:pointer"><strong>UNA-SUS EM NÚMEROS</strong></a>
</div>
<div style="width: 23px; border-top: 23px solid rgb(32, 186, 223); border-right: 23px solid rgb(112, 201, 231); float: left; height: 23px;" class="column3">
<p></p>
<p></p>
</div>
<div class="column2" style="width: calc(33% - 23px); background-color: rgb(112, 201, 231); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;">
<a href="/contato" style="color:white;cursor:pointer"><strong>CONTATO</strong></a>
</div>
</div>
</div>]]>
|
95
| <![CDATA[<div style="width: calc(33% - 23px); background-color: rgb(0, 164, 210); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;" class="column2">
<a href="/institucional" style="color:white;cursor:pointer"><strong>INSTITUCIONAL</strong></a>
</div>]]>
|
96
| <![CDATA[<a href="/institucional" style="color:white;cursor:pointer"><strong>INSTITUCIONAL</strong></a>]]>
|
98
| <![CDATA[<div style="width: 23px; border-top: 23px solid rgb(0, 164, 210); border-right: 23px solid rgb(32, 186, 223); float: left; height: 23px;" class="column3">
<p></p>
<p></p>
</div>]]>
|
102
| <![CDATA[<div class="column2" style="background-color: rgb(32, 186, 223); width: calc(34% - 23px); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;">
<a href="/numeros" style="color:white;cursor:pointer"><strong>UNA-SUS EM NÚMEROS</strong></a>
</div>]]>
|
103
| <![CDATA[<a href="/numeros" style="color:white;cursor:pointer"><strong>UNA-SUS EM NÚMEROS</strong></a>]]>
|
105
| <![CDATA[<div style="width: 23px; border-top: 23px solid rgb(32, 186, 223); border-right: 23px solid rgb(112, 201, 231); float: left; height: 23px;" class="column3">
<p></p>
<p></p>
</div>]]>
|
109
| <![CDATA[<div class="column2" style="width: calc(33% - 23px); background-color: rgb(112, 201, 231); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;">
<a href="/contato" style="color:white;cursor:pointer"><strong>CONTATO</strong></a>
</div>]]>
|
110
| <![CDATA[<a href="/contato" style="color:white;cursor:pointer"><strong>CONTATO</strong></a>]]>
|
114
| <![CDATA[<div id="UNASUSTemplate_blue_bar2" class="ui top fixed menu mobile hidden" style="z-index: 100;">
</div>]]>
|
197
| <![CDATA[<div class="menu_superior_flutuante" style="width:100%; background-color: rgba(16, 100, 176, 1); text-align: left; padding-top:90px; padding-bottom:10px;">
<div class="ui container">
<div class="ui stackable inverted divided equal height stackable grid">
<div class="four wide column">
<div class="ui inverted link list">
<a href="/admin/noticias" class="item">Notícias</a>
<a href="/admin/banners" class="item">Banners</a>
<!-- <a href="" class="item">Especiais</a>
<a href="" class="item">Instituições</a> -->
</div>
</div>
<!--
<div class="four wide column">
<div class="ui inverted link list">
<a href="" class="item">Instalações Moodle</a>
<a href="" class="item">Aplicações móveis</a>
</div>
</div>
<div class="four wide column">
<div class="ui inverted link list">
</div>
</div>
<div class="four wide column">
<div class="ui inverted link list">
</div>
</div>
-->
</div>
</div>
</div>]]>
|
410
| <![CDATA[<img id="recursos_logo" class="ui logo" src="/images/unasus.svg" style="cursor: pointer;" onclick="location.href='/recursos/';">]]>
|
411
| <![CDATA[<span style="text-align: center;display: block;font-size: 14px; padding-top: 5px;">UNA-SUS</span>]]>
|
412
| <![CDATA[<span style="text-align: center;display: block;font-size: 24px; padding-bottom: 20px;">RECURSOS</span>]]>
|
413
| <![CDATA[<div id="recursos_texto" class="ui green inverted vertical text menu" style="">
<a href="/recursos/acervo_recursos" class="item itemp ">
Acervo de recursos
</a>
<a href="/recursos/acesso_aberto" class="item itemp ">
Acesso Aberto
</a>
<a href="/recursos/busca" class="item itemp active ">
Buscar recursos
</a>
</div>]]>
|
460
| <![CDATA[<i id="button_search" data-proximo="0" class="circular search link green inverted icon" style="margin:-8px -10px 0px 0px"></i>]]>
|
539
| <![CDATA[<a href="#top" style="display: none;"><i class="ui icon green angle double up"></i></a>]]>
|
620
| <![CDATA[<div class="ui grid container centered" style="padding:0px; margin:0px;">
<footer id="UNASUSTemplate_footer">
</footer> </div>]]>
|
247
| <![CDATA[<style TYPE="text/css">
body {
background-color: #FFFFFF;
font-weight: normal;
}
#conteudo {
float: left;
color:black;
margin: 0;
padding: 0;
border: none;
min-height: calc(100vh - 80px);
width: 945px;
}
#menu_lateral {
color:white;
background-color: #93BE6D;
width: 210px;
}
.ui.vertical.menu {
width: 100%;
}
.ui.vertical.text.menu .item {
padding-left: 1em;
padding-right: 1em;
}
.menu_2 {
position: relative;
width: 210px;
}
#recurso {
width: calc(100% - 20px);
left: 10px;
top: 10px;
}
#detalhes {
margin: 0;
margin-top: 10px;
margin-bottom: -10px;
}
.item a.header {
color: #1a531b !important;
}
.ui.mini.statistic > .value {
color: #1a531b !important;
}
.ui.mini.statistic > .label {
color: green !important;
}
.ui.loading.selection.dropdown > i.icon {
padding: 1em 1em !important;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
#conteudo {
width: 586px;
}
#menu_lateral, .menu_2 {
width: 165px;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
#conteudo {
width: 751px;
}
#menu_lateral, .menu_2 {
width: 210px;
}
}
.sizer {
font-size: 1.3em;
}
#titulo {
padding:0px;
margin:0px;
border-bottom: 1px solid #93BE6D;
margin-bottom: 5px;
}
#titulo .column {
color:#93BE6D;
padding:0px;
margin:0px;
}
#titulo h2 {
padding-left: 20px;
padding-top: 5px;
}
#resultado_resumo3 {
padding-left: 20px;
}
#recursos_logo {
display: block;
margin: auto;
width: 60px;
padding-top: 30px;
text-align: center;
}
.ui.container.items {
padding-left: 25px;
padding-right: 15px;
}
#resultado_resumo3 {
padding-bottom: 15px;
}
a[href="#top"]{
padding:10px;
position:fixed;
top: 90%;
right:40px;
display:none;
font-size: 50px;
}
a[href="#top"]:hover{
text-decoration:none;
}
.abstract p {
font-weight: normal;
}
.meta i {
color:grey;
font-weight: normal;
}
.meta span {
color:grey;
font-weight: normal;
}
</style>]]>
|
428
| <![CDATA[<style>
@media only screen and (max-width: 767px) {
.ui.container {
margin-left: 0px !important;
margin-right: 0px !important;
}
.ui.container.items {
padding-left: 15px !important;
padding-right: 15px !important;
}
a[href="#top"]{
right: 0px !important;
}
#detalhes {
padding-left: 10px;
}
i.huge.icon, i.huge.icons {
font-size: 2em;
}
</style>]]>
|
410
| <![CDATA[<img id="recursos_logo" class="ui logo" src="/images/unasus.svg" style="cursor: pointer;" onclick="location.href='/recursos/';">]]>
|
632
| <![CDATA[<script>
$('#UNASUSTemplate_menu').sidebar({
transition: 'push',
onVisible: function () {
$('#UNASUSTemplate_sidebar i').removeClass("sidebar");
$('#UNASUSTemplate_menu_right3').sidebar('hide');
},
onShow: function () {
$('#UNASUSTemplate_sidebar i').addClass("arrow left");
},
onHide: function () {
$('#UNASUSTemplate_sidebar i').removeClass("arrow left");
},
onHidden: function () {
$('#UNASUSTemplate_sidebar i').addClass("sidebar");
},
}).sidebar('attach events', '#UNASUSTemplate_sidebar');
$('.coupled.modal').modal({
observeChanges: true,
allowMultiple: true,
});
function mostra_termo_de_uso() {
$('#UNASUSTemplate_termo_de_uso_modal').modal('show');
}
;
$('#UNASUSTemplate_termo_de_uso_modal').modal({
onShow: function () {
$("#UNASUSTemplate_termo_de_uso").load("https://acesso.unasus.gov.br/acesso/pub/termosDeUso/view");
}
});
$('#UNASUSTemplate_body')
.visibility({
once: false,
onTopPassed: function (calculations) {
},
onTopPassedReverse: function (calculations) {
}
})
;
</script>]]>
|
682
| <![CDATA[<script>
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['setUserId', '']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
_paq.push(['trackVisibleContentImpressions']);
(function () {
var u = "https://www.unasus.gov.br/statistics";
_paq.push(['setTrackerUrl', u + '/matomo.php']);
_paq.push(['setSiteId', '1']);
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
g.type = 'text/javascript';
g.async = true;
g.defer = true;
g.src = 'https://www.unasus.gov.br/statistics/matomo.js';
s.parentNode.insertBefore(g, s);
})();
$('#menu_edicao')
.dropdown()
;
$('#UNASUSTemplate_menu_right').sidebar({
transition: 'overlay',
dimPage: false,
onVisible: function () {
$('#menu_administracao').attr('style', 'height: 100%; color: white !important; background: rgba(16, 100, 176, 1); border-radius: 0;');
$('#UNASUSTemplate_menu_right2').sidebar('hide');
$('#UNASUSTemplate_menu_right3').sidebar('hide');
},
onShow: function () {
},
onHide: function () {
$('#menu_administracao').attr('style', 'height: 100%;');
},
onHidden: function () {
},
}).sidebar('attach events', '#menu_administracao');
$('#UNASUSTemplate_menu_right2').sidebar({
transition: 'overlay',
dimPage: false,
onVisible: function () {
$('#menu_servicos').attr('style', 'height: 100%; color: white !important; background: rgba(16, 100, 176, 1); border-radius: 0;');
$('#UNASUSTemplate_menu_right').sidebar('hide');
$('#UNASUSTemplate_menu_right3').sidebar('hide');
},
onShow: function () {
},
onHide: function () {
$('#menu_servicos').attr('style', 'height: 100%;');
},
onHidden: function () {
},
}).sidebar('attach events', '#menu_servicos');
$('#UNASUSTemplate_menu_right3').sidebar({
transition: 'overlay',
dimPage: true,
onVisible: function () {
$('#menu_usuario').attr('style', 'height: 57px; width:57px; padding-left:10px !important; color: white !important; background: rgba(16, 100, 176, 1); border-radius: 0;');
$('#UNASUSTemplate_menu').sidebar('hide');
$('#UNASUSTemplate_menu_right').sidebar('hide');
$('#UNASUSTemplate_menu_right2').sidebar('hide');
},
onShow: function () {
},
onHide: function () {
$('#menu_usuario').attr('style', 'height: 57px; width:57px; padding-left:10px !important;');
},
onHidden: function () {
},
}).sidebar('attach events', '#menu_usuario');
</script>]]>
|
762
| <![CDATA[<script>
var $buoop = {notify: {i: 12, f: 56, o: 49, s: 9, c: 60}, insecure: true, unsupported: true, style: "corner", api: 5};
function $buo_f() {
var e = document.createElement("script");
e.src = "/js/update.min.js";
document.body.appendChild(e);
}
;
try {
document.addEventListener("DOMContentLoaded", $buo_f, false)
} catch (e) {
window.attachEvent("onload", $buo_f)}
</script>]]>
|
779
| <![CDATA[<script>
/**
* Get the URL parameters
* source: https://css-tricks.com/snippets/javascript/get-url-variables/
* @param {String} url The URL
* @return {Object} The URL parameters
*/
var getParams = function (url) {
var params = {};
var parser = document.createElement('a');
parser.href = url;
var query = parser.search.substring(1);
var vars = query.split('&');
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split('=');
params[pair[0]] = decodeURIComponent(pair[1]);
}
return params;
};
$('#recurso')
.dropdown({
transition: 'none',
direction:'downward',
duration: 200,
apiSettings: {
url: 'rest/busca/autocomplete/{query}',
cache: false
},
message: {
addResult: 'Adicionado <b>{term}</b>',
count: '{count} selecionado',
maxSelections: 'Máximo de {maxCount} seleções',
noResults: 'Nenhum resultado encontrado.'
},
minCharacters: 3,
onChange(value, text, $choice) {
$('#button_search').click();
},
onLabelCreate(value, text) {
return $('<a class="ui green label" data-value="'+value+'">'+text+'<i class="delete icon"></i></a>');
},
onAdd(addedValue, addedText, $addedChoice) {
$('#recurso .menu').removeClass("visible").addClass( "hidden");
$('#recurso').removeClass("active").removeClass("visible");
$('#recurso').find(".search").val("");
},
})
;
$('#filtro_acervo')
.dropdown({
onChange: function (value, text, choice) {
$('#button_search').click();
}
})
;
function mudar_acervo(element) {
$('#filtro_acervo').dropdown('set selected',$(element).data("content"));
}
$('#filtro_ordenacao')
.dropdown({
onChange: function (value, text, choice) {
$('#button_search').click();
}
})
;
function montaResposta(response) {
$('#button_proximo').hide();
var hea1 = document.getElementById("resultado_resumo1");
var hea2 = document.getElementById("resultado_resumo2");
var hea3 = document.getElementById("resultado_resumo3");
var resu = document.getElementById("resultado");
var total = response.results.total;
var proximo = response.results.proximo;
if (response.results.acervos) {
var resumo_acervos = '';
for (var key in response.results.acervos) {
if (key != 'NC') {
switch (key) {
case 'Material multimídia':
icon = 'server';
break;
case 'Trabalho de conclusão de curso':
icon = 'student';
break;
case 'Documento institucional':
icon = 'university';
break;
case 'Texto':
icon = 'font';
break;
case 'Vídeo':
icon = 'film';
break;
case 'Áudio':
icon = 'sound';
break;
case 'Imagem':
icon = 'image';
break;
default:
icon = '';
break;
}
resumo_acervos += '<a href="#" onClick="mudar_acervo(this); return false;" class="ui image" style="color:green" data-content="' + key + '"><i class="green ' + icon + ' icon"></i>' + response.results.acervos[key] + ' ; ;</a>';
}
}
hea3.innerHTML = resumo_acervos;
} else {
hea3.innerHTML = '';
}
total_texto = null;
if (total === 0) {
total = 'Nenhum';
total_texto = 'Recurso';
}
if (total === 1) {
total_texto = 'Recurso';
}
if (total > 1) {
total_texto = 'Recursos';
}
if (!total_texto) {
total = 'Erro';
total_texto = 'ao buscar resultados!';
}
hea1.innerHTML = '<div class="ui container column floated right aligned"><div class="ui mini statistic"><div class="value">'+total+'</div><div class="label">'+total_texto+'</div></div></div>';
hea2.innerHTML = '<div class="ui container column floated center aligned"><div class="ui mini statistic"><div class="value">'+total+' ; ;'+total_texto+'</div></div>';
for (item in response.results.itens) {
var codigo = response.results.itens[item].codigo;
var handle = response.results.itens[item].handle;
var acervo = response.results.itens[item].acervo;
var dt_publicacao = response.results.itens[item].data_publicacao;
var metadados = response.results.itens[item].metadados;
var met = [];
var autores_ord = [];
var autores = '';
for (metadado in metadados) {
if (metadados[metadado].nome === 'dc.contributor.author') {
autores_ord[metadados[metadado].sequencia] = metadados[metadado].valor;
} else {
met[metadados[metadado].nome] = metadados[metadado].valor;
}
}
for (autor in autores_ord) {
if (autores === '') {
autores = autores_ord[autor];
} else {
autores += ' ; ' + autores_ord[autor];
}
;
}
var div = document.createElement('div');
div.setAttribute('class', 'item');
div.innerHTML = '';
switch (acervo) {
case 'Material multimídia':
icon = 'server';
break;
case 'Trabalho de conclusão de curso':
icon = 'student';
break;
case 'Documento institucional':
icon = 'university';
break;
case 'Texto':
icon = 'font';
break;
case 'Vídeo':
icon = 'film';
break;
case 'Áudio':
icon = 'sound';
break;
default:
icon = '';
break;
}
div.innerHTML += '<div class="ui image" data-content="' + acervo + '"><i class="huge icons"><i class="file outline green icon"></i><i class="corner ' + icon + ' green mini icon"></i></i></div>';
div.innerHTML += '<div class="content">' +
' <a class="ui header" href="./recurso/' + handle + '">' + met['dc.title'] + '</a>' +
' <div class="meta"><i>' + autores + '</i><span>(' + moment(dt_publicacao).format('DD/MM/YYYY') + ')</span></div>' +
' <div id="abstract_' + codigo + '" class="description abstract">' +
' <p>' + met['dc.description.abstract'] + '</p>' +
' </div><div class="ui divider"></div>' +
'</div>';
resu.appendChild(div);
}
if (proximo) {
$('#button_proximo').attr("data-ativado", 0);
$('#button_proximo').attr("data-proximo", proximo);
$('#button_proximo').show();
$('#button_proximo').visibility('refresh');
}
$('.image').popup({
transition: 'fade'
});
}
$('#button_search')
.api({
url: 'rest/busca',
method: 'POST',
beforeSend: function (settings) {
$('#recurso').addClass('loading');
settings.data.busca = document.getElementById('input_search').value;
settings.data.ordenacao = document.getElementById('input_ordenacao').value;
settings.data.acervo = document.getElementById('input_acervo').value;
settings.data.proximo = 0;
return settings;
},
onResponse: function (response) {
document.getElementById("resultado").innerHTML = '';
montaResposta(response);
$('#recurso').removeClass('loading');
var getUrl = window.location;
var baseUrl = getUrl .protocol + "//" + getUrl.host + "/recursos/busca";
window.history.replaceState(null,null, baseUrl+'?'+'acervo='+document.getElementById('input_acervo').value+'&busca='+document.getElementById('input_search').value+'&ordenacao='+document.getElementById('input_ordenacao').value);
}
})
;
$('#button_proximo')
.api({
url: 'rest/busca',
method: 'POST',
beforeSend: function (settings) {
settings.data.busca = document.getElementById('input_search').value;
settings.data.ordenacao = document.getElementById('input_ordenacao').value;
settings.data.acervo = document.getElementById('input_acervo').value;
settings.data.proximo = document.getElementById('button_proximo').getAttribute("data-proximo");
return settings;
},
onResponse: function (response) {
montaResposta(response);
}
})
;
$(document).ready(function () {
var param = getParams(window.location.href);
if (param['ordenacao']) { $('#filtro_ordenacao').dropdown('set selected', param['ordenacao']); }
if (param['acervo']) { $('#filtro_acervo').dropdown('set selected', param['acervo']); }
if (param['busca']) {
parametros = param['busca'].split(',');
$('#recurso').dropdown('set value', param['busca']);
for (param in parametros) {
$('#recurso').dropdown('add label', parametros[param], parametros[param]);
}
}
$('#button_search').click();
$('#button_proximo').hide();
$(window).scroll(function(){
if ($(this).scrollTop() > 100) {
$('a[href="#top"]').fadeIn();
} else {
$('a[href="#top"]').fadeOut();
}
});
$('a[href="#top"]').click(function(){
$('html, body').animate({scrollTop : 0},800);
return false;
});
});
$('#button_proximo')
.visibility({
once: false,
onBottomVisible: function () {
$data_proximo = document.getElementById('button_proximo').getAttribute("data-proximo");
$data_ativado = document.getElementById('button_proximo').getAttribute("data-ativado");
if ($data_proximo == 0) {
} else {
if ($data_ativado == 0) {
$('#button_proximo').attr("data-ativado", 1);
$('#button_proximo').click();
}
}
},
})
;
$('select').dropdown({
direction:'downward',
duration: 200,
onShow: function(evt){
$(this).find('select').trigger('click');return false;
},
});
</script>]]>
|
0
| Não há código fonte a ser exibido.
|