Changeset 1152


Ignore:
Timestamp:
Jan 31, 2008, 12:20:27 PM (10 years ago)
Author:
Earle Martin
Message:

Colouring for report cells.

Location:
status/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • status/templates

    • Property svn:ignore set to
      test-results-*.txt
  • status/templates/tests.tt

    r1151 r1152  
    1212
    1313.pass {
    14         background: #3c3;
     14        background: #3f3;
    1515}
    1616</style>
     
    3131                <td>[% test_name.replace('_', ' ') %]</td>
    3232        [% FOREACH datum IN test_results.keys.sort %]
    33                 <td>[% test_results.$datum %]%</td>
     33                <td
     34[%- IF (test_results.$datum == 100) -%]
     35class="pass"
     36[%- ELSIF (test_results.$datum > 80) -%]
     37class="fail_minor"
     38[%- ELSE -%]
     39class="fail_serious">
     40[%- END -%]
     41>[% test_results.$datum %]%</td>
    3442        [% END %]
    3543        </tr>
Note: See TracChangeset for help on using the changeset viewer.