Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
drlight17 authored May 27, 2024
1 parent b1a17d7 commit 7b3a780
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions mlp/static/js/main_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1481,14 +1481,18 @@ const app = Vue.createApp({
if (this.settings.dark) {
brightness = -40;
}
$('#email-metadata td:contains("'+m[index].status.code+'")').css('background-color',this.shadeColor(this.settings.status_color[m[index].status.code],brightness));
$('.ui.modal>.header').css('background-color',this.shadeColor(this.settings.status_color[m[index].status.code],brightness));
//console.log(m[index].status.code)
//console.log($('#email-metadata #status_code').parent())
//$('#email-metadata td:contains("'+m[index].status.code+'")').css('background-color',this.shadeColor(this.settings.status_color[m[index].status.code],brightness));
$('#email-metadata #status_code').parent().css('background-color',this.shadeColor(this.settings.status_color[m[index].status.code],brightness));
$('#mail-modal .header').css('background-color',this.shadeColor(this.settings.status_color[m[index].status.code],brightness));


} else {
// change to inherit due to dark mode changes
$('#email-metadata td:contains("'+m[index].status.code+'")').css('background-color','inherit');
$('.ui.modal>.header').css('background-color','inherit');
//$('#email-metadata td:contains("'+m[index].status.code+'")').css('background-color','inherit');
$('#email-metadata #status_code').parent().css('background-color','inherit');
$('#mail-modal .header').css('background-color','inherit');
}

// status localize
Expand Down

0 comments on commit 7b3a780

Please sign in to comment.