diff --git a/painel/urls.py b/painel/urls.py index 77e9b7596..5729ce980 100644 --- a/painel/urls.py +++ b/painel/urls.py @@ -1,13 +1,15 @@ from django.conf.urls import include, url from .views import (controlador_painel, cronometro_painel_crud, json_presenca, - json_votacao, painel_parlamentares_view, painel_view, + json_votacao, paienl_mensagem_view, + painel_parlamentares_view, painel_view, painel_votacao_view) urlpatterns = [ url(r'^sistema/painel$', painel_view), url(r'^sistema/painel/controlador', controlador_painel, name='controlador_painel'), + url(r'^sistema/painel/mensagem', paienl_mensagem_view), url(r'^sistema/painel/parlamentares', painel_parlamentares_view), url(r'^sistema/painel/votacao', painel_votacao_view), url(r'^sistema/painel/json_presenca', json_presenca, name='json_presenca'), diff --git a/painel/views.py b/painel/views.py index a715565f1..e51e60a84 100644 --- a/painel/views.py +++ b/painel/views.py @@ -57,6 +57,10 @@ def painel_view(request): return render(request, 'painel/index.html', {'context': context}) +def paienl_mensagem_view(request): + return render(request, 'painel/mensagem.html') + + def painel_parlamentares_view(request): return render(request, 'painel/parlamentares.html') diff --git a/templates/painel/index.html b/templates/painel/index.html index 78743a80e..4b4885f23 100644 --- a/templates/painel/index.html +++ b/templates/painel/index.html @@ -97,9 +97,9 @@

Ajax refresh counter:

-
-
-
+

+

+

diff --git a/templates/painel/mensagem.html b/templates/painel/mensagem.html new file mode 100644 index 000000000..4d2ec9cbc --- /dev/null +++ b/templates/painel/mensagem.html @@ -0,0 +1,108 @@ +{% load i18n %} +{% load staticfiles %} + + + + + + + + + + {% block head_title %}{% trans 'SAPL - Sistema de Apoio ao Processo Legislativo' %}{% endblock %} + + + + + + + + +

{{ context.title }}

+ +

Ajax refresh counter:

+

+

+

+

+




+
+ + + + diff --git a/templates/painel/parlamentares.html b/templates/painel/parlamentares.html index 6f046d0d8..a182c40aa 100644 --- a/templates/painel/parlamentares.html +++ b/templates/painel/parlamentares.html @@ -1,15 +1,17 @@ +{% load i18n %} +{% load staticfiles %} - + + + + + - Painel jQuery - - - - - - - + + {% block head_title %}{% trans 'SAPL - Sistema de Apoio ao Processo Legislativo' %}{% endblock %} + +