[Commits] [svn:einsteintoolkit] www/release-info/ (Rev. 522)
knarf at cct.lsu.edu
knarf at cct.lsu.edu
Tue Apr 12 09:16:08 CDT 2011
User: knarf
Date: 2011/04/12 09:16 AM
Modified:
/release-info/
parse_testsuite_results.cgi
Log:
include more info
File Changes:
Directory: /release-info/
=========================
File [modified]: parse_testsuite_results.cgi
Delta lines: +12 -2
===================================================================
--- release-info/parse_testsuite_results.cgi 2011-04-12 13:57:33 UTC (rev 521)
+++ release-info/parse_testsuite_results.cgi 2011-04-12 14:16:08 UTC (rev 522)
@@ -155,9 +155,10 @@
defined($results{$thorn}{$test}{$host}{$nprocs}) and
defined($results{$thorn}{$test}{$host}{$nprocs}{$nthreads})) {
$allhosts{$host}{$nprocs}{$nthreads}{"ran"}++;
+ my $popup = "<span class=\"info\">$host p${nprocs}/t$nthreads</span>";
if ($results{$thorn}{$test}{$host}{$nprocs}{$nthreads}{"result"} =~ /Success/) {
$allhosts{$host}{$nprocs}{$nthreads}{"success"}++;
- $table_entries .= "<td class='c$bg$green'>â</td>";
+ $table_entries .= "<td class='c$bg$green'>â$popup</td>";
} else {
$allhosts{$host}{$nprocs}{$nthreads}{"fail"}++;
my $details = $results{$thorn}{$test}{$host}{$nprocs}{$nthreads}{"details"};
@@ -169,7 +170,7 @@
$entry = "<font color='#$red'><b>$1</b></font> missing, ".
"<font color='#$red'><b>$3</b></font>/$2";
}
- $table_entries .= "<td class='c$bg'>$entry</td>";
+ $table_entries .= "<td class='c$bg'>$entry$popup</td>";
}
} else {
$table_entries .= "<td class='c$bg'> </td>";
@@ -277,6 +278,15 @@
td.c2 { background-color: #e0e0e0; text-align: center; }
td.c1g { background-color: #d0d0d0; text-align: center; color: #00FF00;}
td.c2g { background-color: #e0e0e0; text-align: center; color: #00FF00;}
+ td .info { display : none; }
+ td:hover .info { display : block;
+ position : absolute;
+ border-style : solid;
+ border-width : thin;
+ border-color : #000000;
+ margin-left : 1em;
+ padding : 0.5em;
+ }
</style>
CSS
More information about the Commits
mailing list