diff --git a/sessao/urls.py b/sessao/urls.py index 180d2b0dc..c1ee9f83c 100644 --- a/sessao/urls.py +++ b/sessao/urls.py @@ -1,15 +1,16 @@ from django.conf.urls import include, url -from sessao.views import (ExpedienteView, PresencaView, sessao_crud, - tipo_expediente_crud, tipo_resultado_votacao_crud, - tipo_sessao_crud) +from sessao.views import (ExpedienteView, PainelView, PresencaView, + sessao_crud, tipo_expediente_crud, + tipo_resultado_votacao_crud, tipo_sessao_crud) urlpatterns_sessao = sessao_crud.urlpatterns + [ url(r'^(?P\d+)/expediente$', ExpedienteView.as_view(), name='expediente'), url(r'^(?P\d+)/presenca$', PresencaView.as_view(), name='presenca'), - + url(r'^(?P\d+)/painel$', + PainelView.as_view(), name='painel'), ] sessao_urls = urlpatterns_sessao, sessao_crud.namespace, sessao_crud.namespace diff --git a/sessao/views.py b/sessao/views.py index 8780621d3..530eae93c 100644 --- a/sessao/views.py +++ b/sessao/views.py @@ -150,3 +150,7 @@ class PresencaView(FormMixin, sessao_crud.CrudDetailView): yield (parlamentar, False) else: yield (parlamentar, True) + + +class PainelView(sessao_crud.CrudDetailView): + template_name = 'sessao/painel.html' diff --git a/static/audio/ring.mp3 b/static/audio/ring.mp3 new file mode 100644 index 000000000..97d8fc2d3 Binary files /dev/null and b/static/audio/ring.mp3 differ diff --git a/templates/sessao/painel.html b/templates/sessao/painel.html new file mode 100644 index 000000000..b10703a1c --- /dev/null +++ b/templates/sessao/painel.html @@ -0,0 +1,150 @@ +{% extends "sessao/sessaoplenaria_detail.html" %} +{% load i18n %} +{% load staticfiles %} + +{% block detail_content %} + + + + +
    +
  • Cronômetro do Discurso

  • +
+ +
    +
  • +
+ +
    +
  • Iniciar
  • +
  • Reiniciar
  • +
+ +
    +
  • Cronômetro do Aparte

  • +
+ +
    +
  • +
+ +
    +
  • Iniciar
  • +
  • Reiniciar
  • +
+ +
    +
  • Cronômetro da Questão de Ordem

  • +
+ +
    +
  • +
+ +
    +
  • Iniciar
  • +
  • Reiniciar
  • +
+ +{% endblock detail_content %} + +{% block foot_js %} + + +{% endblock %} diff --git a/templates/sessao/sessaoplenaria_detail.html b/templates/sessao/sessaoplenaria_detail.html index e6a004d21..d52109ff5 100644 --- a/templates/sessao/sessaoplenaria_detail.html +++ b/templates/sessao/sessaoplenaria_detail.html @@ -6,5 +6,6 @@
{% trans 'Início' %}
{% trans 'Expediente' %}
{% trans 'Presença' %}
+
{% trans 'Painel Eletrônico' %}
{% endblock sections_nav %}