User: knarf Date: 2010/06/16 08:01 PM
Modified: /release-info/ parse_testsuite_results.cgi
Log: reorder
File Changes:
Directory: /release-info/ =========================
File [modified]: parse_testsuite_results.cgi Delta lines: +5 -4 =================================================================== --- release-info/parse_testsuite_results.cgi 2010-06-17 00:55:27 UTC (rev 258) +++ release-info/parse_testsuite_results.cgi 2010-06-17 01:01:15 UTC (rev 259) @@ -127,12 +127,13 @@ $table_entries .= "</tr>\n"; $tr="<tr>"; } } -$table_entries .= "<tr><th rowspan='3' colspan='2'> </th>"; + +# Things for the top of the table +my $table_entries_h .= "<tr><th rowspan='3' colspan='2'> </th>"; foreach my $host (sort(keys(%allhosts))) { - $table_entries .= "<th colspan='".scalar(keys(%{$allhosts{$host}}))."'>$host</th>"; + $table_entries_h .= "<th colspan='".scalar(keys(%{$allhosts{$host}}))."'>$host</th>"; } -$table_entries .= "</tr>\n"; -my $table_entries_h = "<tr>"; +$table_entries_h .= "</tr>\n<tr>"; foreach my $host (sort(keys(%allhosts))) { foreach my $nprocs (sort(keys(%{$allhosts{$host}}))) { my $color = " style="background-color:#d0d0d0;"";