pve-manager/www/manager6/storage/BTRFSEdit.js
Thomas Lamprecht ffeb4f57e6 ui: storages: add basic BTRFS edit/add window
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-23 22:59:29 +02:00

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();
},
});