sdn: fix zone icon in tree view

also add status icon:
  -pending (yellow triangle)
  -error (red cross)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2020-06-19 17:50:07 +02:00 committed by Thomas Lamprecht
parent b3fbf2ac10
commit 90f7cb68d1
2 changed files with 6 additions and 2 deletions

View File

@ -207,6 +207,8 @@
}
/* yellow ! triangle */
.x-tree-icon-custom.pending:after,
.x-grid-icon-custom.pending:after,
.x-tree-icon-custom.io-error:after,
.x-grid-icon-custom.io-error:after,
.x-tree-icon-custom.internal-error:after,
@ -218,6 +220,8 @@
}
/* the red x */
.x-tree-icon-custom.error:after,
.x-grid-icon-custom.error:after,
.x-tree-icon-custom.offline:after,
.x-grid-icon-custom.offline:after,
.x-tree-icon-custom.ha-error:after,

View File

@ -20,8 +20,8 @@ Ext.define('PVE.tree.ResourceTree', {
text: gettext('Storage')
},
sdn: {
iconCls: 'fa fa-sdn-vnet',
text: gettext('Sdn')
iconCls: 'fa fa-th',
text: gettext('SDN')
},
qemu: {
iconCls: 'fa fa-desktop',