From 66d3897efd79ea045721bc6ffb57f300a16b5ae2 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Fri, 17 Apr 2020 20:36:47 +0000 Subject: Improve presentation of failures --- autobuild/results.php | 91 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 55 insertions(+), 36 deletions(-) (limited to 'autobuild/results.php') diff --git a/autobuild/results.php b/autobuild/results.php index a6bfe21..0fc9807 100644 --- a/autobuild/results.php +++ b/autobuild/results.php @@ -1,5 +1,8 @@ + + + $succes_percent% Success\n"; .expand-arrow { text-decoration: none; } +table.failureTable { + background-color: #f7f7f7; +} +table.failureTable tr:nth-child(even) { + background: rgba(50,160,200, 0.1); +} +table.failureTable thead th { + font-weight: bold; +} @@ -230,73 +243,79 @@ foreach ($runs as $r) { echo ""; } echo "\n"; -echo "

$succes_percent% Success

\n"; +echo "

$succes_percent% Success

\n"; echo "$nb_fixed packages have been fixed since this run and $nb_removed have been removed.
If no new package was broken, success rate next time should be $estimated_percent%.
\n"; -echo "

Failed builds ($nb_failed/$nb_tried)

+