23
| <![CDATA[<script>
var tb_pathToImage = "http://siater.mda.gov.br:80/sys/public/images/loadingAnimation.gif";
</script>]]>
|
28
| <![CDATA[<script type="text/javascript">
var liftoffTime = new Date();
liftoffTime.setHours( liftoffTime.getHours() + 1 );
$(document).ready(function(){
$( "#HorarioSistema" ).countdown(
{
until: liftoffTime,
format: "HMS",
onTick: ownWay
} );
$( "ul.nav" ).superfish({
hoverClass : "sfHover",
pathClass : "overideThisToUse",
delay : 800,
animation : {opacity:"show"},
speed : "normal",
oldJquery : false, /* set to true if using jQuery version below 1.2 */
disableHI : false, /* set to true to disable hoverIntent detection */
onInit : function(){},
onBeforeShow : function(){},
onShow : function(){},
onHide : function(){}
});
});
function twoDigits( value )
{
return( value < 10 ? "0" : "" ) + value;
}
function ownWay( periods )
{
$( "#HorarioSistema" ).text( periods[ 4 ] + "h" + twoDigits( periods[ 5 ] ) + "m" + twoDigits( periods[ 6 ] ) + "s" );
}
</script>]]>
|
69
| <![CDATA[<script type="text/javascript">
(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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-60594849-1', 'auto');
ga('send', 'pageview');
</script>]]>
|
80
| <![CDATA[<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20219985-2']);
_gaq.push(['_trackPageview']);
// var _gaq = _gaq || [];
// _gaq.push(['_setAccount', 'UA-20219985-2']);
// _gaq.push(['_trackPageview']);
// (function() {
// var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
// ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
// var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
// })();
</script>]]>
|
154
| <![CDATA[<script type="text/javascript">
$ ( document ).ready (
function () {
$ ( ".contrato" ).mask ( "aa.aa.9999999-99" );
/**
* Método complementar do responsável pala requisição dos dados e ativação da aba selecionada
* Envia dados do formulario via ajax
*/
$ ( "#btpesquisar" ).click (
function ( e ) {
e.preventDefault ();
var dataI = explode ( "/" , $ ( "#vigenciainicio" ).val () );
var dataini = new Date ( dataI[ 2 ] , dataI[ 1 ] - 1 , dataI[ 0 ] );
var dataF = explode ( "/" , $ ( "#vigenciafim" ).val () );
var datafim = new Date ( dataF[ 2 ] , dataF[ 1 ] - 1 , dataF[ 0 ] );
if ( dataini > datafim ) {
return false;
}
$ ( "#frmListagemConvenente" ).submit ();
} );
$ ( "#vigenciainicio" ).datepicker ( {
dateFormat : "dd/mm/yy" ,
changeMonth : true ,
yearRange : "1930:2030" ,
onClose : function ( selectedDate ) {
$ ( "#vigenciafim" ).datepicker ( "option" , "minDate" , selectedDate );
}
} );
$ ( "#vigenciafim" ).datepicker ( {
dateFormat : "dd/mm/yy" ,
changeMonth : true ,
yearRange : "1930:2030" ,
onClose : function ( selectedDate ) {
$ ( "#vigenciainicio" ).datepicker ( "option" , "maxDate" , selectedDate );
}
} );
// Adicionar acao para o botao cadatrar contrato
$ ( "a[id='btnDetalhe']" ).click ( function ( e ) {
e.preventDefault ();
var idContrato = $ ( this ).attr ( 'rel' );
$ ().modal ( {
url : "http://siater.mda.gov.br:80/sys/siater/public/contrato/contrato/" + idContrato ,
title : "Contrato" ,
data : { empty : true }
} );
} );
// Gera Excel
$ ( "input[id='btnExcel']" ).click ( function () {
$ ().confirm ( "Esta ação pode levar vários minutos, deseja continuar?" , "Gerar Lista em Excel" , function () {
// Mostra mensagem de processamento
$ ( "#loading_full" ).show ();
$ ( "#loadingMsg" ).show ();
// Load the content in to the page.
window.location = "http://siater.mda.gov.br:80/sys/siater/public/xlscontratos/";
// Esconde mensagem de processamento
$ ( "#loading_full" ).fadeOut ();
$ ( "#loadingMsg" ).fadeOut ();
} );
} );
} );
function ampliaReduz ( strAmplia ) {
if ( !$ ( "#conteudoPesquisa" ).is ( ":visible" ) ) {
$ ( "#" + strAmplia ).html ( "[-]" );
$ ( "#conteudoPesquisa" ).show ();
}
else {
$ ( "#" + strAmplia ).html ( "[+]" );
$ ( "#conteudoPesquisa" ).hide ();
}
}
function limpar () {
$ ( "input[type=text]" ).val ( "" );
$ ( "select" ).val ( "" );
}
/**
* Método ajax para paginar registros
*/
function pagingSibrater ( intPage , strUrl ) {
window.location = strUrl + "/page/" + intPage;
}
/**
* Método ajax para ocultar paginação
*/
function hidePaging ( strUrl ) {
window.location = strUrl;
}
</script>]]>
|