comparison app/view/Viewport.js @ 28:4d60b9ebce15

Renamed sql modul into search. Further display The query selection as Combobox instead of a grid.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 16 May 2013 17:55:53 +0200
parents f964a50bfe57
children 897e3100c6da
comparison
equal deleted inserted replaced
27:e02d07abc4fe 28:4d60b9ebce15
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.List', 4 'Lada.view.search.List',
5 'Lada.view.sql.Variables', 5 'Lada.view.search.Variables',
6 'Lada.view.proben.List' 6 'Lada.view.proben.List'
7 ], 7 ],
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: 'panel', 11 xtype: 'panel',
12 title: '<center>Probenauswahlmaske</center>', 12 title: '<center>Probenauswahlmaske</center>',
13 bodyPadding: '10 10', 13 bodyPadding: '10 10',
14 items: [ 14 items: [
15 { 15 {
16 xtype: 'sqllist', 16 xtype: 'queryselector',
17 margin: '0 0 10 0' 17 margin: '0 0 10 0'
18 }, 18 },
19 // Variables settings for the current selected sql statement. 19 // Variables settings for the current selected sql statement.
20 //{ 20 //{
21 // id: 'variables', 21 // id: 'variables',

http://lada.wald.intevation.org