Mercurial > lada > lada-client
annotate app/view/proben/Edit.js @ 32:162552e878e7
Removed unused file.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 21 May 2013 17:55:15 +0200 |
parents | f964a50bfe57 |
children | b1751458594f |
rev | line source |
---|---|
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.define('Lada.view.proben.Edit', { |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 extend: 'Ext.window.Window', |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 alias: 'widget.probenedit', |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 title: 'Maske für §3-Proben', |
25
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
22
diff
changeset
|
6 width: 600, |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
22
diff
changeset
|
7 height: 600, |
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 autoShow: true, |
25
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
22
diff
changeset
|
9 autoScroll: true, |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
22
diff
changeset
|
10 modal: true, |
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 initComponent: function() { |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 this.items = [ |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 { |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
15 //Define the form |
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
16 xtype: 'form', |
25
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
22
diff
changeset
|
17 bodyPadding: '10 10', |
f964a50bfe57
Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
22
diff
changeset
|
18 border: 0, |
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
19 items: [ |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
20 // Probenangaben |
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
21 { |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
22 xtype: 'fieldset', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
23 title: 'Probenangaben', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
24 defaults: { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
25 labelWidth: 150 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
26 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
27 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
28 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
29 xtype: 'textfield', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
30 name: 'mstId', |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
31 fieldLabel: 'Messstelle' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
32 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
33 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
34 xtype: 'textfield', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
35 name: 'hauptprobenNr', |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
36 fieldLabel: 'Hauptprobennr.' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
37 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
38 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
39 xtype: 'textfield', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
40 name: 'probeId', |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
41 fieldLabel: 'Probe-ID' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
42 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
43 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
44 xtype: 'fieldset', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
45 title: 'Erweiterte Probenangaben', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
46 collapsible: true, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
47 collapsed: true, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
48 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
49 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
50 xtype: 'textfield', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
51 name: 'x4', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
52 fieldLabel: 'Datebasis' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
53 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
54 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
55 xtype: 'textfield', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
56 name: 'x5', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
57 fieldLabel: 'RB/IB' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
58 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
59 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
60 xtype: 'textfield', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
61 name: 'test', |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
62 fieldLabel: 'Testdatensatz' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
63 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
64 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
65 xtype: 'textfield', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
66 name: 'probenartId', |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
67 fieldLabel: 'Probenart' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
68 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
69 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
70 xtype: 'textfield', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
71 name: 'x8', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
72 fieldLabel: 'Phase' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
73 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
74 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
75 xtype: 'textfield', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
76 name: 'x9', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
77 fieldLabel: 'Szenario' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
78 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
79 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
80 xtype: 'textfield', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
81 name: 'probenartId', |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
82 fieldLabel: 'Probennehmer' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
83 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
84 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
85 xtype: 'textfield', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
86 name: 'x11', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
87 fieldLabel: 'Datensatzerzeuger' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
88 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
89 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
90 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
91 ] |
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
92 }, |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
93 // Medium |
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
94 { |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
95 xtype: 'fieldset', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
96 title: 'Medium', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
97 defaults: { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
98 labelWidth: 150 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
99 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
100 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
101 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
102 xtype: 'textfield', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
103 name: 'umwId', |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
104 fieldLabel: 'Umweltbereich' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
105 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
106 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
107 xtype: 'textfield', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
108 name: 'media', |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
109 fieldLabel: 'Medienbezeichnung' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
110 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
111 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
112 xtype: 'textfield', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
113 name: 'mediaDesk', |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
114 fieldLabel: 'Deskriptoren' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
115 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
116 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
117 xtype: 'fieldset', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
118 title: 'Details Deskriptoren', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
119 collapsible: true, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
120 collapsed: true, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
121 defaultType: 'textfield', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
122 items: this.buildDescriptors() |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
123 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
124 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
125 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
126 // Zeit |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
127 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
128 xtype: 'fieldset', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
129 title: 'Zeit', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
130 defaultType: 'datefield', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
131 defaults: { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
132 labelWidth: 150 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
133 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
134 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
135 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
136 fieldLabel: 'Probennahme Beginn', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
137 name: 'probeentnahmeBeginn' |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
138 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
139 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
140 fieldLabel: 'Probennahme Ende', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
141 name: 'probeentnahmeEnde' |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
142 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
143 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
144 fieldLabel: 'Sollzeit Von', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
145 name: 'solldatumBeginn' |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
146 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
147 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
148 fieldLabel: 'Sollzeit Bis', |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
149 name: 'solldatumEnde' |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
150 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
151 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
152 fieldLabel: 'Ursprungszeit', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
153 name: 'z5' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
154 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
155 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
156 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
157 // Ortsangaben |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
158 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
159 xtype: 'fieldset', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
160 title: 'Ortsangaben', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
161 padding: '10 10', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
162 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
163 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
164 xtype: 'grid', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
165 dockedItems: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
166 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
167 xtype: 'toolbar', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
168 dock: 'top', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
169 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
170 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
171 text: 'Hinzufügen', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
172 icon: 'gfx/plus.gif' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
173 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
174 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
175 text: 'Löschen', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
176 icon: 'gfx/minus.gif' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
177 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
178 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
179 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
180 ], |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
181 columns: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
182 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
183 text: 'Typ' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
184 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
185 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
186 text: 'Staat' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
187 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
188 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
189 text: 'Gem-ID' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
190 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
191 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
192 text: 'Gemeindebezeichnung', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
193 flex: 1 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
194 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
195 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
196 text: 'Messpunkt', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
197 flex: 1 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
198 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
199 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
200 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
201 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
202 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
203 // Probenzusatzwerte |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
204 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
205 xtype: 'fieldset', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
206 title: 'Probenzusatzwerte', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
207 collapsible: true, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
208 collapsed: true, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
209 padding: '10 10', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
210 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
211 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
212 xtype: 'grid', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
213 dockedItems: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
214 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
215 xtype: 'toolbar', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
216 dock: 'top', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
217 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
218 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
219 text: 'Hinzufügen', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
220 icon: 'gfx/plus.gif' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
221 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
222 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
223 text: 'Löschen', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
224 icon: 'gfx/minus.gif' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
225 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
226 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
227 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
228 ], |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
229 columns: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
230 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
231 text: 'PZW-ID' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
232 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
233 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
234 text: 'PZW-Größe' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
235 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
236 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
237 text: '< NWG' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
238 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
239 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
240 text: '< PZW' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
241 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
242 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
243 text: 'rel. Unsich.[%]' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
244 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
245 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
246 text: 'Maßeinheit', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
247 flex: 1 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
248 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
249 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
250 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
251 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
252 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
253 // Probenkommentar |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
254 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
255 xtype: 'fieldset', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
256 title: 'Probenkommentare', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
257 collapsible: true, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
258 collapsed: true, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
259 padding: '10 10', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
260 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
261 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
262 xtype: 'grid', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
263 dockedItems: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
264 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
265 xtype: 'toolbar', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
266 dock: 'top', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
267 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
268 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
269 text: 'Hinzufügen', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
270 icon: 'gfx/plus.gif' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
271 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
272 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
273 text: 'Löschen', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
274 icon: 'gfx/minus.gif' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
275 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
276 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
277 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
278 ], |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
279 columns: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
280 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
281 text: 'Erzeuger' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
282 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
283 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
284 text: 'Datum' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
285 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
286 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
287 text: 'Text', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
288 flex: 1 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
289 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
290 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
291 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
292 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
293 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
294 // Messungsangaben |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
295 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
296 xtype: 'fieldset', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
297 title: 'Messungsangaben', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
298 padding: '10 10', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
299 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
300 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
301 xtype: 'grid', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
302 dockedItems: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
303 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
304 xtype: 'toolbar', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
305 dock: 'top', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
306 items: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
307 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
308 text: 'Hinzufügen', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
309 icon: 'gfx/plus.gif' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
310 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
311 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
312 text: 'Löschen', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
313 icon: 'gfx/minus.gif' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
314 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
315 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
316 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
317 ], |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
318 columns: [ |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
319 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
320 text: 'Mess.ID', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
321 width: 50 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
322 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
323 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
324 text: 'NPR-Nr.', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
325 width: 50 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
326 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
327 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
328 text: 'MMT', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
329 width: 50 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
330 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
331 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
332 text: 'Messzeit' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
333 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
334 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
335 text: 'Status' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
336 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
337 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
338 text: 'OK-Flag' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
339 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
340 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
341 text: 'Anzahl Nuklide' |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
342 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
343 { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
344 text: 'Anzahl Kommentare', |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
345 flex: 1 |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
346 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
347 ] |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
348 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
349 ] |
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
350 } |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
351 ] |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
352 } |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
353 ]; |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
354 |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
355 this.buttons = [ |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
356 { |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
357 text: 'Speichern', |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
358 action: 'save' |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
359 }, |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
360 { |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
361 text: 'Verwerfen', |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
362 scope: this, |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
363 handler: this.close |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
364 } |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
365 ]; |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
366 this.callParent(arguments); |
19
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
367 }, |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
368 buildDescriptors: function() { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
369 var fields = new Array(); |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
370 for ($i=0; $i<12; $i++) { |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
371 fields[$i] = {fieldLabel: 'S'+$i, name: 's'+$i}; |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
372 } |
a05625ae08b1
Added more fields to the Edit-Dialog.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
18
diff
changeset
|
373 return fields; |
18
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
374 } |
9e1a40312bbe
Implemented a basic edit dialog. Data will be set to data/proben2.json url
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
375 }); |
22
0a4674f17bcb
Added more fields to the overview and set correct reference in on the edit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
19
diff
changeset
|
376 |