From 5a78a24b1ab693ebc5982b7f3e01400c784c24dd Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 6 Dec 2009 20:11:03 -0500 Subject: Clean up HTML files. --- coverage/htmlfiles/coverage_html.js | 6 +- coverage/htmlfiles/index.html | 162 ++++++++++++++++++------------------ coverage/htmlfiles/pyfile.html | 94 ++++++++++----------- coverage/htmlfiles/style.css | 4 +- 4 files changed, 133 insertions(+), 133 deletions(-) (limited to 'coverage') diff --git a/coverage/htmlfiles/coverage_html.js b/coverage/htmlfiles/coverage_html.js index faea61a..b70712c 100644 --- a/coverage/htmlfiles/coverage_html.js +++ b/coverage/htmlfiles/coverage_html.js @@ -33,7 +33,7 @@ function index_page_ready($) { } else { // This is not the first load - something has - // already defined sorting so we'll just update + // already defined sorting so we'll just update // our stored value to match: sort_list = table.config.sortList; } @@ -58,8 +58,8 @@ function index_page_ready($) { }); // Watch for page unload events so we can save the final sort settings: - $(window).unload(function() { - document.cookie = cookie_name + "=" + sort_list.toString() + "; path=/" + $(window).unload(function() { + document.cookie = cookie_name + "=" + sort_list.toString() + "; path=/" }); } diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html index e5b2534..700ff8b 100644 --- a/coverage/htmlfiles/index.html +++ b/coverage/htmlfiles/index.html @@ -1,81 +1,81 @@ - - - - - Coverage report - - - - - - - - - - -
- - - {# The title='' attr doesn't work in Safari. #} - - - - - - {% if arcs %} - - - {% endif %} - - - - {# HTML syntax requires thead, tfoot, tbody #} - - - - - - - {% if arcs %} - - - {% endif %} - - - - - {% for file in files %} - - - - - - {% if arcs %} - - - {% endif %} - - - {% endfor %} - -
Modulestatementsrunexcludedbranchesbr execcoverage
Total{{totals.n_statements}}{{totals.n_executed}}{{totals.n_excluded}}{{totals.n_branches}}{{totals.n_executed_branches}}{{totals.pc_covered|format_pct}}%
{{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}}%
-
- - - - - + + + + + Coverage report + + + + + + + + + + +
+ + + {# The title='' attr doesn't work in Safari. #} + + + + + + {% if arcs %} + + + {% endif %} + + + + {# HTML syntax requires thead, tfoot, tbody #} + + + + + + + {% if arcs %} + + + {% endif %} + + + + + {% for file in files %} + + + + + + {% if arcs %} + + + {% endif %} + + + {% endfor %} + +
Modulestatementsrunexcludedbranchesbr execcoverage
Total{{totals.n_statements}}{{totals.n_executed}}{{totals.n_excluded}}{{totals.n_branches}}{{totals.n_executed_branches}}{{totals.pc_covered|format_pct}}%
{{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}}%
+
+ + + + + diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 2afc975..79808c3 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -1,47 +1,47 @@ - - - - - Coverage for {{cu.name|escape}}: {{nums.pc_covered|format_pct}}% - - - - - - - - -
- - - - - -
- {% for line in lines %} -

{{line.number}}

- {% endfor %} -
- {% for line in lines %} -

{% if line.annotate %}{{line.annotate}}{% endif %}{{line.html}} 

- {% endfor %} -
-
- - - + + + + + Coverage for {{cu.name|escape}}: {{nums.pc_covered|format_pct}}% + + + + + + + + +
+ + + + + +
+ {% for line in lines %} +

{{line.number}}

+ {% endfor %} +
+ {% for line in lines %} +

{% if line.annotate %}{{line.annotate}}{% endif %}{{line.html}} 

+ {% endfor %} +
+
+ + + diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css index b2987ea..25e7d11 100644 --- a/coverage/htmlfiles/style.css +++ b/coverage/htmlfiles/style.css @@ -20,7 +20,7 @@ body { html>body { font-size: 16px; - } + } /* Set base font size to 12/16 */ p { @@ -115,7 +115,7 @@ td.text { margin: 0; padding: 0 0 0 .5em; border-left: 2px solid #ffffff; - white-space: nowrap; + white-space: nowrap; } .text p.mis { -- cgit v1.2.1