source: status/templates/tests.tt @ 1150

Last change on this file since 1150 was 1150, checked in by Earle Martin, 14 years ago

Tabular output.

File size: 619 bytes
Line 
1<html>
2<head>
3        <title>Test Results</title>
4<style type="text/css">
5.fail_serious {
6        background: #c00;
7}
8
9.fail_minor {
10        background: #f33;
11}
12
13.pass {
14        background: #3c3;
15}
16</style>
17</head>
18<body>
19<h1>Test Results</h1>
20
21<table border="1">
22        <tr>
23                <td></td>
24[% FOREACH test_name IN data.test_names %]
25                <th>[% test_name.replace('_', ' ') %]</th>
26[%- END %]
27        </tr>
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 %]
37</table>
38
39</body>
40</html>
Note: See TracBrowser for help on using the repository browser.