Mercurial > lada > lada-client
annotate 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 |
rev | line source |
---|---|
12
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.view.Viewport' ,{ |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Ext.container.Viewport', |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 requires: [ |
25
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
4 'Lada.view.sql.List', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
5 'Lada.view.sql.Variables', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
6 'Lada.view.proben.List' |
12
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 ], |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 initComponent: function() { |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 console.log('Setting up Viewport'); |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 this.items = { |
25
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
11 xtype: 'panel', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
12 title: '<center>Probenauswahlmaske</center>', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
13 bodyPadding: '10 10', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
14 items: [ |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
15 { |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
16 xtype: 'sqllist', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
17 margin: '0 0 10 0' |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
18 }, |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
19 // Variables settings for the current selected sql statement. |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
20 //{ |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
21 // id: 'variables', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
22 // xtype: 'variables' |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
23 //}, |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
24 // Resultlist for the query. |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
25 { |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
26 id: 'result', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
27 xtype: 'probenlist' |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
28 } |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
12
diff
changeset
|
29 ] |
12
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
30 }; |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
31 this.callParent(arguments); |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
32 } |
cdcaf38eab45
Added Viewport class which should be used to setup the viewport. Currently not
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
33 }); |