Alexandre Julliard : patches: Use a separate table style for the regressions page.

Alexandre Julliard julliard at winehq.org
Wed Nov 22 14:08:24 CST 2017


Module: tools
Branch: master
Commit: 94fb58ab98d8fe808d4b00c279952ea5f911c627
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=94fb58ab98d8fe808d4b00c279952ea5f911c627

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Nov 21 20:06:15 2017 +0100

patches: Use a separate table style for the regressions page.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 patches/patches.css        | 2 +-
 patches/update-regressions | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/patches/patches.css b/patches/patches.css
index 24e8f37..4d6df8b 100644
--- a/patches/patches.css
+++ b/patches/patches.css
@@ -131,7 +131,7 @@ div.buglist {
     width: 100%;
     border: 1px solid #601919;
 }
-table.main, table.legend { width: 100%; }
+table.main, table.legend, table.regressions { width: 100%; }
 table.main { border-collapse: collapse; }
 
 table.legend ul { margin: 2px 0; }
diff --git a/patches/update-regressions b/patches/update-regressions
index 5e39075..5c8b362 100755
--- a/patches/update-regressions
+++ b/patches/update-regressions
@@ -86,7 +86,7 @@ sub read_bugs()
 sub print_bugs($@)
 {
     my $row = shift;
-    printf OUTPUT "<table class=\"main\">\n";
+    printf OUTPUT "<table class=\"regressions\">\n";
     foreach my $id (sort {$b <=> $a} @_)
     {
         my $regression = $regressions{$id};
@@ -135,7 +135,7 @@ printf OUTPUT "<div id=\"logo_blurb\">Wine source repository – Regressions
 print OUTPUT "<div id=\"main_content\"><div id=\"content\"><div class=\"main\">\n";
 printf OUTPUT "<h2>%u bisected regressions</h2>\n", $count;
 
-print OUTPUT "<table class=\"main\"><tr><th class=\"count\">Count</th>",
+print OUTPUT "<table class=\"regressions\"><tr><th class=\"count\">Count</th>",
              "<th style=\"width: 100%;\" class=\"author\">Author</th></tr>\n";
 
 my $row = 0;
@@ -155,7 +155,7 @@ print OUTPUT "</table></div>\n";
 
 print OUTPUT "<div class=\"main\">\n";
 printf OUTPUT "<h2>%u regressions without commit id</h2>\n", scalar @unknown;
-print OUTPUT "<table class=\"main\"><tr><th class=\"id\">Id</th>",
+print OUTPUT "<table class=\"regressions\"><tr><th class=\"id\">Id</th>",
              "<th style=\"width: 100%;\" class=\"subject\">Description</th></tr>\n";
 
 $row = 0;




More information about the wine-cvs mailing list