[Commits] [svn:einsteintoolkit] www/release-info/ (Rev. 266)

knarf at cct.lsu.edu knarf at cct.lsu.edu
Wed Jun 16 22:53:25 CDT 2010


User: knarf
Date: 2010/06/16 10:53 PM

Modified:
 /release-info/
  parse_testsuite_results.cgi

Log:
 html

File Changes:

Directory: /release-info/
=========================

File [modified]: parse_testsuite_results.cgi
Delta lines: +3 -1
===================================================================
--- release-info/parse_testsuite_results.cgi	2010-06-17 03:16:55 UTC (rev 265)
+++ release-info/parse_testsuite_results.cgi	2010-06-17 03:53:25 UTC (rev 266)
@@ -84,7 +84,9 @@
 $table_entries .= "</tr>\n<tr>";
 foreach my $host (sort(keys(%allhosts))) {
   foreach my $nprocs (sort(keys(%{$allhosts{$host}}))) {
-    $table_entries .= "<th>$nprocs</th>";
+    my $color = " style=\"background-color:#d0d0d0;\"";
+    if ($nprocs != "1") { $color = " style=\"background-color:#e0e0e0;\""; }
+    $table_entries .= "<th$color>$nprocs</th>";
   }
 }
 $table_entries .= "</tr>\n";



More information about the Commits mailing list