diff --git a/wscacicneo/__init__.py b/wscacicneo/__init__.py
index bcdec6e..7775fd9 100755
--- a/wscacicneo/__init__.py
+++ b/wscacicneo/__init__.py
@@ -52,6 +52,7 @@ def main(global_config, **settings):
cfg.add_route('delete_user', 'usuario/delete/{matricula}')
cfg.add_route('notify', 'lista/notificacoes')
cfg.add_route('post_notify', 'post_notify')
+ cfg.add_route('list_notify', 'notificacoes/lista')
#
cfg.add_route('list', 'list')
cfg.add_route('gestao', 'gestao')
diff --git a/wscacicneo/templates/list_notify.pt b/wscacicneo/templates/list_notify.pt
new file mode 100644
index 0000000..fc48b0c
--- /dev/null
+++ b/wscacicneo/templates/list_notify.pt
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
diff --git a/wscacicneo/templates/master.pt b/wscacicneo/templates/master.pt
index c6f6323..6c81589 100755
--- a/wscacicneo/templates/master.pt
+++ b/wscacicneo/templates/master.pt
@@ -13,20 +13,16 @@
diff --git a/wscacicneo/templates/menu.pt b/wscacicneo/templates/menu.pt
index 278b9f9..dfb9cd2 100755
--- a/wscacicneo/templates/menu.pt
+++ b/wscacicneo/templates/menu.pt
@@ -11,6 +11,7 @@
Usuário
diff --git a/wscacicneo/views.py b/wscacicneo/views.py
index 9e3d5ef..88009a4 100755
--- a/wscacicneo/views.py
+++ b/wscacicneo/views.py
@@ -39,7 +39,7 @@ def blankmaster(request):
@view_config(route_name='master', renderer='templates/master.pt')
def master(request):
- return {'project': 'WSCacicNeo'}
+ return { }
@view_config(route_name='root')
def root(request):
@@ -49,9 +49,18 @@ def root(request):
def home(request):
return {'project': 'WSCacicNeo'}
-@view_config(route_name='reports', renderer='templates/reports.pt')
+@view_config(route_name='list_notify', renderer='templates/list_notify.pt')
def reports(request):
- return {'project': 'WSCacicNeo'}
+ notify_obj = Notify(
+ orgao = 'deasdsd',
+ id_coleta = 'saudhasd',
+ notify = 'sadsad',
+ status = 'sadasd'
+ )
+ reg = notify_obj.search_list_notify()
+ doc = reg.results
+ print(doc,'aaaaaaaaaaaaaaa')
+ return {'doc': doc}
@view_config(route_name='gestao', renderer='templates/gestao.pt')
def gestao(request):
--
libgit2 0.21.2