ExportResultPanel.js
818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Ext.define('treps.view.Steps.ExportResult.ExportResultPanel' ,{
extend: 'Ext.form.Panel',
alias: 'widget.exportresult_panel',
requires: [
'treps.view.SAMP.SAMPSendToClientButton'
],
initComponent: function() {
this.callParent(arguments);
},
tools: [
{
type: 'help',
pageId: 'export'
}
],
layout: {
type: 'vbox',
padding: 5,
margin: 5,
align: 'stretch'
},
items : [
{
xtype: 'button',
id: 'downloadBtn',
scale: 'large',
iconCls: 'icons-24x24-download',
text: 'Download the exported file',
margin: 5,
width: 300,
menu: []
},
{
xtype: 'tool',
type: 'help',
cls:'treps-tool-help',
pageId: 'samp'
},
{
xtype: 'sampsend_button',
margin: 5,
width : 300
}
]
});