summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-11-16 14:33:07 -0700
committerEd Santiago <santiago@redhat.com>2020-11-16 14:34:59 -0700
commit0da801a446c52b435e5172fcfc84442dbf869ce8 (patch)
tree46c28ad8538c9cad767d95577d65e18ad44eea16
parente59394973a7559feb42b89ea882f2ce52d0432b8 (diff)
downloadpodman-0da801a446c52b435e5172fcfc84442dbf869ce8.tar.gz
podman-0da801a446c52b435e5172fcfc84442dbf869ce8.tar.bz2
podman-0da801a446c52b435e5172fcfc84442dbf869ce8.zip
logformatter: highlight timing results
Add a :hover style to rows in the 'integration timing results' section. Without that, it's really hard for my eye to scan across and match a time to a test name. Signed-off-by: Ed Santiago <santiago@redhat.com>
-rwxr-xr-xcontrib/cirrus/logformatter3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/cirrus/logformatter b/contrib/cirrus/logformatter
index 0cbd1f34b..bcafbc473 100755
--- a/contrib/cirrus/logformatter
+++ b/contrib/cirrus/logformatter
@@ -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; }
@@ -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;