diff options
author | moisseev <moiseev@mezonplus.ru> | 2023-08-08 18:00:48 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2023-08-08 18:00:48 +0300 |
commit | 1ea64abc3c7a0ca5abdece894af62506157923d5 (patch) | |
tree | 90dc5760c7ad7fe4f2bc48ba3861be10365e3d86 /interface/js/app/rspamd.js | |
parent | 59bc9dad626623a72bac9b92656891dfd42cdc61 (diff) | |
download | rspamd-1ea64abc3c7a0ca5abdece894af62506157923d5.tar.gz rspamd-1ea64abc3c7a0ca5abdece894af62506157923d5.zip |
[WebUI] Restore contrasting foreground color
for badges
Diffstat (limited to 'interface/js/app/rspamd.js')
-rw-r--r-- | interface/js/app/rspamd.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index c570789fb..fd618e6b3 100644 --- a/interface/js/app/rspamd.js +++ b/interface/js/app/rspamd.js @@ -927,13 +927,13 @@ function ($, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_config, } if (item.action === "clean" || item.action === "no action") { - item.action = "<div style='font-size:11px' class='badge bg-success'>" + item.action + "</div>"; + item.action = "<div style='font-size:11px' class='badge text-bg-success'>" + item.action + "</div>"; } else if (item.action === "rewrite subject" || item.action === "add header" || item.action === "probable spam") { - item.action = "<div style='font-size:11px' class='badge bg-warning'>" + item.action + "</div>"; + item.action = "<div style='font-size:11px' class='badge text-bg-warning'>" + item.action + "</div>"; } else if (item.action === "spam" || item.action === "reject") { - item.action = "<div style='font-size:11px' class='badge bg-danger'>" + item.action + "</div>"; + item.action = "<div style='font-size:11px' class='badge text-bg-danger'>" + item.action + "</div>"; } else { - item.action = "<div style='font-size:11px' class='badge bg-info'>" + item.action + "</div>"; + item.action = "<div style='font-size:11px' class='badge text-bg-info'>" + item.action + "</div>"; } var score_content = (item.score < item.required_score) |