Commit 2775f08e authored by Damian Kijańczuk's avatar Damian Kijańczuk

Add [IGT] highlighting in Dmesg logs

Added highlighting to lines in dmesg which contain [IGT], searching and
coloring is done client-side.

* Now higlighted line gets special class appended rather than
Sign-off-by: Damian Kijańczuk's avatarKijanczuk, Damian <>
parent 72e8b7ad
......@@ -93,6 +93,13 @@ if 'run' in test:
## Highlighting logs with [IGT] in them
document.querySelectorAll("[id*='dmesg-normal']").forEach(x =>
x.textContent.includes("[IGT]") && (x.classList.add("dmesg-igt"))
<i>Created at ${'%Y-%m-%d %H:%M:%S')}</i>
......@@ -43,6 +43,10 @@ tr:nth-child(odd) > td:first-child {
font-weight: bold;
.dmesg-igt {
background-color: #ffffba;
.dmesg-warnings, .dmesg-normal {
white-space: pre;
font-family: monospace;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment