comparison app/view/FilterPanel.js @ 548:d47ee7439f44

Added new js files.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 06 Mar 2015 12:43:52 +0100
parents
children 69e66117bd58
comparison
equal deleted inserted replaced
547:f172b35a3b92 548:d47ee7439f44
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */
8
9 /*
10 * Panel to show available search queryies
11 */
12 Ext.define('Lada.view.FilterPanel', {
13 extend: 'Ext.form.FieldSet',
14 alias: 'widget.filterpanel',
15
16 require: [
17 'Ext.layout.container.Column'
18 ],
19
20 title: 'Filter-Auswahl',
21 initComponent: function() {
22 this.layout = {
23 type: 'vbox',
24 align: 'stretch'
25 };
26 this.items = [{
27 xtype: 'combobox',
28 name: 'filter',
29 editable: false,
30 store: 'Queries',
31 displayField: 'name',
32 valueField: 'id',
33 emptyText: 'Wählen Sie eine Abfrage'
34 }, {
35 xtype: 'panel',
36 border: false,
37 margin: '0 0 10 0',
38 items: [{
39 xtype: 'button',
40 action: 'search',
41 text: 'Suchen',
42 margin: '0 10 0 0'
43 }, {
44 xtype: 'button',
45 action: 'reset',
46 text: 'Zurücksetzen'
47 }],
48 hidden: false
49 }, {
50 xtype: 'panel',
51 maxWidth: '500',
52 border: false,
53 margin: '0 10',
54 items: [{
55 xtype: 'displayfield',
56 name: 'description',
57 fieldLabel: 'Beschreibung',
58 shrinkWrap: 3,
59 value: '-/-'
60 }, {
61 xtype: 'displayfield',
62 name: 'columns',
63 fieldLabel: 'Spalten',
64 value: '-/-'
65 }]
66 }];
67 this.callParent(arguments);
68 }
69 });

http://lada.wald.intevation.org