diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-08 18:31:18 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-08 18:38:12 +0000 |
commit | 5ffb6fc9bbd15c41d9c796d5ac9476e1f4b0996c (patch) | |
tree | d97f23334bf5c0312bf15d42a29f5216d168c39b | |
parent | e99352db0005b968bbe182956c8ae2fa88fad221 (diff) | |
download | rspamd-5ffb6fc9bbd15c41d9c796d5ac9476e1f4b0996c.tar.gz rspamd-5ffb6fc9bbd15c41d9c796d5ac9476e1f4b0996c.zip |
Improve coloring.
-rw-r--r-- | src/controller.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/controller.c b/src/controller.c index e148198e2..22104d7b6 100644 --- a/src/controller.c +++ b/src/controller.c @@ -552,12 +552,12 @@ rspamd_controller_pie_element (enum rspamd_metric_action action, { ucl_object_t *res = ucl_object_typed_new (UCL_OBJECT); const char *colors[METRIC_ACTION_MAX] = { - [METRIC_ACTION_REJECT] = "red", - [METRIC_ACTION_SOFT_REJECT] = "orange", - [METRIC_ACTION_REWRITE_SUBJECT] = "yellow", - [METRIC_ACTION_ADD_HEADER] = "teal", - [METRIC_ACTION_GREYLIST] = "blue", - [METRIC_ACTION_NOACTION] = "green" + [METRIC_ACTION_REJECT] = "#993300", + [METRIC_ACTION_SOFT_REJECT] = "#cc9966", + [METRIC_ACTION_REWRITE_SUBJECT] = "#ff6600", + [METRIC_ACTION_ADD_HEADER] = "#ffcc66", + [METRIC_ACTION_GREYLIST] = "#6666cc", + [METRIC_ACTION_NOACTION] = "#66cc00" }; ucl_object_insert_key (res, ucl_object_fromstring (colors[action]), |