diff app/view/Viewport.js @ 747:3ffecbce17d6

Radio-Buttons to switch between query-modes: Probenliste und Probenplanung. Filter-Combobox store wird automatisch gewechselt. ToDo: Query-Store für Probenplanung
author Dustin Demuth <dustin@intevation.de>
date Fri, 24 Apr 2015 15:47:05 +0200
parents b400629a2575
children 56f91254cd23
line wrap: on
line diff
--- a/app/view/Viewport.js	Fri Apr 24 15:41:14 2015 +0200
+++ b/app/view/Viewport.js	Fri Apr 24 15:47:05 2015 +0200
@@ -10,12 +10,13 @@
  * Viewport for the Lada-Client
  *
  * The viewport initialises the graphical elements of the application. For
- * debugging it is possible to initialize other components directly see the
+ * debugging it is possible to initialise other components directly see the
  * initComponent function.
  */
 Ext.define('Lada.view.Viewport', {
     extend: 'Ext.container.Viewport',
     requires: [
+        'Lada.view.ProbenPlanungSwitcher',
         'Lada.view.FilterPanel',
         'Lada.view.grid.FilterResult'
     ],
@@ -94,6 +95,9 @@
                     }]
                 }],
                 items: [{
+                    xtype: 'probenplanungswitcher',
+                    margin: '0, 10, 0, 10'
+                }, {
                     // Auswahl einer Abfrage.
                     xtype: 'filterpanel',
                     margin: '0, 10, 0, 10'

http://lada.wald.intevation.org