[pve-devel] [PATCH manager 3/4] add lock icons to css

Dominik Csapak d.csapak at proxmox.com
Wed Feb 27 12:32:35 CET 2019


and move the warning/error icons below that so that we
get the correct icon if multiple apply

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

diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index 174511ac..9cba7f97 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -140,26 +140,6 @@
     color: #21BF4B;
 }
 
-/* the red x */
-.x-tree-icon-custom.offline:after,
-.x-grid-icon-custom.offline:after,
-.x-tree-icon-custom.ha-error:after,
-.x-grid-icon-custom.ha-error:after {
-    content: "\f057";
-    color: #CC1800;
-}
-
-/* yellow ! triangle */
-.x-tree-icon-custom.io-error:after,
-.x-grid-icon-custom.io-error:after,
-.x-tree-icon-custom.internal-error:after,
-.x-grid-icon-custom.internal-error:after,
-.x-tree-icon-custom.guest-panicked:after,
-.x-grid-icon-custom.guest-panicked:after {
-    content: "\f071";
-    color: #FFCC00;
-}
-
 /* the grey '?' */
 .x-tree-icon-custom.unknown:after,
 .x-grid-icon-custom.unknown:after {
@@ -190,6 +170,39 @@
     font-size: 0.6em;
 }
 
+/* lock icons */
+.x-tree-icon-custom.locked:after,
+.x-grid-icon-custom.locked:after {
+    content: "\f023";
+    color: #000000;
+}
+
+.x-tree-icon-custom.lock-backup:after,
+.x-grid-icon-custom.lock-backup:after {
+    content: "\f0c7";
+    color: #000000;
+}
+
+/* yellow ! triangle */
+.x-tree-icon-custom.io-error:after,
+.x-grid-icon-custom.io-error:after,
+.x-tree-icon-custom.internal-error:after,
+.x-grid-icon-custom.internal-error:after,
+.x-tree-icon-custom.guest-panicked:after,
+.x-grid-icon-custom.guest-panicked:after {
+    content: "\f071";
+    color: #FFCC00;
+}
+
+/* the red x */
+.x-tree-icon-custom.offline:after,
+.x-grid-icon-custom.offline:after,
+.x-tree-icon-custom.ha-error:after,
+.x-grid-icon-custom.ha-error:after {
+    content: "\f057";
+    color: #CC1800;
+}
+
 /* the lxc template */
 .x-tree-icon-custom.lxc:after,
 .x-grid-icon-custom.lxc:after {
-- 
2.11.0




More information about the pve-devel mailing list