summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordehnli <dehnli@gmail.com>2017-01-27 12:35:45 +0400
committerGitHub <noreply@github.com>2017-01-27 12:35:45 +0400
commit86d3524175fcabcfc64de651d3f0185b6ecb38a9 (patch)
tree8e1d80e615709849c6392a8cbf4afd9023196271
parent7eaea1233c1eafa050bace27ec52bf17d74389a4 (diff)
downloadrspamd-86d3524175fcabcfc64de651d3f0185b6ecb38a9.tar.gz
rspamd-86d3524175fcabcfc64de651d3f0185b6ecb38a9.zip
[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.
-rw-r--r--interface/js/rspamd.js12
1 files changed, 6 insertions, 6 deletions
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"
}]
}
};