Skip to content

Commit

Permalink
Merge pull request #8360 from edsantiago/logformatter
Browse files Browse the repository at this point in the history
logformatter: highlight timing results
  • Loading branch information
openshift-merge-robot authored Nov 17, 2020
2 parents e593949 + 0da801a commit 3502860
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/cirrus/logformatter
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ a.codelink:hover { background: #000; color: #999; }
/* The timing tests at bottom: remove underline, it's too cluttery. */
a.timing { text-decoration: none; }
.timing:hover { background: #FF9; } /* highlight row for easy reading */
/* BATS styles */
.bats-passed { color: #393; }
Expand Down Expand Up @@ -292,7 +293,7 @@ END_HTML
$spaces = 1 if $spaces < 1;
$spaces++ if $time < 10;
my $spacing = ' ' x $spaces;
$line = qq{<a class="timing" href="#t--$id">$name</a>$spacing$time};
$line = qq{<span class="timing"><a href="#t--$id">$name</a>$spacing$time</span>};
}
else {
$in_timing = 0;
Expand Down

0 comments on commit 3502860

Please sign in to comment.