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="formContaCorrente:lista_s" type="text/javascript">$(function(){PrimeFaces.cw("DataTable","widget_formContaCorrente_lista",{id:"formContaCorrente:lista",paginator:{id:['formContaCorrente:lista_paginator_bottom'],rows:15,rowCount:9,page:0,currentPageTemplate:'({currentPage} of {totalPages})'},selectionMode:"single",expansion:true,rowExpandMode:"multiple",resizableColumns:true,behaviors:{rowToggle:function(ext,event) {PrimeFaces.ab({s:"formContaCorrente:lista",e:"rowToggle",p:"formContaCorrente:lista",u:"formContaCorrente:lista:detalhes"},ext);}}});});</script>]]>
|
130
| <![CDATA[<script id="j_idt61_s" type="text/javascript">PrimeFaces.cw("Panel","widget_j_idt61",{id:"j_idt61"});</script>]]>
|