diff --git a/wscacicneo/__init__.py b/wscacicneo/__init__.py
index 38cd794..8d142f9 100644
--- a/wscacicneo/__init__.py
+++ b/wscacicneo/__init__.py
@@ -13,6 +13,7 @@ def main(global_config, **settings):
config.add_route('graficop', 'graficop')
config.add_route('notifications', 'notifications')
config.add_route('admin', 'admin')
+ config.add_route('gestao', 'gestao')
config.add_route('reports', 'reports')
config.add_route('busca', 'busca')
config.add_route('gestor', 'gestor')
diff --git a/wscacicneo/static/gestao.js b/wscacicneo/static/gestao.js
new file mode 100644
index 0000000..d22de4a
--- /dev/null
+++ b/wscacicneo/static/gestao.js
@@ -0,0 +1,65 @@
+
+// **** FILTRO DE ITENS ****
+
+Ext.define('User1',{
+ extend: 'Ext.data.Model',
+ fields: ['chbox', 'item' ]
+});
+
+var userStore1 = Ext.create('Ext.data.Store', {
+ model: 'User1',
+ data: [
+ { item: 'Computador'},
+ { item: 'Processador'},
+ { item: 'Memórias'},
+ { item: 'Hard Disk (HD)'},
+ { item: 'Sistemas Operacionais'},
+ { item: 'Suítes de Escritórios'},
+ { item: 'Ativos de Redes'},
+ { item: 'Softwares Básicos'},
+ ]
+});
+
+table1 = Ext.create('Ext.grid.Panel', {
+ store: userStore1,
+ width: 400,
+ height: 200,
+ // title: 'Application Users',
+ columns: [
+ {
+ text: 'Item',
+ width: 500,
+ sortable: true,
+ hideable: false,
+ dataIndex: 'item'
+ },
+ ]
+});
+
+tabela1 = Ext.create('Ext.panel.Panel', {
+ layout: 'fit',
+ title: 'Gerar Relatório',
+ width: '75%',
+ frame: true,
+ draggable: true,
+ collapsible: true,
+ border : true,
+ style: {
+ "text-align": 'center',
+ margin: '0px auto 15px auto'
+ },
+ items: table1,
+});
+
+Ext.onReady(function(){
+
+
+ Ext.create('Ext.Container', {
+ padding:'15px',
+ items: [tabela1],
+ renderTo: 'widgets'
+ });
+
+});
+
+
diff --git a/wscacicneo/templates/gestao.pt b/wscacicneo/templates/gestao.pt
new file mode 100644
index 0000000..744173a
--- /dev/null
+++ b/wscacicneo/templates/gestao.pt
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/wscacicneo/templates/reports.pt b/wscacicneo/templates/reports.pt
index 8dc5a0f..d6df669 100644
--- a/wscacicneo/templates/reports.pt
+++ b/wscacicneo/templates/reports.pt
@@ -1,11 +1,7 @@
-<<<<<<< HEAD
-
-
-=======
->>>>>>> a1454feb4541f60bde65a7192f871a00bb39d799
+
diff --git a/wscacicneo/views.py b/wscacicneo/views.py
index 3cd3e77..25df442 100644
--- a/wscacicneo/views.py
+++ b/wscacicneo/views.py
@@ -23,6 +23,10 @@ def home(request):
def reports(request):
return {'project': 'WSCacicNeo'}
+@view_config(route_name='gestao', renderer='templates/gestao.pt')
+def gestao(request):
+ return {'project': 'WSCacicNeo'}
+
@view_config(route_name='perfil', renderer='templates/perfil.pt')
def perfil(request):
return {'project': 'WSCacicNeo'}
--
libgit2 0.21.2