[pve-devel] [PATCH manager v2 5/7] add new tree and grid classes for the 'unknown' status

Dominik Csapak d.csapak at proxmox.com
Wed May 3 16:35:19 CEST 2017


this displays a '?' similar to the check/cross, to show something
is wrong, but we do not know if its offline

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/css/ext6-pve.css | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index b7dec986..879bbe58 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -55,7 +55,8 @@
 
 /* overwrite folder icons of theme */
 .x-tree-icon-parent,
-.x-tree-icon-parent-expanded {
+.x-tree-icon-parent-expanded,
+.x-tree-icon-leaf {
     background: none;
     display: inline-block;
     font: normal normal normal 14px/1 FontAwesome;
@@ -98,6 +99,7 @@
 .x-fa-tree-stopped,
 .x-fa-tree-paused,
 .x-fa-tree-online,
+.x-fa-tree-unknown,
 .x-fa-tree-offline,
 .x-fa-tree-template-lxc,
 .x-fa-tree-template-qemu,
@@ -114,6 +116,7 @@
 .x-fa-grid-stopped,
 .x-fa-grid-paused,
 .x-fa-grid-online,
+.x-fa-grid-unknown,
 .x-fa-grid-offline,
 .x-fa-grid-template-lxc,
 .x-fa-grid-template-qemu {
@@ -132,16 +135,18 @@
 .x-fa-tree-running:after,
 .x-fa-tree-stopped:after,
 .x-fa-tree-paused:after,
-.x-fa-tree-template-lxc:after,
-.x-fa-tree-template-qemu:after,
 .x-fa-tree-online:after,
 .x-fa-tree-offline:after,
+.x-fa-tree-unknown:after,
+.x-fa-tree-template-lxc:after,
+.x-fa-tree-template-qemu:after,
 .x-fa-grid:after,
 .x-fa-grid-running:after,
 .x-fa-grid-stopped:after,
 .x-fa-grid-paused:after,
 .x-fa-grid-online:after,
 .x-fa-grid-offline:after,
+.x-fa-grid-unknown:after,
 .x-fa-grid-template-lxc:after,
 .x-fa-grid-template-qemu:after {
     position: relative;
@@ -164,6 +169,12 @@
     color: #CC1800;
 }
 
+.x-fa-tree-unknown:after,
+.x-fa-grid-unknown:after {
+    content: "\f059";
+    color: #888;
+}
+
 .x-fa-tree-running:after,
 .x-fa-grid-running:after {
     content: "\f04b";
-- 
2.11.0





More information about the pve-devel mailing list