comparison app/view/Viewport.js @ 120:19eab475bbe5

Clean up part one. Reduced application to the search page. Moved some stores for comoboboxes right to the combobox
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 21 Jun 2013 16:53:39 +0200
parents 4040d384d6b3
children ed7fb4fa32dc
comparison
equal deleted inserted replaced
119:1a08905b46e2 120:19eab475bbe5
2 extend: 'Ext.container.Viewport', 2 extend: 'Ext.container.Viewport',
3 requires: [ 3 requires: [
4 'Lada.view.search.List', 4 'Lada.view.search.List',
5 'Lada.view.search.Query1', 5 'Lada.view.search.Query1',
6 'Lada.view.search.Query2', 6 'Lada.view.search.Query2',
7 'Lada.view.proben.List', 7 'Lada.view.proben.List'
8 'Lada.view.proben.Edit'
9 ], 8 ],
10 initComponent: function() { 9 initComponent: function() {
11 console.log('Setting up Viewport'); 10 console.log('Setting up Viewport');
12 this.items = { 11 this.items = {
13 xtype: 'panel', 12 xtype: 'panel',
29 id: 'query2', 28 id: 'query2',
30 xtype: 'query2', 29 xtype: 'query2',
31 hidden: true 30 hidden: true
32 31
33 }, 32 },
33 // Buttons to trigger the search.
34 { 34 {
35 id: 'SearchBtnPanel', 35 id: 'SearchBtnPanel',
36 xtype: 'panel', 36 xtype: 'panel',
37 border: false, 37 border: false,
38 margin: '0 0 10 0', 38 margin: '0 0 10 0',
50 } 50 }
51 ], 51 ],
52 hidden: true 52 hidden: true
53 53
54 }, 54 },
55 // Buttons to trigger the search.
56 // Resultlist for the query. 55 // Resultlist for the query.
57 { 56 {
58 id: 'result', 57 id: 'result',
59 xtype: 'probenlist', 58 xtype: 'probenlist',
60 hidden: true 59 hidden: true

http://lada.wald.intevation.org