From 5915cf615b11931c7f712d1e7f62aac5f43132a5 Mon Sep 17 00:00:00 2001 From: "Kijanczuk, Damian" Date: Wed, 6 May 2020 13:21:44 +0200 Subject: [PATCH] Cleanup CSS responsible for Dmesg logs Signed-off-by: Kijanczuk, Damian --- igt-vis/templates/test-result.mako | 4 ++-- site-publishing/assets/test_result.css | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/igt-vis/templates/test-result.mako b/igt-vis/templates/test-result.mako index 53a8bb9..8d0be6a 100644 --- a/igt-vis/templates/test-result.mako +++ b/igt-vis/templates/test-result.mako @@ -82,7 +82,7 @@ if 'run' in test: % if var == 'dmesg': % for idx, dmesg in enumerate(test[var]): -
${dmesg.message | h}
+
${dmesg.message | h}
% endfor % else:
${test[var] | h}
@@ -95,7 +95,7 @@ if 'run' in test: ## Highlighting logs with [IGT] in them diff --git a/site-publishing/assets/test_result.css b/site-publishing/assets/test_result.css index ee35f19..ad8492b 100644 --- a/site-publishing/assets/test_result.css +++ b/site-publishing/assets/test_result.css @@ -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; -- GitLab