Mercurial > lada > lada-client
comparison app/view/Viewport.js @ 1007:23bfcbdb4527
merged.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 20 Jan 2016 17:33:33 +0100 |
parents | 7867752a0d58 |
children | af9879d72310 |
comparison
equal
deleted
inserted
replaced
1002:54179b6043b6 | 1007:23bfcbdb4527 |
---|---|
14 * initComponent function. | 14 * initComponent function. |
15 */ | 15 */ |
16 Ext.define('Lada.view.Viewport', { | 16 Ext.define('Lada.view.Viewport', { |
17 extend: 'Ext.container.Viewport', | 17 extend: 'Ext.container.Viewport', |
18 requires: [ | 18 requires: [ |
19 'Lada.view.ProbenPlanungSwitcher', | 19 'Lada.view.ModeSwitcher', |
20 'Lada.view.FilterPanel', | 20 'Lada.view.FilterPanel' |
21 'Lada.view.grid.FilterResult' | |
22 ], | 21 ], |
23 layout: 'fit', | 22 layout: 'fit', |
24 initComponent: function() { | 23 initComponent: function() { |
25 var i18n = Lada.getApplication().bundle; | 24 var i18n = Lada.getApplication().bundle; |
26 this.items = [{ | 25 this.items = [{ |
32 type: 'vbox', | 31 type: 'vbox', |
33 align: 'stretch' | 32 align: 'stretch' |
34 }, | 33 }, |
35 region: 'west', | 34 region: 'west', |
36 split: true, | 35 split: true, |
37 border: 1, | |
38 flex: 1, | 36 flex: 1, |
39 dockedItems: [{ | 37 dockedItems: [{ |
40 xtype: 'toolbar', | 38 xtype: 'toolbar', |
41 dock: 'top', | 39 dock: 'top', |
42 items: [{ | 40 items: [{ |
58 id: 'groupinfo', | 56 id: 'groupinfo', |
59 text: '' | 57 text: '' |
60 }] | 58 }] |
61 }], | 59 }], |
62 items: [{ | 60 items: [{ |
63 xtype: 'probenplanungswitcher', | 61 xtype: 'modeswitcher', |
64 margin: '0, 10, 0, 10' | 62 margin: '0, 10, 0, 10' |
65 }, { | 63 }, { |
66 // Auswahl einer Abfrage. | 64 // Auswahl einer Abfrage. |
67 xtype: 'filterpanel', | 65 xtype: 'filterpanel', |
68 margin: '0, 10, 0, 10' | 66 margin: '0, 10, 0, 10' |
74 hidden: true, | 72 hidden: true, |
75 margin: '0, 10, 0, 10', | 73 margin: '0, 10, 0, 10', |
76 items: [] | 74 items: [] |
77 }] | 75 }] |
78 }, { | 76 }, { |
79 // Resultlist for the query. | 77 xtype: 'panel', |
78 layout: 'fit', | |
79 name: 'contentpanel', | |
80 flex: 3, | 80 flex: 3, |
81 xtype: 'filterresultgrid', | |
82 hidden: false, | 81 hidden: false, |
83 region: 'center' | 82 region: 'center' |
84 }] | 83 }] |
85 }]; | 84 }]; |
86 this.callParent(arguments); | 85 this.callParent(arguments); |