7
| <![CDATA[<script type="text/javascript">if(window.PrimeFaces){PrimeFaces.settings.locale='pt_BR';}</script>]]>
|
12
| <![CDATA[<script type="text/javascript">
var tempoSessao = 1500;
var timer = setInterval(function() {
if( tempoSessao === 0 ) {
document.getElementById('session-countdown').innerHTML = "00min:00s";
clearInterval( timer );
}
var segundos = tempoSessao % 60;
var minutos = parseInt(tempoSessao / 60);
segundos = (segundos + "").replace(/^(\d)$/, '0$1');
minutos = (minutos + "").replace(/^(\d)$/, '0$1');
document.getElementById('session-countdown').innerHTML = minutos + "min:" + segundos + "s";
tempoSessao--;
ajustaHeights();
}, 1000);
$(document).ready(function(){
ajustaHeights();
$('#sm-topmenu li .ui-commandlink').removeClass('ui-commandlink');
if ($(document).width() >= 641) {
$('#layout-menubar').addClass('slimmenu');
}
if ($(document).width() >= 1200) {
$('#layout-menubar').removeClass('slimmenu');
}
$(window).on('resize', function(){
ajustaHeights();
if ($(document).width() >= 641) {
$('#layout-menubar').addClass('slimmenu');
}
if ($(document).width() >= 1200) {
$('#layout-menubar').removeClass('slimmenu');
}
}).resize();
});
$(document).ajaxSuccess(function() {
ajustaHeights();
});
ajustaHeights = function () {
$('#layout-menubar').css('min-height', 100);
$('#layout-menubar').css('height', 100);
$('#corpo').css('min-height', 100);
$('#corpo').css('min-height', $(document).height() - $('#layout-header').height() - $('#footer').height() - 10);
$('#layout-menubar').css('height', $('#corpo').height() + $('#footer').height() + 5);
};
</script>]]>
|
114
| <![CDATA[<script id="j_idt44_s" type="text/javascript">$(function(){PrimeFaces.cw("Dialog","statusDialog",{id:"j_idt44",draggable:false,resizable:false,modal:true});});</script>]]>
|
121
| <![CDATA[<script id="msgs_s" type="text/javascript">$(function(){PrimeFaces.cw('Growl','widget_msgs',{id:'msgs',sticky:false,life:6000,escape:true,msgs:[]});});</script>]]>
|
127
| <![CDATA[<script id="lista_s" type="text/javascript">$(function(){PrimeFaces.cw("DataTable","widget_lista",{id:"lista",paginator:{id:['lista_paginator_bottom'],rows:20,rowCount:14,page:0,currentPageTemplate:'({currentPage} of {totalPages})'},filter:true,resizableColumns:true});});</script>]]>
|
130
| <![CDATA[<script id="j_idt61_s" type="text/javascript">PrimeFaces.cw("Panel","widget_j_idt61",{id:"j_idt61"});</script>]]>
|