mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-13 20:56:32 +00:00
38 lines
690 B
JavaScript
38 lines
690 B
JavaScript
Ext.define('PVE.storage.BTRFSInputPanel', {
|
|
extend: 'PVE.panel.StorageBase',
|
|
|
|
onlineHelp: 'storage_btrfs',
|
|
|
|
initComponent: function() {
|
|
let me = this;
|
|
|
|
me.column1 = [
|
|
{
|
|
xtype: me.isCreate ? 'textfield' : 'displayfield',
|
|
name: 'path',
|
|
value: '',
|
|
fieldLabel: gettext('Path'),
|
|
allowBlank: false,
|
|
},
|
|
{
|
|
xtype: 'pveContentTypeSelector',
|
|
name: 'content',
|
|
value: ['images', 'rootdir'],
|
|
multiSelect: true,
|
|
fieldLabel: gettext('Content'),
|
|
allowBlank: false,
|
|
},
|
|
];
|
|
|
|
me.columnB = [
|
|
{
|
|
xtype: 'displayfield',
|
|
userCls: 'pmx-hint',
|
|
value: `BTRFS integration is currently a technology preview.`,
|
|
},
|
|
];
|
|
|
|
me.callParent();
|
|
},
|
|
});
|