diff 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
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',
             }]
         }];
 

http://lada.wald.intevation.org