diff app/view/messungen/List.js @ 513:6de00657cd87

Moved alll list toolbars to bottom and buttons to the right.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 16 Dec 2014 13:19:18 +0100
parents 83a98b61546a
children 7a20e3054c9e
line wrap: on
line diff
--- 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',

http://lada.wald.intevation.org