[Lada-commits] [PATCH 2 of 4] Moved alll list toolbars to bottom and buttons to the right

Wald Commits scm-commit at wald.intevation.org
Tue Dec 16 13:22:57 CET 2014


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1418732358 -3600
# Node ID 6de00657cd8716d4b01f554574ac2bcae89b44e4
# Parent  8818becb8cded7e79a12658f93f23250cd0ab000
Moved alll list toolbars to bottom and buttons to the right.

diff -r 8818becb8cde -r 6de00657cd87 app/view/kommentare/List.js
--- a/app/view/kommentare/List.js	Tue Dec 16 13:17:24 2014 +0100
+++ b/app/view/kommentare/List.js	Tue Dec 16 13:19:18 2014 +0100
@@ -31,8 +31,8 @@
     initComponent: function() {
         this.dockedItems = [{
             xtype: 'toolbar',
-            dock: 'top',
-            items: [{
+            dock: 'bottom',
+            items: ['->', {
                 text: 'Hinzufügen',
                 icon: 'gfx/list-add.png',
                 action: 'add',
diff -r 8818becb8cde -r 6de00657cd87 app/view/messungen/List.js
--- a/app/view/messungen/List.js	Tue Dec 16 13:17:24 2014 +0100
+++ b/app/view/messungen/List.js	Tue Dec 16 13:19:18 2014 +0100
@@ -24,21 +24,17 @@
     },
 
     probeId: null,
-    
-    
 
     initComponent: function() {
         var rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
             clicksToMoveEditor: 1,
             autoCancel: false
         });
-        
         this.plugins = [rowEditing];
-        
         this.dockedItems = [{
             xtype: 'toolbar',
-            dock: 'top',
-            items: [{
+            dock: 'bottom',
+            items: ['->', {
                 text: 'Hinzufügen',
                 icon: 'gfx/list-add.png',
                 action: 'add',
@@ -104,7 +100,7 @@
             },
             editor: {
                 xtype: 'numberfield',
-                allowBlank: false,
+                allowBlank: false
             }
         }, {
             header: 'OK-Flag',
@@ -118,7 +114,7 @@
             },
             editor: {
                 xtype: 'checkboxfield',
-                allowBlank: false,
+                allowBlank: false
             }
          }, {
             header: 'Anzahl Nuklide',
diff -r 8818becb8cde -r 6de00657cd87 app/view/messwerte/List.js
--- a/app/view/messwerte/List.js	Tue Dec 16 13:17:24 2014 +0100
+++ b/app/view/messwerte/List.js	Tue Dec 16 13:19:18 2014 +0100
@@ -29,8 +29,8 @@
     initComponent: function() {
         this.dockedItems = [{
             xtype: 'toolbar',
-            dock: 'top',
-            items: [{
+            dock: 'bottom',
+            items: ['->', {
                 text: 'Hinzufügen',
                 icon: 'gfx/list-add.png',
                 action: 'add',
diff -r 8818becb8cde -r 6de00657cd87 app/view/mkommentare/List.js
--- a/app/view/mkommentare/List.js	Tue Dec 16 13:17:24 2014 +0100
+++ b/app/view/mkommentare/List.js	Tue Dec 16 13:19:18 2014 +0100
@@ -29,8 +29,8 @@
     initComponent: function() {
         this.dockedItems = [{
             xtype: 'toolbar',
-            dock: 'top',
-            items: [{
+            dock: 'bottom',
+            items: ['->', {
                 text: 'Hinzufügen',
                 icon: 'gfx/list-add.png',
                 action: 'add',
diff -r 8818becb8cde -r 6de00657cd87 app/view/orte/List.js
--- a/app/view/orte/List.js	Tue Dec 16 13:17:24 2014 +0100
+++ b/app/view/orte/List.js	Tue Dec 16 13:19:18 2014 +0100
@@ -29,17 +29,15 @@
             clicksToMoveEditor: 1,
             autoCancel: false
         });
-        
         this.plugins = [rowEditing];
-        
         this.store = Ext.data.StoreManager.get('Orte');
         if (!this.store) {
             this.store = Ext.create('Lada.store.Orte');
         }
         this.dockedItems = [{
             xtype: 'toolbar',
-            dock: 'top',
-            items: [{
+            dock: 'bottom',
+            items: ['->', {
                 text: 'Hinzufügen',
                 icon: 'gfx/list-add.png',
                 action: 'add',
@@ -86,7 +84,7 @@
                 var gemid = record.get('gemId');
                 var record2 = gemeinden.getById(gemid);
                 return record2.get('bezeichnung');
-            },
+            }
             //editor: {
             //    allowBlank: false
             //}
@@ -97,7 +95,7 @@
                 var store = Ext.getStore('staOrte');
                 var record = store.getById(value);
                 return record.get('bezeichnung');
-            },
+            }
             //editor: {
             //    allowBlank: false
             //}
diff -r 8818becb8cde -r 6de00657cd87 app/view/status/List.js
--- a/app/view/status/List.js	Tue Dec 16 13:17:24 2014 +0100
+++ b/app/view/status/List.js	Tue Dec 16 13:19:18 2014 +0100
@@ -29,8 +29,8 @@
     initComponent: function() {
         this.dockedItems = [{
             xtype: 'toolbar',
-            dock: 'top',
-            items: [{
+            dock: 'bottom',
+            items: ['->', {
                 text: 'Hinzufügen',
                 icon: 'gfx/list-add.png',
                 action: 'add',
diff -r 8818becb8cde -r 6de00657cd87 app/view/zusatzwerte/List.js
--- a/app/view/zusatzwerte/List.js	Tue Dec 16 13:17:24 2014 +0100
+++ b/app/view/zusatzwerte/List.js	Tue Dec 16 13:19:18 2014 +0100
@@ -28,8 +28,8 @@
     initComponent: function() {
         this.dockedItems = [{
             xtype: 'toolbar',
-            dock: 'top',
-            items: [{
+            dock: 'bottom',
+            items: ['->', {
                 text: 'Hinzufügen',
                 icon: 'gfx/list-add.png',
                 action: 'add',


More information about the Lada-commits mailing list