Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
i915-infra
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
41
Issues
41
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
gfx-ci
i915-infra
Commits
5915cf61
Commit
5915cf61
authored
May 06, 2020
by
Damian Kijańczuk
Committed by
Arkadiusz Hiler
May 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup CSS responsible for Dmesg logs
Signed-off-by:
Kijanczuk, Damian
<
damian.kijanczuk@intel.com
>
parent
9e4766c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
igt-vis/templates/test-result.mako
igt-vis/templates/test-result.mako
+2
-2
site-publishing/assets/test_result.css
site-publishing/assets/test_result.css
+3
-3
No files found.
igt-vis/templates/test-result.mako
View file @
5915cf61
...
...
@@ -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>
...
...
site-publishing/assets/test_result.css
View file @
5915cf61
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment