comparison app/view/messungen/EditForm.js @ 508:ae8582b4f207

Refactored messung edit window layout (LSB 3.8).
author Raimund Renkert <raimund.renkert@intevation.de>
date Sat, 13 Dec 2014 14:11:43 +0100
parents 7c0653e8d9f7
children 97a428548a24
comparison
equal deleted inserted replaced
507:0c277c02eaef 508:ae8582b4f207
19 'Lada.view.status.List', 19 'Lada.view.status.List',
20 'Lada.view.messwerte.List' 20 'Lada.view.messwerte.List'
21 ], 21 ],
22 22
23 model: 'Lada.model.Messung', 23 model: 'Lada.model.Messung',
24 minWidth: 650,
24 25
25 initComponent: function() { 26 initComponent: function() {
26 this.items = [{ 27 this.items = [{
27 xtype: 'textfield', 28 xtype: 'fieldset',
28 name: 'nebenprobenNr', 29 title: 'Allgemein',
29 maxLength: 10, 30 items: [{
30 fieldLabel: 'NPR' 31 layout: {
31 }, { 32 type: 'table',
32 xtype: 'messmethode', 33 columns: 2
33 name: 'mmtId', 34 },
34 fieldLabel: 'MMT' 35 border: 0,
35 }, { 36 items: [{
36 xtype: 'datetime', 37 xtype: 'textfield',
37 name: 'messzeitpunkt', 38 name: 'nebenprobenNr',
38 fieldLabel: 'Messzeitpunkt' 39 maxLength: 10,
39 }, { 40 margin: '0, 10, 5, 0',
40 xtype: 'numberfield', 41 fieldLabel: 'Nebenprobennr.'
41 allowDecimals: false, 42 }, {
42 minValue: 0, 43 xtype: 'messmethode',
43 name: 'messdauer', 44 name: 'mmtId',
44 fieldLabel: 'Messdauer' 45 margin: '0, 10, 5, 0',
45 }, { 46 fieldLabel: 'Messmethode'
46 xtype: 'testdatensatz', 47 }, {
47 name: 'fertig', 48 xtype: 'datetime',
48 fieldLabel: 'Fertig' 49 name: 'messzeitpunkt',
49 }, { 50 margin: '0, 10, 5, 0',
50 xtype: 'testdatensatz', 51 fieldLabel: 'Messzeitpunkt'
51 name: 'geplant', 52 }, {
52 fieldLabel: 'Geplant' 53 xtype: 'numberfield',
54 allowDecimals: false,
55 minValue: 0,
56 name: 'messdauer',
57 margin: '0, 10, 5, 0',
58 fieldLabel: 'Messdauer'
59 }, {
60 xtype: 'testdatensatz',
61 name: 'fertig',
62 margin: '0, 10, 5, 0',
63 fieldLabel: 'Fertig'
64 }, {
65 xtype: 'testdatensatz',
66 name: 'geplant',
67 margin: '0, 10, 5, 0',
68 fieldLabel: 'Geplant'
69 }]
70 }]
53 }, { 71 }, {
54 // Messwerte 72 // Messwerte
55 xtype: 'fieldset', 73 xtype: 'fieldset',
56 title: 'Messwerte', 74 title: 'Messwerte',
57 collapsible: true, 75 collapsible: true,

http://lada.wald.intevation.org