]>
Commit | Line | Data |
---|---|---|
ffeb4f57 TL |
1 | Ext.define('PVE.storage.BTRFSInputPanel', { |
2 | extend: 'PVE.panel.StorageBase', | |
3 | ||
4 | onlineHelp: 'storage_btrfs', | |
5 | ||
6 | initComponent: function() { | |
7 | let me = this; | |
8 | ||
9 | me.column1 = [ | |
10 | { | |
11 | xtype: me.isCreate ? 'textfield' : 'displayfield', | |
12 | name: 'path', | |
13 | value: '', | |
14 | fieldLabel: gettext('Path'), | |
15 | allowBlank: false, | |
16 | }, | |
17 | { | |
18 | xtype: 'pveContentTypeSelector', | |
19 | name: 'content', | |
20 | value: ['images', 'rootdir'], | |
21 | multiSelect: true, | |
22 | fieldLabel: gettext('Content'), | |
23 | allowBlank: false, | |
24 | }, | |
25 | ]; | |
26 | ||
27 | me.columnB = [ | |
28 | { | |
29 | xtype: 'displayfield', | |
30 | userCls: 'pmx-hint', | |
31 | value: `BTRFS integration is currently a technology preview.`, | |
32 | }, | |
33 | ]; | |
34 | ||
35 | me.callParent(); | |
36 | }, | |
37 | }); |