mirror of
https://github.com/pi-hole/web.git
synced 2025-12-26 21:46:22 +00:00
Dark mode optimizations for Query Log and Long-term graphics
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -257,12 +257,14 @@ $(document).ready(function () {
|
||||
break;
|
||||
default:
|
||||
blocked = false;
|
||||
colorClass = "text-black";
|
||||
colorClass = false;
|
||||
fieldtext = "Unknown (" + parseInt(data[4]) + ")";
|
||||
buttontext = "";
|
||||
}
|
||||
|
||||
$(row).addClass(colorClass);
|
||||
if(colorClass !== false) {
|
||||
$("td:eq(4)", row).addClass(colorClass);
|
||||
}
|
||||
$("td:eq(4)", row).html(fieldtext);
|
||||
$("td:eq(6)", row).html(buttontext);
|
||||
|
||||
@@ -344,7 +346,6 @@ $(document).ready(function () {
|
||||
replytext = "-";
|
||||
}
|
||||
|
||||
$("td:eq(5)", row).addClass("text-black");
|
||||
$("td:eq(5)", row).html(replytext);
|
||||
|
||||
if (data.length > 7 && data[7] > 0) {
|
||||
|
||||
Reference in New Issue
Block a user