Francois Gouget : testbot/web: Prettify the log / error separator.
Alexandre Julliard
julliard at winehq.org
Fri Jun 22 05:44:24 CDT 2018
Module: tools
Branch: master
Commit: 9b27edb137dca80c284874f4dfbed7a758bec9a9
URL: https://source.winehq.org/git/tools.git/?a=commit;h=9b27edb137dca80c284874f4dfbed7a758bec9a9
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Jun 21 14:23:58 2018 +0200
testbot/web: Prettify the log / error separator.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/web/JobDetails.pl | 7 ++++++-
testbot/web/WineTestBot.css | 14 ++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/testbot/web/JobDetails.pl b/testbot/web/JobDetails.pl
index 1536e87..8cc354e 100644
--- a/testbot/web/JobDetails.pl
+++ b/testbot/web/JobDetails.pl
@@ -495,7 +495,12 @@ sub GenerateBody($)
chomp $Line;
if ($ErrFirst)
{
- print "<hr>\n" if (!$LogFirst);
+ if (!$LogFirst)
+ {
+ print "<div class='HrTitle'>".
+ ($ErrName eq "err" ? "Other errors" : "Old errors") .
+ "<div class='HrLine'></div></div>\n";
+ }
print "<pre><code>";
$ErrFirst = 0;
}
diff --git a/testbot/web/WineTestBot.css b/testbot/web/WineTestBot.css
index 28ac1b1..593c38f 100644
--- a/testbot/web/WineTestBot.css
+++ b/testbot/web/WineTestBot.css
@@ -317,6 +317,20 @@ h2
padding-bottom: 0.1em;
}
+.HrTitle {
+ margin-top: 0.5em;
+ display: flex;
+ align-items: center;
+ color: #a50d0d;
+}
+
+.HrLine {
+ border-top: 1px solid grey;
+ flex-grow: 1;
+ margin: 0 10px;
+ border-color: #a50d0d;
+}
+
details
{
font-style: italic;
More information about the wine-cvs
mailing list