]> source.dussan.org Git - rspamd.git/commitdiff
[WebUI] Add graph legend entries for new DSes 1304/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 4 Jan 2017 13:02:01 +0000 (16:02 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 4 Jan 2017 13:02:01 +0000 (16:02 +0300)
Resolves #1300

interface/js/rspamd.js

index 2199d13d21f08c131fedf92ac420b317a65a5b2d..a1d79af5ea1fc870cf36d43097f24ed641b78258 100644 (file)
                 convert: selected.selConvert,
 
                 legend: {
+                    space: 140,
                     entries: [{
                         label: "Rejected",
                         color: "#FF0000"
+                    }, {
+                        label: "Temporary rejected",
+                        color: "#CC9966"
+                    }, {
+                        label: "Subject rewrited",
+                        color: "#FF6600"
                     }, {
                         label: "Probable spam",
                         color: "#FFD700"