|
@ -11,7 +11,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block detail_content %} |
|
|
{% block detail_content %} |
|
|
|
|
|
|
|
|
<audio type="hidden" id="audio" src="{% static 'audio/ring.mp3' %}"></audio> |
|
|
<audio type="hidden" id="audio" src="{% static 'audio/ring.mp3' %}"></audio> |
|
|
|
|
|
|
|
|
<div class="row"> |
|
|
<div class="row"> |
|
|
<div class="col-md-6"><a href="" onclick="window.open('{% url 'sapl.painel:painel_principal' pk %}','Comprovante','width=800, height=800, scrollbars=yes'); return false;" class="btn btn-primary btn-sm active">Iniciar painel completo</a></div> |
|
|
<div class="col-md-6"><a href="" onclick="window.open('{% url 'sapl.painel:painel_principal' pk %}','Comprovante','width=800, height=800, scrollbars=yes'); return false;" class="btn btn-primary btn-sm active">Iniciar painel completo</a></div> |
|
|
<div class="col-md-3"><button onclick="switch_painel(true)" id="id_abrir_painel" class="btn btn-primary btn-sm active" style="display: none">Abrir Painel</button></div> |
|
|
<div class="col-md-3"><button onclick="switch_painel(true)" id="id_abrir_painel" class="btn btn-primary btn-sm active" style="display: none">Abrir Painel</button></div> |
|
@ -77,10 +79,6 @@ |
|
|
<script language="JavaScript"> |
|
|
<script language="JavaScript"> |
|
|
$(function() { |
|
|
$(function() { |
|
|
|
|
|
|
|
|
function tocarSinalSonoro() { |
|
|
|
|
|
alert('ok'); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function checkTime(i) { |
|
|
function checkTime(i) { |
|
|
if (i<10) {i = "0" + i}; |
|
|
if (i<10) {i = "0" + i}; |
|
|
return i; |
|
|
return i; |
|
|