mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 01:13:19 +00:00
change icons in storage add menu
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
d1f155b8b0
commit
0ef7ade911
@ -108,7 +108,7 @@ Ext.define('PVE.dc.StorageView', {
|
||||
items: [
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('dir'),
|
||||
iconCls: 'pve-itype-icon-itype',
|
||||
iconCls: 'fa fa-fw fa-folder',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.DirEdit', {});
|
||||
win.on('destroy', reload);
|
||||
@ -118,7 +118,7 @@ Ext.define('PVE.dc.StorageView', {
|
||||
},
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('lvm'),
|
||||
iconCls: 'pve-itype-icon-storage',
|
||||
iconCls: 'fa fa-fw fa-folder',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.LVMEdit', {});
|
||||
win.on('destroy', reload);
|
||||
@ -127,7 +127,7 @@ Ext.define('PVE.dc.StorageView', {
|
||||
},
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('lvmthin'),
|
||||
iconCls: 'pve-itype-icon-storage',
|
||||
iconCls: 'fa fa-fw fa-folder',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.LvmThinEdit', {});
|
||||
win.on('destroy', reload);
|
||||
@ -136,7 +136,7 @@ Ext.define('PVE.dc.StorageView', {
|
||||
},
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('nfs'),
|
||||
iconCls: 'pve-itype-icon-network-server',
|
||||
iconCls: 'fa fa-fw fa-building',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.NFSEdit', {});
|
||||
win.on('destroy', reload);
|
||||
@ -145,7 +145,7 @@ Ext.define('PVE.dc.StorageView', {
|
||||
},
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('iscsi'),
|
||||
iconCls: 'pve-itype-icon-network-server',
|
||||
iconCls: 'fa fa-fw fa-building',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.IScsiEdit', {});
|
||||
win.on('destroy', reload);
|
||||
@ -154,7 +154,7 @@ Ext.define('PVE.dc.StorageView', {
|
||||
},
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('glusterfs'),
|
||||
iconCls: 'pve-itype-icon-network-server',
|
||||
iconCls: 'fa fa-fw fa-building',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.GlusterFsEdit', {});
|
||||
win.on('destroy', reload);
|
||||
@ -163,7 +163,7 @@ Ext.define('PVE.dc.StorageView', {
|
||||
},
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('rbd'),
|
||||
iconCls: 'pve-itype-icon-network-server',
|
||||
iconCls: 'fa fa-fw fa-building',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.RBDEdit', {});
|
||||
win.on('destroy', reload);
|
||||
@ -172,7 +172,7 @@ Ext.define('PVE.dc.StorageView', {
|
||||
},
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('zfs'),
|
||||
iconCls: 'pve-itype-icon-network-server',
|
||||
iconCls: 'fa fa-fw fa-building',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.ZFSEdit', {});
|
||||
win.on('destroy', reload);
|
||||
@ -181,7 +181,7 @@ Ext.define('PVE.dc.StorageView', {
|
||||
},
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('zfspool'),
|
||||
iconCls: 'pve-itype-icon-storage',
|
||||
iconCls: 'fa fa-fw fa-folder',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.ZFSPoolEdit', {});
|
||||
win.on('destroy', reload);
|
||||
@ -193,7 +193,7 @@ Ext.define('PVE.dc.StorageView', {
|
||||
* so we do not enable that on the GUI for now
|
||||
{
|
||||
text: PVE.Utils.format_storage_type('sheepdog'),
|
||||
iconCls: 'pve-itype-icon-network-server',
|
||||
iconCls: 'fa fa-fw fa-building',
|
||||
handler: function() {
|
||||
var win = Ext.create('PVE.storage.SheepdogEdit', {});
|
||||
win.on('destroy', reload);
|
||||
|
Loading…
Reference in New Issue
Block a user