# HG changeset patch # User Torsten Irländer # Date 1374672399 -7200 # Node ID c2effc4a497b653527edd56e1e215aab04fac2f3 # Parent 424f18da3c648c8e4a52f74e4eb07ab02de31406 Added panel with details for the selected query diff -r 424f18da3c64 -r c2effc4a497b app/view/search/List.js --- a/app/view/search/List.js Wed Jul 24 15:25:05 2013 +0200 +++ b/app/view/search/List.js Wed Jul 24 15:26:39 2013 +0200 @@ -3,6 +3,7 @@ title: 'SQL-Auswahl', alias: 'widget.queryselector', initComponent: function() { + this.layout = 'column', this.items = [ { id: 'search', @@ -12,6 +13,26 @@ displayField:'name', valueField:'id', emptyText:'Wählen Sie eine Abfrage' + }, + { + xtype: 'panel', + maxWidth: '500', + border: false, + margin: '0 10', + items: [ + { + id: 'sqldesc', + xtype: 'displayfield', + fieldLabel: 'Beschreibung', + value: '-/-' + }, + { + id: 'sqlquery', + xtype: 'displayfield', + fieldLabel: 'Abfrage', + value: '-/-' + } + ] } ]; this.callParent(arguments);