From c718f085e06c67e7febbda878281bac39d22463a Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 17 Oct 2020 10:15:30 +0200 Subject: [PATCH] [Web] Same color for all last login indicators --- data/web/css/site/mailbox.css | 7 +------ data/web/js/site/mailbox.js | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/data/web/css/site/mailbox.css b/data/web/css/site/mailbox.css index 56fe4f8f..8b5bad6e 100644 --- a/data/web/css/site/mailbox.css +++ b/data/web/css/site/mailbox.css @@ -57,13 +57,8 @@ table tbody tr { table tbody tr td input[type="checkbox"] { cursor: pointer; } -.label-last-in { +.label-last-login { line-height: 2.5; color: #4a4a4a!important; background-color: #ececec!important; } -.label-last-out { - line-height: 2.5; - color: #ececec!important; - background-color: #a0a0a0!important; -} \ No newline at end of file diff --git a/data/web/js/site/mailbox.js b/data/web/js/site/mailbox.js index 77d0b8bb..217a4323 100644 --- a/data/web/js/site/mailbox.js +++ b/data/web/js/site/mailbox.js @@ -366,9 +366,9 @@ jQuery(function($){ }, "formatter": function(value){ res = value.split("/"); - return '
IMAP @ ' + unix_time_format(Number(res[0])) + '

' + - '
POP3 @ ' + unix_time_format(Number(res[1])) + '

' + - '
SMTP @ ' + unix_time_format(Number(res[2])) + '
'; + return '
IMAP @ ' + unix_time_format(Number(res[0])) + '

' + + '
POP3 @ ' + unix_time_format(Number(res[1])) + '

' + + '
SMTP @ ' + unix_time_format(Number(res[2])) + '
'; }}, {"name":"quarantine_notification","filterable": false,"title":lang.quarantine_notification,"breakpoints":"all"}, {"name":"in_use","filterable": false,"type":"html","title":lang.in_use,"sortValue": function(value){