Commit 5915cf61 authored by Damian Kijańczuk's avatar Damian Kijańczuk Committed by Arkadiusz Hiler

Cleanup CSS responsible for Dmesg logs

Signed-off-by: Damian Kijańczuk's avatarKijanczuk, Damian <damian.kijanczuk@intel.com>
parent 9e4766c6
......@@ -82,7 +82,7 @@ if 'run' in test:
<td>
% if var == 'dmesg':
% for idx, dmesg in enumerate(test[var]):
<div><span id="${dmesg.style}${idx}" class="${dmesg.style}">${dmesg.message | h}</span></div>
<div><span id="${dmesg.style}${idx}" class="dmesg ${dmesg.style}">${dmesg.message | h}</span></div>
% endfor
% else:
<pre>${test[var] | h}</pre>
......@@ -95,7 +95,7 @@ if 'run' in test:
## Highlighting logs with [IGT] in them
<script>
document.querySelectorAll("[id*='dmesg-normal']").forEach(x =>
document.querySelectorAll("span.dmesg").forEach(x =>
x.textContent.includes("[IGT]") && (x.classList.add("dmesg-igt"))
);
</script>
......
......@@ -38,16 +38,16 @@ tr:nth-child(odd) > td:first-child {
visibility: hidden;
}
.dmesg-warnings {
span.dmesg-warnings {
color: orangered;
font-weight: bold;
}
.dmesg-igt {
span.dmesg-igt {
background-color: #ffffba;
}
.dmesg-warnings, .dmesg-normal {
span.dmesg {
white-space: pre;
font-family: monospace;
word-wrap: normal;
......
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