comparison app/view/Viewport.js @ 1015:af9879d72310

Updated UI, added window for filter management and added fieldset for query details.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 02 Feb 2016 15:25:16 +0100
parents 7867752a0d58
children 52b2c1d1ca53
comparison
equal deleted inserted replaced
1010:94a6b5415d73 1015:af9879d72310
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.ModeSwitcher', 19 'Lada.view.ModeSwitcher',
20 'Lada.view.FilterPanel' 20 'Lada.view.FilterPanel',
21 'Lada.view.panel.FilterDetails'
21 ], 22 ],
22 layout: 'fit', 23 layout: 'fit',
23 initComponent: function() { 24 initComponent: function() {
24 var i18n = Lada.getApplication().bundle; 25 var i18n = Lada.getApplication().bundle;
25 this.items = [{ 26 this.items = [{
64 // Auswahl einer Abfrage. 65 // Auswahl einer Abfrage.
65 xtype: 'filterpanel', 66 xtype: 'filterpanel',
66 margin: '0, 10, 0, 10' 67 margin: '0, 10, 0, 10'
67 }, { 68 }, {
68 // Variables settings for the current selected sql statement. 69 // Variables settings for the current selected sql statement.
69 xtype: 'fieldset', 70 xtype: 'filterdetails',
70 name: 'filtervariables', 71 name: 'filterdetails',
71 title: 'Variablenbelegung', 72 title: i18n.getMsg('filterdetails.title'),
72 hidden: true, 73 hidden: true,
73 margin: '0, 10, 0, 10', 74 margin: '0, 10, 0, 10'
74 items: []
75 }] 75 }]
76 }, { 76 }, {
77 xtype: 'panel', 77 xtype: 'panel',
78 layout: 'fit', 78 layout: 'fit',
79 name: 'contentpanel', 79 name: 'contentpanel',

http://lada.wald.intevation.org