]> git.proxmox.com Git - pve-manager.git/commitdiff
sdn: fix zone icon in tree view
authorAlexandre Derumier <aderumier@odiso.com>
Fri, 19 Jun 2020 15:50:07 +0000 (17:50 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Jun 2020 11:35:55 +0000 (13:35 +0200)
also add status icon:
  -pending (yellow triangle)
  -error (red cross)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
www/css/ext6-pve.css
www/manager6/tree/ResourceTree.js

index 8f0407df1d41abae1f0fe657ca60dca3f4c5b9e9..a91f1aaf3d7a2257e985d26db9f3c39db9e2fdcf 100644 (file)
 }
 
 /* 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,
 }
 
 /* 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,
index a76e385bef6e9a99e151a98a631f495cf5122cce..96865f16624b50f179ee08707f24ed0c0f00a0f1 100644 (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',