2
0
Эх сурвалжийг харах

[Web] Same color for all last login indicators

andryyy 4 жил өмнө
parent
commit
c718f085e0

+ 1 - 6
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;
-}

+ 3 - 3
data/web/js/site/mailbox.js

@@ -366,9 +366,9 @@ jQuery(function($){
         },
         "formatter": function(value){
           res = value.split("/");
-          return '<div class="label label-last-in">IMAP @ ' + unix_time_format(Number(res[0])) + '</div><br>' +
-            '<div class="label label-last-in">POP3 @ ' + unix_time_format(Number(res[1])) + '</div><br>' + 
-            '<div class="label label-last-out">SMTP @ ' + unix_time_format(Number(res[2])) + '</div>';
+          return '<div class="label label-last-login">IMAP @ ' + unix_time_format(Number(res[0])) + '</div><br>' +
+            '<div class="label label-last-login">POP3 @ ' + unix_time_format(Number(res[1])) + '</div><br>' + 
+            '<div class="label label-last-login">SMTP @ ' + unix_time_format(Number(res[2])) + '</div>';
         }},
         {"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){