From 4b0c8805a3caf4300dc7c6ed192971e75557f031 Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Fri, 19 Jun 2020 17:50:07 +0200 Subject: [PATCH] sdn: fix zone icon in tree view also add status icon: -pending (yellow triangle) -error (red cross) Signed-off-by: Alexandre Derumier --- 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.39.5