Commit 32dbe033 authored by Dietmar Maurer's avatar Dietmar Maurer

re-add glusterfs GUI

parent 987f673f
...@@ -36,6 +36,8 @@ Ext.define('PVE.dc.StorageView', { ...@@ -36,6 +36,8 @@ Ext.define('PVE.dc.StorageView', {
editor = 'PVE.storage.DirEdit'; editor = 'PVE.storage.DirEdit';
} else if (type === 'nfs') { } else if (type === 'nfs') {
editor = 'PVE.storage.NFSEdit'; editor = 'PVE.storage.NFSEdit';
} else if (type === 'glusterfs') {
editor = 'PVE.storage.GlusterFsEdit';
} else if (type === 'lvm') { } else if (type === 'lvm') {
editor = 'PVE.storage.LVMEdit'; editor = 'PVE.storage.LVMEdit';
} else if (type === 'iscsi') { } else if (type === 'iscsi') {
...@@ -135,6 +137,15 @@ Ext.define('PVE.dc.StorageView', { ...@@ -135,6 +137,15 @@ Ext.define('PVE.dc.StorageView', {
win.show(); win.show();
} }
}, },
{
text: gettext('GlusterFS volume'),
iconCls: 'pve-itype-icon-node',
handler: function() {
var win = Ext.create('PVE.storage.GlusterFsEdit', {});
win.on('destroy', reload);
win.show();
}
},
{ {
text: 'RBD', text: 'RBD',
iconCls: 'pve-itype-icon-node', iconCls: 'pve-itype-icon-node',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment