From 86d3524175fcabcfc64de651d3f0185b6ecb38a9 Mon Sep 17 00:00:00 2001 From: dehnli Date: Fri, 27 Jan 2017 12:35:45 +0400 Subject: [WebUI] Make legend entry colours more contrast Minor changes to make `Probable Spam` and `Temporary rejected` legend entries and chart sectors more visible on `Throughput` summary. It affects `Status` tab chart as well. --- interface/js/rspamd.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'interface') diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js index b3aede6ca..52cd93cab 100644 --- a/interface/js/rspamd.js +++ b/interface/js/rspamd.js @@ -560,17 +560,17 @@ if (creds && creds[checked_server]) { var data = creds[checked_server].data; var new_data = [ { - "color" : "#66cc00", + "color" : "#66CC00", "label" : "Clean", "data" : data.clean, "value" : data.clean }, { - "color" : "#cc9966", + "color" : "#BF8040", "label" : "Temporary rejected", "data" : data.soft_reject, "value" : data.soft_reject }, { - "color" : "#FFD700", + "color" : "#FFAD00", "label" : "Probable spam", "data" : data.probable, "value" : data.probable @@ -719,19 +719,19 @@ color: "#FF0000" }, { label: "Temporary rejected", - color: "#CC9966" + color: "#BF8040" }, { label: "Subject rewrited", color: "#FF6600" }, { label: "Probable spam", - color: "#FFD700" + color: "#FFAD00" }, { label: "Greylisted", color: "#436EEE" }, { label: "Clean", - color: "#66cc00" + color: "#66CC00" }] } }; -- cgit v1.2.3