diff --git a/wscacicneo/__init__.py b/wscacicneo/__init__.py index 1093ee4..8bfa544 100755 --- a/wscacicneo/__init__.py +++ b/wscacicneo/__init__.py @@ -57,6 +57,9 @@ def main(global_config, **settings): config.add_route('listuser', 'usuario/lista') config.add_route('delete_user', 'usuario/delete/{matricula}') # + #Coleta + config.add_route('notify_coleta', 'coleta/notificacao') + # config.add_route('list', 'list') config.add_route('gestao', 'gestao') config.add_route('memoria', 'memoria') diff --git a/wscacicneo/templates/notify_coleta.pt b/wscacicneo/templates/notify_coleta.pt new file mode 100644 index 0000000..78e3353 --- /dev/null +++ b/wscacicneo/templates/notify_coleta.pt @@ -0,0 +1,42 @@ + + +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + +
+
+
+
+
+
+
+ + + +
diff --git a/wscacicneo/views.py b/wscacicneo/views.py index ba71ce5..ee3fd1c 100755 --- a/wscacicneo/views.py +++ b/wscacicneo/views.py @@ -89,6 +89,10 @@ def login(request): def orgao(request): return {'project': 'WSCacicNeo'} +@view_config(route_name='notify_coleta', renderer='templates/notify_coleta.pt') +def notify_coleta(request): + return {'project': 'WSCacicNeo'} + @view_config(route_name='listorgao', renderer='templates/list_orgao.pt') def listorgao(request): orgao_obj = Orgao( -- libgit2 0.21.2