From ce7dc258c0ff2cd262daad8af07c4dfb24e6108f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timoth=C3=A9e=20Giet?= <animtim@gmail.com>
Date: Fri, 24 Jun 2016 15:13:17 +0200
Subject: [PATCH] update timeout colors

update timeout colors
---
 html/include/fusiondirectory.js | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/html/include/fusiondirectory.js b/html/include/fusiondirectory.js
index 641699af4..09534f53f 100644
--- a/html/include/fusiondirectory.js
+++ b/html/include/fusiondirectory.js
@@ -564,20 +564,22 @@ function setProgressPie(context, percent)
 {
     context.clearRect(0, 0, 22, 22);
 
-    var r = "FF";
-    var g = "FF";
-    var b = "FF";
+    var r = "3D";
+    var g = "AE";
+    var b = "E9";
 
-    // Fade yellow
+    // Fade orange
     if (percent > 50) {
-        d = 255 - parseInt((percent-50) * 255 / 50)
-            b = d.toString(16);
+        r = "F6"
+        g = "74"
+        b = "00";
     }
 
     // Fade red
     if (percent > 75) {
-        d = 255 - parseInt((percent-75) * 255 / 25)
-            g = d.toString(16);
+        r = "ED"
+        g = "15"
+        b = "15"; 
     }
 
     context.strokeStyle = "#" + r  + g + b
-- 
GitLab