diff --git a/sapl/templates/painel/index.html b/sapl/templates/painel/index.html index 77751f92e..62ef26f45 100644 --- a/sapl/templates/painel/index.html +++ b/sapl/templates/painel/index.html @@ -295,6 +295,18 @@ ordem_previous = ordem_current; } + if($('#cronometro_discurso').runner('info').formattedTime == 30) { + audioAlertFinish.play(); + } + + if($('#cronometro_aparte').runner('info').formattedTime == 30) { + audioAlertFinish.play(); + } + + if($('#cronometro_ordem').runner('info').formattedTime == 30) { + audioAlertFinish.play(); + } + if (data['materia_legislativa_texto']){ $("#materia_legislativa_texto").text(data["materia_legislativa_texto"]); } @@ -328,7 +340,7 @@ console.error(err); }, dataType: "json", - complete: setTimeout(function() {poll()}, 2000), + complete: setTimeout(function() {poll()}, 500), timeout: 20000 // TODO: decrease }) })(); diff --git a/sapl/templates/sessao/painel.html b/sapl/templates/sessao/painel.html index 1b11bba3c..22dc62dda 100644 --- a/sapl/templates/sessao/painel.html +++ b/sapl/templates/sessao/painel.html @@ -11,7 +11,9 @@ {% block detail_content %} - + + +