Mercurial > lada > lada-client
changeset 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 | 6edab3ee2198 |
files | app/view/form/Ortserstellung.js app/view/form/Ortszuordnung.js app/view/window/Ortserstellung.js app/view/window/Ortszuordnung.js |
diffstat | 4 files changed, 20 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/form/Ortserstellung.js Fri Feb 03 14:30:16 2017 +0100 +++ b/app/view/form/Ortserstellung.js Fri Feb 03 14:31:10 2017 +0100 @@ -20,6 +20,8 @@ margin: 5, + border: 0, + record: null, trackResetOnLoad: true, @@ -44,6 +46,7 @@ fieldLabel: i18n.getMsg('orte.ortId') }, { xtype: 'checkbox', + labelWidth: 125, name: 'aktiv', fieldLabel: 'aktiv:' },{ @@ -184,7 +187,6 @@ this.dockedItems = [{ xtype: 'toolbar', dock: 'bottom', - ui: 'footer', border: '0, 1, 1, 1', style: { borderBottom: '1px solid #b5b8c8 !important', @@ -194,14 +196,14 @@ items: ['->', { text: i18n.getMsg('save'), action: 'save', - handler: me.saveOrt, + qtip: 'Daten speichern', + icon: 'resources/img/dialog-ok-apply.png', disabled: true }, { - text: i18n.getMsg('close'), - action: 'close', - handler: function() { - me.close(); - } + text: i18n.getMsg('discard'), + qtip: 'Änderungen verwerfen', + icon: 'resources/img/dialog-cancel.png', + action: 'revert', }] }];
--- a/app/view/form/Ortszuordnung.js Fri Feb 03 14:30:16 2017 +0100 +++ b/app/view/form/Ortszuordnung.js Fri Feb 03 14:31:10 2017 +0100 @@ -74,6 +74,11 @@ icon: 'resources/img/dialog-ok-apply.png', action: 'save', disabled: true + }, { + text: i18n.getMsg('discard'), + qtip: 'Änderungen verwerfen', + icon: 'resources/img/dialog-cancel.png', + action: 'revert', }] }], items: [{
--- a/app/view/window/Ortserstellung.js Fri Feb 03 14:30:16 2017 +0100 +++ b/app/view/window/Ortserstellung.js Fri Feb 03 14:31:10 2017 +0100 @@ -51,6 +51,11 @@ } }) ]; + this.buttons = [{ + text: 'Schließen', + scope: this, + handler: this.close + }]; this.callParent(arguments); } -}); \ No newline at end of file +});
--- a/app/view/window/Ortszuordnung.js Fri Feb 03 14:30:16 2017 +0100 +++ b/app/view/window/Ortszuordnung.js Fri Feb 03 14:31:10 2017 +0100 @@ -137,13 +137,6 @@ dockedItems: [{ xtype: 'toolbar', dock: 'bottom', - ui: 'footer', - border: '0, 1, 1, 1', - style: { - borderBottom: '1px solid #b5b8c8 !important', - borderLeft: '1px solid #b5b8c8 !important', - borderRight: '1px solid #b5b8c8 !important' - }, items: [{ xtype: 'textfield', name: 'search',