diff --git a/wscacicneo/__init__.py b/wscacicneo/__init__.py index 7775fd9..16405d9 100755 --- a/wscacicneo/__init__.py +++ b/wscacicneo/__init__.py @@ -53,6 +53,7 @@ def main(global_config, **settings): cfg.add_route('notify', 'lista/notificacoes') cfg.add_route('post_notify', 'post_notify') cfg.add_route('list_notify', 'notificacoes/lista') + cfg.add_route('cadastro_coleta', 'coleta/cadastro') # cfg.add_route('list', 'list') cfg.add_route('gestao', 'gestao') diff --git a/wscacicneo/templates/cadastro_coleta.pt b/wscacicneo/templates/cadastro_coleta.pt new file mode 100644 index 0000000..7b1006c --- /dev/null +++ b/wscacicneo/templates/cadastro_coleta.pt @@ -0,0 +1,85 @@ + + + +
+
+
+
+ +
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+ + + + + + + + + +
+
+
+ + + + + + + +
+
+
+ + + + + + + + + +
+
+
+ + + + + + + + +
+ +
+
+ +
+
diff --git a/wscacicneo/views.py b/wscacicneo/views.py index 88009a4..1f5c19a 100755 --- a/wscacicneo/views.py +++ b/wscacicneo/views.py @@ -536,3 +536,6 @@ def post_notify(request): results = notify_obj.create_notify() return Response(str(results)) +@view_config(route_name='cadastro_coleta', renderer='templates/cadastro_coleta.pt') +def cadastro_coleta(request): + return {'project': 'WSCacicNeo'} \ No newline at end of file -- libgit2 0.21.2