Mercurial > lada > lada-client
comparison app/view/FilterPanel.js @ 1104:414f7c9908d6
some reorg of filterpanal and messprogramm form
author | Michael Stanko <mstanko@bfs.de> |
---|---|
date | Wed, 11 May 2016 08:57:40 +0200 |
parents | cc17de34c689 |
children | 3b4dcc83a21b |
comparison
equal
deleted
inserted
replaced
1103:db9297e559ab | 1104:414f7c9908d6 |
---|---|
42 enableToggle: true, | 42 enableToggle: true, |
43 text: 'Details', | 43 text: 'Details', |
44 margin: '0 0 0 10' | 44 margin: '0 0 0 10' |
45 }] | 45 }] |
46 }, { | 46 }, { |
47 xtype: 'checkbox', | 47 layout: { |
48 name: 'favorites', | 48 type: 'hbox', |
49 boxLabel: 'nur Favoriten', | 49 }, |
50 margin: '0, 0, 0, 5', | 50 border: false, |
51 checked: true | 51 items: [{ |
52 xtype: 'checkbox', | |
53 name: 'favorites', | |
54 boxLabel: 'nur Favoriten', | |
55 checked: true | |
56 }, { | |
57 xtype: 'button', | |
58 action: 'manage', | |
59 text: 'Filterauswahl bearbeiten', | |
60 margin: '0 0 0 20' | |
61 }] | |
52 }, { | 62 }, { |
53 xtype: 'displayfield', | 63 xtype: 'displayfield', |
54 name: 'description', | 64 name: 'description', |
55 shrinkWrap: 3, | 65 shrinkWrap: 3, |
56 margin: '0, 0, 0 ,5', | 66 margin: '0, 0, 0 ,5', |
57 value: '-/-' | 67 value: '-/-' |
68 }, { | |
69 xtype: 'panel', | |
70 border: false, | |
71 margin: '10 0 10 0', | |
72 items: [{ | |
73 xtype: 'button', | |
74 action: 'search', | |
75 text: 'Suchen', | |
76 margin: '0 10 0 0' | |
77 }, { | |
78 xtype: 'button', | |
79 action: 'reset', | |
80 text: 'Zurücksetzen', | |
81 margin: '0 10 0 0' | |
82 }], | |
83 hidden: false | |
58 }, { | 84 }, { |
59 xtype: 'panel', | 85 xtype: 'panel', |
60 border: false, | 86 border: false, |
61 name: 'filtervariables', | 87 name: 'filtervariables', |
62 hidden: true, | 88 hidden: true, |
65 xtype: 'panel', | 91 xtype: 'panel', |
66 border: false, | 92 border: false, |
67 name: 'filtervalues', | 93 name: 'filtervalues', |
68 items: [] | 94 items: [] |
69 }, { | 95 }, { |
70 | |
71 layout: { | 96 layout: { |
72 type: 'hbox', | 97 type: 'hbox', |
73 pack: 'end' | 98 pack: 'end' |
74 }, | 99 }, |
75 border: false, | 100 border: false, |
82 xtype: 'button', | 107 xtype: 'button', |
83 action: 'resetdefault', | 108 action: 'resetdefault', |
84 text: 'Vorbelegung zurücksetzen' | 109 text: 'Vorbelegung zurücksetzen' |
85 }] | 110 }] |
86 }] | 111 }] |
87 }, { | |
88 xtype: 'panel', | |
89 border: false, | |
90 margin: '10 0 10 0', | |
91 items: [{ | |
92 xtype: 'button', | |
93 action: 'search', | |
94 text: 'Suchen', | |
95 margin: '0 10 0 0' | |
96 }, { | |
97 xtype: 'button', | |
98 action: 'reset', | |
99 text: 'Zurücksetzen', | |
100 margin: '0 10 0 0' | |
101 }, { | |
102 xtype: 'button', | |
103 action: 'manage', | |
104 text: 'Filterauswahl bearbeiten' | |
105 }], | |
106 hidden: false | |
107 }]; | 112 }]; |
108 this.callParent(arguments); | 113 this.callParent(arguments); |
109 var combo = me.down('combobox[name=filter]'); | 114 var combo = me.down('combobox[name=filter]'); |
110 combo.store = Ext.create('Ext.data.Store', { | 115 combo.store = Ext.create('Ext.data.Store', { |
111 model: 'Lada.model.Query' | 116 model: 'Lada.model.Query' |