mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 18:17:13 +00:00
fixed log colors
This commit is contained in:
parent
fa1b287d58
commit
7e66871cb7
1 changed files with 3 additions and 3 deletions
|
@ -5,13 +5,13 @@
|
||||||
|
|
||||||
e.row.style.boarder = "";
|
e.row.style.boarder = "";
|
||||||
|
|
||||||
if (e.dataItem.Level == 3) {
|
if (e.dataItem.Level == "Warn") {
|
||||||
e.row.style.backgroundColor = "#FFD700";
|
e.row.style.backgroundColor = "#FFD700";
|
||||||
}
|
}
|
||||||
else if (e.dataItem.Level == 4) {
|
else if (e.dataItem.Level == "Error") {
|
||||||
e.row.style.backgroundColor = "#FF7500";
|
e.row.style.backgroundColor = "#FF7500";
|
||||||
}
|
}
|
||||||
else if (e.dataItem.Level == 5) {
|
else if (e.dataItem.Level == "Fatal") {
|
||||||
e.row.style.backgroundColor = "black";
|
e.row.style.backgroundColor = "black";
|
||||||
e.row.style.color = "red";
|
e.row.style.color = "red";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue