[pve-devel] [PATCH pve-manager] sdn: fix zone icon in tree view
Alexandre Derumier
aderumier at odiso.com
Fri Jun 19 17:50:07 CEST 2020
also add status icon:
-pending (yellow triangle)
-error (red cross)
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
www/css/ext6-pve.css | 4 ++++
www/manager6/tree/ResourceTree.js | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index 8f0407df..a91f1aaf 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -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,
diff --git a/www/manager6/tree/ResourceTree.js b/www/manager6/tree/ResourceTree.js
index a76e385b..96865f16 100644
--- a/www/manager6/tree/ResourceTree.js
+++ b/www/manager6/tree/ResourceTree.js
@@ -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',
--
2.20.1
More information about the pve-devel
mailing list