comparison app/view/window/GenProbenFromMessprogramm.js @ 807:18697326c862

Less ugly
author Dustin Demuth <dustin@intevation.de>
date Fri, 22 May 2015 15:02:22 +0200
parents 975183ab775e
children 3bc19188fc3a
comparison
equal deleted inserted replaced
806:d369a7eb0a7f 807:18697326c862
75 // we need the "Id" param to load the correct item. 75 // we need the "Id" param to load the correct item.
76 this.items = [{ 76 this.items = [{
77 border: 0, 77 border: 0,
78 autoScroll: true, 78 autoScroll: true,
79 items: [{ 79 items: [{
80 xtype: 'text', 80 xtype: 'panel',
81 text: i18n.getMsg('nameofmessprogramm')+ ' ' 81 border: 0,
82 margin: 5,
83 layout: 'fit',
84 html: '<p>'
85 + i18n.getMsg('nameofmessprogramm')
86 + '<br/>'
87 + this.record.get('name')
88 + '</p>'
82 }, { 89 }, {
83 xtype: 'text', 90 xtype: 'panel',
84 text: this.record.get('name') 91 border: 0,
85 }, { 92 margin: 5,
86 xtype: 'text', 93 layout: 'fit',
87 text: ' ' + i18n.getMsg('messprogtimeperiod') 94 html: '<p>' + i18n.getMsg('messprogtimeperiod') + '</p>'
88 }, { 95 }, {
89 xtype: 'datetime', 96 xtype: 'datetime',
90 fieldLabel: i18n.getMsg('from'), 97 fieldLabel: i18n.getMsg('from'),
91 labelWidth: 90, 98 labelWidth: 90,
99 margin: 5,
92 name: 'start', 100 name: 'start',
93 format: 'd.m.Y H:i', 101 format: 'd.m.Y H:i',
94 period: 'start' 102 period: 'start'
95 }, { 103 }, {
96 xtype: 'datetime', 104 xtype: 'datetime',
97 fieldLabel: i18n.getMsg('to'), 105 fieldLabel: i18n.getMsg('to'),
98 labelWidth: 90, 106 labelWidth: 90,
107 margin: 5,
99 name: 'end', 108 name: 'end',
100 format: 'd.m.Y H:i', 109 format: 'd.m.Y H:i',
101 period: 'end' 110 period: 'end'
102 }] 111 }]
103 }]; 112 }];

http://lada.wald.intevation.org