From 5dc96eaae9966d08dafccdc676d4ad8fdc6484d4 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 20 Nov 2009 06:50:12 -0500 Subject: Polish up the sortable report: indication of sort column and sortability --- coverage/htmlfiles/index.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'coverage/htmlfiles/index.html') diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html index 162f862c..5c562de2 100644 --- a/coverage/htmlfiles/index.html +++ b/coverage/htmlfiles/index.html @@ -20,8 +20,9 @@
- - + {# The title='' attr doesn't work in Safari. #} + + @@ -29,13 +30,13 @@ {% endif %} - + {% for file in files %} - + @@ -43,13 +44,13 @@ {% endif %} - + {% endfor %} - + @@ -57,7 +58,7 @@ {% endif %} - +
Module
Module statements run excludedbranches br execcoveragecoverage
{{file.cu.name}}{{file.cu.name}} {{file.nums.n_statements}} {{file.nums.n_executed}} {{file.nums.n_excluded}}{{file.nums.n_branches}} {{file.nums.n_executed_branches}}{{file.nums.pc_covered|format_pct}}%{{file.nums.pc_covered|format_pct}}%
TotalTotal {{totals.n_statements}} {{totals.n_executed}} {{totals.n_excluded}}{{totals.n_branches}} {{totals.n_executed_branches}}{{totals.pc_covered|format_pct}}%{{totals.pc_covered|format_pct}}%
@@ -75,11 +76,11 @@ jQuery(function() { jQuery("table.index").tablesorter({ headers: { - 0: { sorter:'test' }, + 0: { sorter:'text' }, 1: { sorter:'digit' }, 2: { sorter:'digit' }, 3: { sorter:'digit' }, - 4: { sorter:'digit' }, + 4: { sorter:'percent' }, } }); }); -- cgit v1.2.1