659
| <![CDATA[<script type="text/javascript">
document.write(new Date().getUTCFullYear());
</script>]]>
|
688
| <![CDATA[<script>
$.widget.bridge('uibutton', $.ui.button)
</script>]]>
|
749
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|
755
| <![CDATA[<script type="text/javascript">
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-CTC74BL0BT');
</script>]]>
|
775
| <![CDATA[<script type="text/javascript">
(function () {
var Contrast = {
storage: 'contrastState',
cssClass: 'contrast',
currentState: null,
check: checkContrast,
getState: getContrastState,
setState: setContrastState,
toogle: toogleContrast,
updateView: updateViewContrast
};
window.toggleContrast = function () { Contrast.toogle(); };
Contrast.check();
function checkContrast() {
this.updateView();
}
function getContrastState() {
return localStorage.getItem(this.storage) === 'true';
}
function setContrastState(state) {
localStorage.setItem(this.storage, '' + state);
this.currentState = state;
this.updateView();
}
function updateViewContrast() {
var body = document.body;
if (!body) return;
if (this.currentState === null)
this.currentState = this.getState();
if (this.currentState)
body.classList.add(this.cssClass);
else
body.classList.remove(this.cssClass);
}
function toogleContrast() {
this.setState(!this.currentState);
}
})();
</script>]]>
|
855
| <![CDATA[<script>
document.addEventListener('DOMContentLoaded', function() {
var calendarEl = document.getElementById('calendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
headerToolbar : {
left : 'prev,next today',
center : 'title',
right : 'dayGridMonth,timeGridWeek,timeGridDay'
},
locale : 'pt-br',
initialView : 'dayGridMonth',
eventClick : function(arg) {
var local = "";
if(arg.event.extendedProps.local != null){
local = "<p> Local: "+arg.event.extendedProps.local+"</p>";
}
$("#modalEvent").modal("show");
$("#modalEvent .modal-title").text(arg.event.title);
$("#modalEvent .modal-body").html(
arg.event.extendedProps.description
+ "<p> Inicio as "
+ moment(arg.event.start).format("HH:mm")
+ " termino as "
+ moment(arg.event.end).format("HH:mm")
+ "</p>"
+ local);
},
events : {
url : '/municipio/allevents',
type : 'GET'
},
eventDidMount : function(info) {
$(info.el).tooltip({ title: info.event.title });
// console.log(info.event.extendedProps);
//info.el.querySelector('.fc-title').innerHTML = "<i>" + info.event.title + "</i>";
}
});
calendar.render();
});
</script>]]>
|