changeset 1248:ca241fb7fbfb

Removed messprogramm name and updated messprogramm form layout
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 10 Nov 2016 13:58:57 +0100
parents 74e4e5a7adc7
children 979b4b9200a7
files app/view/form/Messprogramm.js
diffstat 1 files changed, 14 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/form/Messprogramm.js	Wed Nov 09 15:30:01 2016 +0100
+++ b/app/view/form/Messprogramm.js	Thu Nov 10 13:58:57 2016 +0100
@@ -140,7 +140,7 @@
                                 submitValue: false,
                                 fieldLabel: i18n.getMsg('netzbetreiberId'),
                                 margin : '0, 5, 5, 5',
-                                width : '35%',
+                                width : '45%',
                                 labelWidth: 80
                             }, {
                                 xtype: 'datenbasis',
@@ -151,15 +151,6 @@
                                 margin : '0, 5, 5, 5',
                                 width : '20%',
                                 labelWidth: 65
-                            }, {
-                                xtype: 'chkbox',
-                                name: 'test',
-                                fieldLabel: i18n.getMsg('test'),
-                                anchor: '100%',
-                                margin : '0, 5, 5, 5',
-                                width : '10%',
-                                labelWidth: 30,
-                                allowBlank: false
                             }]
                         }, {
                             layout: {
@@ -168,30 +159,30 @@
                             },
                             border: 0,
                             items: [{
-                                xtype: 'tfield',
-                                name: 'name',
-                                fieldLabel: i18n.getMsg('mprId'),
+                                xtype: 'probenart',
+                                editable: false,
+                                name: 'probenartId',
+                                fieldLabel: i18n.getMsg('probenartId'),
                                 margin: '0, 5, 5, 5',
                                 width: '35%',
                                 labelWidth: 95,
-                                maxLength: 20,
-                                editable: true
+                                allowBlank: false
                             }, {
                                 xtype: 'betriebsart',
                                 name: 'baId',
                                 margin: '0, 5, 5, 5',
                                 fieldLabel: i18n.getMsg('baId'),
                                 //anchor: '100%',
-                                width: '35%',
+                                width: '45%',
                                 labelWidth: 80
                             }, {
-                                xtype: 'probenart',
-                                editable: false,
-                                name: 'probenartId',
-                                fieldLabel: i18n.getMsg('probenartId'),
-                                margin: '0, 5, 5, 5',
-                                width: '20%',
-                                labelWidth: 70,
+                                xtype: 'chkbox',
+                                name: 'test',
+                                fieldLabel: i18n.getMsg('test'),
+                                anchor: '100%',
+                                margin : '0, 5, 5, 5',
+                                width : '20%',
+                                labelWidth: 30,
                                 allowBlank: false
                             }]
                         }]

http://lada.wald.intevation.org