comparison app/view/form/Probe.js @ 838:bbbccdb103cf

Display Time in Proben over Medium
author Dustin Demuth <dustin@intevation.de>
date Mon, 06 Jul 2015 16:50:30 +0200
parents 1321efe444f0
children 95d40ca7bb70
comparison
equal deleted inserted replaced
837:d054732bc7a2 838:bbbccdb103cf
157 labelWidth: 105 157 labelWidth: 105
158 }] 158 }]
159 }] 159 }]
160 }] 160 }]
161 }, { 161 }, {
162 // Medium
163 xtype: 'fieldset',
164 title: 'Medium',
165 items: [{
166 border: 0,
167 layout: {
168 type: 'vbox',
169 align: 'stretch'
170 },
171 width: '100%',
172 items: [{
173 xtype: 'textfield',
174 name: 'media',
175 labelWidth: 125,
176 fieldLabel: 'Medienbezeichnung',
177 listeners: {
178 dirtychange: {
179 fn: this.updateOnChange,
180 scope: me
181 }
182 }
183 }, {
184 xtype: 'tfield',
185 maxLength: 38,
186 enforceMaxLength: true,
187 name: 'mediaDesk',
188 labelWidth: 125,
189 fieldLabel: 'Deskriptoren',
190 regex: new RegExp('(?:D: ){1}(?:[0-9]{2} ){11}[0-9]{2}'),
191 regexText: 'Die Deskriptoren haben das falsche Format.<br />'+
192 'Richtig wäre: D: 99 99 99 99 99 99 99 99 99 99 99 99',
193 listeners: {
194 dirtychange: {
195 fn: this.updateOnChange,
196 scope: me
197 }
198 }
199 }, {
200 xtype: 'umwelt',
201 name: 'umwId',
202 fieldLabel: 'Umweltbereich',
203 labelWidth: 125,
204 allowBlank: false,
205 editable: true,
206 listeners: {
207 dirtychange: {
208 fn: this.updateOnChange,
209 scope: me
210 }
211 }
212 }, {
213 xtype: 'fieldset',
214 title: 'Details Deskriptoren',
215 collapsible: true,
216 collapsed: true,
217 layout: {
218 type: 'table',
219 columns: 3
220 },
221 items: this.buildDescriptors()
222 }]
223 }]
224 }, {
225 // Zeit 162 // Zeit
226 xtype: 'fieldset', 163 xtype: 'fieldset',
227 title: 'Zeit', 164 title: 'Zeit',
228 layout: { 165 layout: {
229 type: 'hbox', 166 type: 'hbox',
285 name: 'solldatumEnde', 222 name: 'solldatumEnde',
286 format: 'd.m.Y H:i', 223 format: 'd.m.Y H:i',
287 period: 'end' 224 period: 'end'
288 }] 225 }]
289 }] 226 }]
227 }, {
228 // Medium
229 xtype: 'fieldset',
230 title: 'Medium',
231 items: [{
232 border: 0,
233 layout: {
234 type: 'vbox',
235 align: 'stretch'
236 },
237 width: '100%',
238 items: [{
239 xtype: 'textfield',
240 name: 'media',
241 labelWidth: 125,
242 fieldLabel: 'Medienbezeichnung',
243 listeners: {
244 dirtychange: {
245 fn: this.updateOnChange,
246 scope: me
247 }
248 }
249 }, {
250 xtype: 'tfield',
251 maxLength: 38,
252 enforceMaxLength: true,
253 name: 'mediaDesk',
254 labelWidth: 125,
255 fieldLabel: 'Deskriptoren',
256 regex: new RegExp('(?:D: ){1}(?:[0-9]{2} ){11}[0-9]{2}'),
257 regexText: 'Die Deskriptoren haben das falsche Format.<br />'+
258 'Richtig wäre: D: 99 99 99 99 99 99 99 99 99 99 99 99',
259 listeners: {
260 dirtychange: {
261 fn: this.updateOnChange,
262 scope: me
263 }
264 }
265 }, {
266 xtype: 'umwelt',
267 name: 'umwId',
268 fieldLabel: 'Umweltbereich',
269 labelWidth: 125,
270 allowBlank: false,
271 editable: true,
272 listeners: {
273 dirtychange: {
274 fn: this.updateOnChange,
275 scope: me
276 }
277 }
278 }, {
279 xtype: 'fieldset',
280 title: 'Details Deskriptoren',
281 collapsible: true,
282 collapsed: true,
283 layout: {
284 type: 'table',
285 columns: 3
286 },
287 items: this.buildDescriptors()
288 }]
289 }]
290 }] 290 }]
291 }] 291 }]
292 }]; 292 }];
293 this.callParent(arguments); 293 this.callParent(arguments);
294 this.clearMessages(); 294 this.clearMessages();

http://lada.wald.intevation.org