public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Web] Same color for all last login indicators
c718f085
data/web/css/site/mailbox.css | 7 +------
data/web/js/site/mailbox.js | 6 +++---
2 files changed, 4 insertions(+), 9 deletions(-)
Diff
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 '<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){