mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-29 13:51:35 +00:00
Latest-changes-which-removes-unused-config
Signed-off-by: Michael Rasmussen <mir@datanom.net>
This commit is contained in:
parent
bcd1d77cdd
commit
7995b6ebcc
@ -135,6 +135,7 @@ JSSRC= \
|
||||
storage/RBDEdit.js \
|
||||
storage/SheepdogEdit.js \
|
||||
storage/NexentaEdit.js \
|
||||
storage/ZFSEdit.js \
|
||||
dc/Summary.js \
|
||||
dc/OptionView.js \
|
||||
dc/StorageView.js \
|
||||
|
@ -692,6 +692,8 @@ Ext.define('PVE.Utils', { statics: {
|
||||
return 'Sheepdog';
|
||||
} else if (value === 'nexenta') {
|
||||
return 'Nexenta';
|
||||
} else if (value === 'zfs') {
|
||||
return 'ZFS';
|
||||
} else if (value === 'iscsidirect') {
|
||||
return 'iSCSIDirect';
|
||||
} else {
|
||||
|
@ -48,6 +48,8 @@ Ext.define('PVE.dc.StorageView', {
|
||||
editor = 'PVE.storage.SheepdogEdit';
|
||||
} else if (type === 'nexenta') {
|
||||
editor = 'PVE.storage.NexentaEdit';
|
||||
} else if (type === 'zfs') {
|
||||
editor = 'PVE.storage.ZFSEdit';
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
@ -175,6 +177,15 @@ Ext.define('PVE.dc.StorageView', {
|
||||
win.show();
|
||||
}
|
||||
},
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('ZFS'),
|
||||
iconCls: 'pve-itype-icon-node',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.ZFSEdit', {});
|
||||
win.on('destroy', reload);
|
||||
win.show();
|
||||
}
|
||||
}
|
||||
*/
|
||||
]
|
||||
})
|
||||
|
@ -69,7 +69,8 @@ Ext.define('PVE.window.Clone', {
|
||||
rec.data.type === 'rbd' ||
|
||||
rec.data.type === 'iscsi' ||
|
||||
rec.data.type === 'sheepdog' ||
|
||||
rec.data.type === 'nexenta'
|
||||
rec.data.type === 'nexenta' ||
|
||||
rec.data.type === 'zfs'
|
||||
) {
|
||||
me.formatsel.setValue('raw');
|
||||
me.formatsel.setDisabled(true);
|
||||
|
@ -192,7 +192,8 @@ Ext.define('PVE.qemu.HDInputPanel', {
|
||||
} else if (rec.data.type === 'lvm' ||
|
||||
rec.data.type === 'rbd' ||
|
||||
rec.data.type === 'sheepdog' ||
|
||||
rec.data.type === 'nexenta') {
|
||||
rec.data.type === 'nexenta' ||
|
||||
rec.data.type === 'zfs') {
|
||||
me.hdfilesel.setDisabled(true);
|
||||
me.hdfilesel.setVisible(false);
|
||||
me.formatsel.setValue('raw');
|
||||
|
Loading…
Reference in New Issue
Block a user