Mercurial > lada > lada-client
comparison app/view/form/Ortserstellung.js @ 1321:f1e348109ebb
Updated style to fit the other windows style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 03 Feb 2017 14:31:10 +0100 |
parents | 3a3148d50b9c |
children | 754db8d73691 |
comparison
equal
deleted
inserted
replaced
1320:3a3148d50b9c | 1321:f1e348109ebb |
---|---|
18 ], | 18 ], |
19 model: null, | 19 model: null, |
20 | 20 |
21 margin: 5, | 21 margin: 5, |
22 | 22 |
23 border: 0, | |
24 | |
23 record: null, | 25 record: null, |
24 | 26 |
25 trackResetOnLoad: true, | 27 trackResetOnLoad: true, |
26 | 28 |
27 initComponent: function() { | 29 initComponent: function() { |
42 maxLength: 10, | 44 maxLength: 10, |
43 labelWidth: 125, | 45 labelWidth: 125, |
44 fieldLabel: i18n.getMsg('orte.ortId') | 46 fieldLabel: i18n.getMsg('orte.ortId') |
45 }, { | 47 }, { |
46 xtype: 'checkbox', | 48 xtype: 'checkbox', |
49 labelWidth: 125, | |
47 name: 'aktiv', | 50 name: 'aktiv', |
48 fieldLabel: 'aktiv:' | 51 fieldLabel: 'aktiv:' |
49 },{ | 52 },{ |
50 xtype: 'staat', | 53 xtype: 'staat', |
51 labelWidth: 125, | 54 labelWidth: 125, |
182 }]; | 185 }]; |
183 | 186 |
184 this.dockedItems = [{ | 187 this.dockedItems = [{ |
185 xtype: 'toolbar', | 188 xtype: 'toolbar', |
186 dock: 'bottom', | 189 dock: 'bottom', |
187 ui: 'footer', | |
188 border: '0, 1, 1, 1', | 190 border: '0, 1, 1, 1', |
189 style: { | 191 style: { |
190 borderBottom: '1px solid #b5b8c8 !important', | 192 borderBottom: '1px solid #b5b8c8 !important', |
191 borderLeft: '1px solid #b5b8c8 !important', | 193 borderLeft: '1px solid #b5b8c8 !important', |
192 borderRight: '1px solid #b5b8c8 !important' | 194 borderRight: '1px solid #b5b8c8 !important' |
193 }, | 195 }, |
194 items: ['->', { | 196 items: ['->', { |
195 text: i18n.getMsg('save'), | 197 text: i18n.getMsg('save'), |
196 action: 'save', | 198 action: 'save', |
197 handler: me.saveOrt, | 199 qtip: 'Daten speichern', |
200 icon: 'resources/img/dialog-ok-apply.png', | |
198 disabled: true | 201 disabled: true |
199 }, { | 202 }, { |
200 text: i18n.getMsg('close'), | 203 text: i18n.getMsg('discard'), |
201 action: 'close', | 204 qtip: 'Ă„nderungen verwerfen', |
202 handler: function() { | 205 icon: 'resources/img/dialog-cancel.png', |
203 me.close(); | 206 action: 'revert', |
204 } | |
205 }] | 207 }] |
206 }]; | 208 }]; |
207 | 209 |
208 this.callParent(arguments); | 210 this.callParent(arguments); |
209 this.getForm().loadRecord(this.record); | 211 this.getForm().loadRecord(this.record); |