Mercurial > lada > lada-client
comparison app/view/Viewport.js @ 25:f964a50bfe57
Restructured the application. Fixed layouts etc.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 08 May 2013 12:20:06 +0200 |
parents | cdcaf38eab45 |
children | 4d60b9ebce15 |
comparison
equal
deleted
inserted
replaced
24:72778ac34dbb | 25:f964a50bfe57 |
---|---|
1 Ext.define('Lada.view.Viewport' ,{ | 1 Ext.define('Lada.view.Viewport' ,{ |
2 extend: 'Ext.container.Viewport', | 2 extend: 'Ext.container.Viewport', |
3 requires: [ | 3 requires: [ |
4 'Lada.view.Sql', | 4 'Lada.view.sql.List', |
5 'Lada.view.Proben' | 5 'Lada.view.sql.Variables', |
6 'Lada.view.proben.List' | |
6 ], | 7 ], |
7 layout: 'fit', | |
8 initComponent: function() { | 8 initComponent: function() { |
9 console.log('Setting up Viewport'); | 9 console.log('Setting up Viewport'); |
10 this.items = { | 10 this.items = { |
11 xtype: 'probenlist' | 11 xtype: 'panel', |
12 //items: [{ | 12 title: '<center>Probenauswahlmaske</center>', |
13 // xtype: 'probenlist' | 13 bodyPadding: '10 10', |
14 //}] | 14 items: [ |
15 { | |
16 xtype: 'sqllist', | |
17 margin: '0 0 10 0' | |
18 }, | |
19 // Variables settings for the current selected sql statement. | |
20 //{ | |
21 // id: 'variables', | |
22 // xtype: 'variables' | |
23 //}, | |
24 // Resultlist for the query. | |
25 { | |
26 id: 'result', | |
27 xtype: 'probenlist' | |
28 } | |
29 ] | |
15 }; | 30 }; |
16 this.callParent(arguments); | 31 this.callParent(arguments); |
17 } | 32 } |
18 }); | 33 }); |