Edgewall Software

source: trunk/bitten/templates/bitten_summary_coverage.html

Last change on this file was 576, checked in by wbell, 15 years ago

Merging trac-0.11 branch to trunk. This revision is equivalent to [571].

  • Property svn:executable set to *
File size: 887 bytes
Line 
1<!DOCTYPE html
2    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml"
5      xmlns:py="http://genshi.edgewall.org/" py:strip="">
6 <body py:strip="">
7  <h3>Code Coverage</h3>
8  <table class="listing coverage">
9   <thead><tr>
10    <th class="name">Unit</th><th class="loc">Lines of Code</th>
11    <th class="cov">Coverage</th>
12   </tr></thead>
13   <tbody><tr py:for="item in data.units">
14    <td class="name" py:choose="">
15     <a py:when="item.href" href="$item.href">$item.name</a>
16     <py:otherwise>$item.name</py:otherwise>
17    </td>
18    <td class="loc">$item.loc</td>
19    <td class="cov">${item.cov}%</td>
20   </tr></tbody>
21   <tbody class="totals"><tr py:with="totals = data.totals">
22    <th>Total</th><td>$totals.loc</td>
23    <td>${totals.cov}%</td>
24   </tr></tbody>
25  </table>
26 </body>
27</html>
Note: See TracBrowser for help on using the repository browser.