Show
Ignore:
Timestamp:
01/30/08 18:16:57 (10 months ago)
Author:
earle
Message:

Tabular output.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • status/templates/tests.tt

    r1148 r1150  
    1414        background: #3c3; 
    1515} 
     16</style> 
    1617</head> 
    1718<body> 
    1819<h1>Test Results</h1> 
    19 <table> 
    20 [% FOREACH test IN tests.keys.sort %] 
     20 
     21<table border="1"> 
    2122        <tr> 
    22                 <td>[% test %]</td> 
    23                 <td>[% tests.$test %]%</td> 
     23                <td></td> 
     24[% FOREACH test_name IN data.test_names %] 
     25                <th>[% test_name.replace('_', ' ') %]</th> 
     26[%- END %] 
    2427        </tr> 
    25 [% END %] 
     28[% FOREACH test_date IN data.results.keys %] 
     29[% day_results = data.results.$test_date %] 
     30        <tr> 
     31                <td>[% test_date %]</td> 
     32        [% FOREACH datum IN day_results.keys.sort %] 
     33                <td>[% day_results.$datum %]%</td> 
     34        [% END %] 
     35        </tr> 
     36[%- END %] 
    2637</table> 
     38 
    2739</body> 
    2840</html>