diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-20 13:55:37 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-20 13:55:37 +0000 |
commit | 92d4711385ac3647096bcd7a08029d1d7cfda03f (patch) | |
tree | 709983d1c1ea099d215d301357d420b03a952f98 /interface/js | |
parent | c2f00fb418e707a4e3ddbc6460b3e08e9f04ad2f (diff) | |
download | rspamd-92d4711385ac3647096bcd7a08029d1d7cfda03f.tar.gz rspamd-92d4711385ac3647096bcd7a08029d1d7cfda03f.zip |
[WebUI] Add sender, recipients and subject columns
Diffstat (limited to 'interface/js')
-rw-r--r-- | interface/js/app/history.js | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 8756a5f5a..e5981e1d6 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -98,6 +98,7 @@ function($, _, Humanize) { "value": scan_time } item.id = item['message-id']; + item.rcpt_mime = item.rcpt_mime.join(","); items.push(item); }); @@ -152,6 +153,33 @@ function($, _, Humanize) { "maxWidth": 150 } }, { + "name": "sender_mime", + "title": "From", + "breakpoints": "xs sm", + "style": { + "font-size": "11px", + "width": 150, + "maxWidth": 150 + } + }, { + "name": "rcpt_mime", + "title": "To", + "breakpoints": "xs sm", + "style": { + "font-size": "11px", + "width": 150, + "maxWidth": 150 + } + }, { + "name": "subject", + "title": "Subject", + "breakpoints": "xs sm", + "style": { + "font-size": "11px", + "width": 150, + "maxWidth": 150 + } + }, { "name": "action", "title": "Action", "style": { @@ -182,8 +210,8 @@ function($, _, Humanize) { "breakpoints": "xs sm", "style": { "font-size": "11px", - "width": 120, - "maxWidth": 120 + "width": 90, + "maxWidth": 110 }, "formatter": Humanize.compactInteger }, { @@ -210,8 +238,8 @@ function($, _, Humanize) { "breakpoints": "xs sm", "style": { "font-size": "11px", - "width": 200, - "maxWidth": 200 + "width": 100, + "maxWidth": 150 } }]; } |