diff options
Diffstat (limited to 'test/farm/html/gold_a/index.html')
| -rw-r--r-- | test/farm/html/gold_a/index.html | 125 |
1 files changed, 74 insertions, 51 deletions
diff --git a/test/farm/html/gold_a/index.html b/test/farm/html/gold_a/index.html index 88103442..15ecf8d6 100644 --- a/test/farm/html/gold_a/index.html +++ b/test/farm/html/gold_a/index.html @@ -1,58 +1,81 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
-<head>
-<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
-<title>Coverage report</title>
-<link rel='stylesheet' href='style.css' type='text/css'>
-</head>
-<body>
+ <head>
+ <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
+ <title>Coverage report</title>
+ <link rel='stylesheet' href='style.css' type='text/css'>
+ <script type='text/javascript' src='jquery-1.3.2.min.js'></script>
+ <script type='text/javascript' src='jquery.tablesorter.min.js'></script>
+ </head>
+ <body>
-<div id='header'>
- <div class='content'>
- <h1>Coverage report:
- <span class='pc_cov'>67%</span>
- </h1>
- </div>
-</div>
+ <div id='header'>
+ <div class='content'>
+ <h1>Coverage report:
+ <span class='pc_cov'>67%</span>
+ </h1>
+ </div>
+ </div>
-<div id='index'>
-<table class='index'>
-<tr class='tablehead'>
- <th class='name'>Module</th>
- <th>statements</th>
- <th>run</th>
- <th>excluded</th>
-
- <th>coverage</th>
-</tr>
+ <div id='index'>
+ <table class='index'>
+ <thead>
+
+ <tr class='tablehead' title='Click to sort'>
+ <th class='name left'>Module</th>
+ <th>statements</th>
+ <th>run</th>
+ <th>excluded</th>
+
+ <th class='right'>coverage</th>
+ </tr>
+ </thead>
+
+ <tfoot>
+ <tr class='total'>
+ <td class='name left'>Total</td>
+ <td>3</td>
+ <td>2</td>
+ <td>0</td>
+
+ <td class='right'>67%</td>
+ </tr>
+ </tfoot>
+ <tbody>
+
+ <tr class='file'>
+ <td class='name left'><a href='a.html'>a</a></td>
+ <td>3</td>
+ <td>2</td>
+ <td>0</td>
+
+ <td class='right'>67%</td>
+ </tr>
+
+ </tbody>
+ </table>
+ </div>
-<tr class='file'>
- <td class='name'><a href='a.html'>a</a></td>
- <td>3</td>
- <td>2</td>
- <td>0</td>
-
- <td>67%</td>
-</tr>
+ <div id='footer'>
+ <div class='content'>
+ <p>
+ <a class='nav' href='http://nedbatchelder.com/code/coverage'>coverage.py v3.2b3</a>
+ </p>
+ </div>
+ </div>
-<tr class='total'>
-<td class='name'>Total</td>
-<td>3</td>
-<td>2</td>
-<td>0</td>
-
-<td>67%</td>
-</tr>
-</table>
-</div>
-
-<div id='footer'>
- <div class='content'>
- <p>
- <a class='nav' href='http://nedbatchelder.com/code/coverage'>coverage.py v3.2a1</a>
- </p>
- </div>
-</div>
-
-</body>
+ <script type="text/javascript" charset="utf-8">
+ jQuery(function() {
+ jQuery("table.index").tablesorter({
+ headers: {
+ 0: { sorter:'text' },
+ 1: { sorter:'digit' },
+ 2: { sorter:'digit' },
+ 3: { sorter:'digit' },
+ 4: { sorter:'percent' },
+ }
+ });
+ });
+ </script>
+ </body>
</html>
|
