diff options
author | des <des@FreeBSD.org> | 2003-11-12 08:16:16 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-11-12 08:16:16 +0000 |
commit | baa406c0e2b9c50d77f21e9fc5525275903f1c1d (patch) | |
tree | 15100a906252165f951e3989af561e2bc669bcf3 /tools | |
parent | a7fc450278e9da59db477a758093554f9a90c414 (diff) | |
download | FreeBSD-src-baa406c0e2b9c50d77f21e9fc5525275903f1c1d.zip FreeBSD-src-baa406c0e2b9c50d77f21e9fc5525275903f1c1d.tar.gz |
Turn the table around: platforms across, branches down.
Also fix some bogus tabification in here documents.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/tinderbox/www/index.cgi | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/tools/tools/tinderbox/www/index.cgi b/tools/tools/tinderbox/www/index.cgi index 26393e9..6866400 100644 --- a/tools/tools/tinderbox/www/index.cgi +++ b/tools/tools/tinderbox/www/index.cgi @@ -95,21 +95,27 @@ MAIN:{ <table border=\"1\" cellpadding=\"3\"> <tr> - <th>Platform</th> + <th /> "; - foreach my $branch (sort(keys(%BRANCHES))) { - print(" <th>$branch</th>\n"); + foreach my $arch (sort(keys(%ARCHES))) { + foreach my $machine (sort(keys(%{$ARCHES{$arch}}))) { + if ($arch eq $machine) { + print " <th>$arch</th>\n"; + } else { + print " <th>$arch<br />$machine</th>\n"; + } + } } print " </tr>\n"; my $now = time(); - foreach my $arch (sort(keys(%ARCHES))) { - foreach my $machine (sort(keys(%{$ARCHES{$arch}}))) { - my $html = " <tr> - <td>$arch / $machine</td> + foreach my $branch (sort(keys(%BRANCHES))) { + my $html = " <tr> + <th>$branch</th> "; - foreach my $branch (sort(keys(%BRANCHES))) { + foreach my $arch (sort(keys(%ARCHES))) { + foreach my $machine (sort(keys(%{$ARCHES{$arch}}))) { my $log = "tinderbox-$branch-$arch-$machine"; my $links = ""; if (-f "$DIR/$log.brief") { @@ -138,20 +144,20 @@ MAIN:{ $html .= " <td>$links</td>\n"; } } - $html .= " </tr>\n"; - print $html; } + $html .= " </tr>\n"; + print $html; } my $date = strftime("%Y-%m-%d %H:%M UTC", gmtime()); print " </table> <p class=\"update\">Last updated: $date</p> <p> <a href=\"http://validator.w3.org/check/referer\"><img - src=\"valid-xhtml10.png\" - alt=\"Valid XHTML 1.0!\" height=\"31\" width=\"88\" /></a> + src=\"valid-xhtml10.png\" + alt=\"Valid XHTML 1.0!\" height=\"31\" width=\"88\" /></a> <a href=\"http://jigsaw.w3.org/css-validator/check/referer\"><img - src=\"valid-css.png\" - alt=\"Valid CSS!\" height=\"31\" width=\"88\" /></a> + src=\"valid-css.png\" + alt=\"Valid CSS!\" height=\"31\" width=\"88\" /></a> </p> </body> </html> |