3 |
3 |
4 <!DOCTYPE html> |
4 <!DOCTYPE html> |
5 <html> |
5 <html> |
6 <head> |
6 <head> |
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
8 {# IE8 rounds line-height incorrectly, and adding this emulateIE7 line makes it right! #} |
|
9 {# http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/7684445e-f080-4d8f-8529-132763348e21 #} |
|
10 <meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" /> |
|
11 <title>Coverage for {{relative_filename|escape}}: {{nums.pc_covered_str}}%</title> |
8 <title>Coverage for {{relative_filename|escape}}: {{nums.pc_covered_str}}%</title> |
12 <link rel="icon" sizes="32x32" href="favicon_32.png"> |
9 <link rel="icon" sizes="32x32" href="favicon_32.png"> |
13 <link rel="stylesheet" href="style.css" type="text/css"> |
10 <link rel="stylesheet" href="style.css" type="text/css"> |
14 {% if extra_css %} |
11 {% if extra_css %} |
15 <link rel="stylesheet" href="{{ extra_css }}" type="text/css"> |
12 <link rel="stylesheet" href="{{ extra_css }}" type="text/css"> |
23 <h1> |
20 <h1> |
24 <span class="text">Coverage for </span><b>{{relative_filename|escape}}</b>: |
21 <span class="text">Coverage for </span><b>{{relative_filename|escape}}</b>: |
25 <span class="pc_cov">{{nums.pc_covered_str}}%</span> |
22 <span class="pc_cov">{{nums.pc_covered_str}}%</span> |
26 </h1> |
23 </h1> |
27 |
24 |
28 <div id="help_panel_wrapper"> |
25 <aside id="help_panel_wrapper"> |
29 <input id="help_panel_state" type="checkbox"> |
26 <input id="help_panel_state" type="checkbox"> |
30 <label for="help_panel_state"> |
27 <label for="help_panel_state"> |
31 <img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts" /> |
28 <img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts" /> |
32 </label> |
29 </label> |
33 <div id="help_panel"> |
30 <div id="help_panel"> |
34 <p class="legend">Shortcuts on this page</p> |
31 <p class="legend">Shortcuts on this page</p> |
35 <div> |
32 <div class="keyhelp"> |
36 <p class="keyhelp"> |
33 <p> |
37 <kbd>r</kbd> |
34 <kbd>r</kbd> |
38 <kbd>m</kbd> |
35 <kbd>m</kbd> |
39 <kbd>x</kbd> |
36 <kbd>x</kbd> |
40 {% if has_arcs %} |
37 {% if has_arcs %} |
41 <kbd>p</kbd> |
38 <kbd>p</kbd> |
42 {% endif %} |
39 {% endif %} |
43 toggle line displays |
40 toggle line displays |
44 </p> |
41 </p> |
45 <p class="keyhelp"> |
42 <p> |
46 <kbd>j</kbd> |
43 <kbd>j</kbd> |
47 <kbd>k</kbd> next/prev highlighted chunk |
44 <kbd>k</kbd> |
|
45 next/prev highlighted chunk |
48 </p> |
46 </p> |
49 <p class="keyhelp"> |
47 <p> |
50 <kbd>0</kbd> (zero) top of page |
48 <kbd>0</kbd> (zero) top of page |
51 </p> |
49 </p> |
52 <p class="keyhelp"> |
50 <p> |
53 <kbd>1</kbd> (one) first highlighted chunk |
51 <kbd>1</kbd> (one) first highlighted chunk |
|
52 </p> |
|
53 <p> |
|
54 <kbd>[</kbd> |
|
55 <kbd>]</kbd> |
|
56 prev/next file |
|
57 </p> |
|
58 <p> |
|
59 <kbd>u</kbd> up to the index |
|
60 </p> |
|
61 <p> |
|
62 <kbd>?</kbd> show/hide this help |
54 </p> |
63 </p> |
55 </div> |
64 </div> |
56 </div> |
65 </div> |
57 </div> |
66 </aside> |
58 |
67 |
59 <h2> |
68 <h2> |
60 <span class="text">{{nums.n_statements}} statements </span> |
69 <span class="text">{{nums.n_statements}} statements </span> |
61 <button type="button" class="{{category.run}} button_toggle_run" value="run" data-shortcut="r" title="Toggle lines run">{{nums.n_executed}}<span class="text"> run</span></button> |
70 <button type="button" class="{{category.run}} button_toggle_run" value="run" data-shortcut="r" title="Toggle lines run">{{nums.n_executed}}<span class="text"> run</span></button> |
62 <button type="button" class="{{category.mis}} button_toggle_mis" value="mis" data-shortcut="m" title="Toggle lines missing">{{nums.n_missing}}<span class="text"> missing</span></button> |
71 <button type="button" class="{{category.mis}} button_toggle_mis" value="mis" data-shortcut="m" title="Toggle lines missing">{{nums.n_missing}}<span class="text"> missing</span></button> |
64 {% if has_arcs %} |
73 {% if has_arcs %} |
65 <button type="button" class="{{category.par}} button_toggle_par" value="par" data-shortcut="p" title="Toggle lines partially run">{{nums.n_partial_branches}}<span class="text"> partial</span></button> |
74 <button type="button" class="{{category.par}} button_toggle_par" value="par" data-shortcut="p" title="Toggle lines partially run">{{nums.n_partial_branches}}<span class="text"> partial</span></button> |
66 {% endif %} |
75 {% endif %} |
67 </h2> |
76 </h2> |
68 |
77 |
69 <div style="display: none;"> |
78 <p class="text"> |
70 <button type="button" class="button_next_chunk" data-shortcut="j">Next highlighted chunk</button> |
79 <a id="prevFileLink" class="nav" href="{{ prev_html }}">« prev</a> |
71 <button type="button" class="button_prev_chunk" data-shortcut="k">Previous highlighted chunk</button> |
80 <a id="indexLink" class="nav" href="index.html">^ index</a> |
72 <button type="button" class="button_top_of_page" data-shortcut="0">Goto top of page</button> |
81 <a id="nextFileLink" class="nav" href="{{ next_html }}">» next</a> |
73 <button type="button" class="button_first_chunk" data-shortcut="1">Goto first highlighted chunk</button> |
82 |
74 </div> |
83 <a class="nav" href="{{__url__}}">coverage.py v{{__version__}}</a>, |
|
84 created at {{ time_stamp }} |
|
85 </p> |
|
86 |
|
87 <aside class="hidden"> |
|
88 <button type="button" class="button_next_chunk" data-shortcut="j"/> |
|
89 <button type="button" class="button_prev_chunk" data-shortcut="k"/> |
|
90 <button type="button" class="button_top_of_page" data-shortcut="0"/> |
|
91 <button type="button" class="button_first_chunk" data-shortcut="1"/> |
|
92 <button type="button" class="button_prev_file" data-shortcut="["/> |
|
93 <button type="button" class="button_next_file" data-shortcut="]"/> |
|
94 <button type="button" class="button_to_index" data-shortcut="u"/> |
|
95 <button type="button" class="button_show_hide_help" data-shortcut="?"/> |
|
96 </aside> |
75 </div> |
97 </div> |
76 </header> |
98 </header> |
77 |
99 |
78 <main id="source"> |
100 <main id="source"> |
79 {% for line in lines -%} |
101 {% for line in lines -%} |
108 </main> |
130 </main> |
109 |
131 |
110 <footer> |
132 <footer> |
111 <div class="content"> |
133 <div class="content"> |
112 <p> |
134 <p> |
113 <a class="nav" href="index.html">« index</a> <a class="nav" href="{{__url__}}">coverage.py v{{__version__}}</a>, |
135 <a id="prevFileLink" class="nav" href="{{ prev_html }}">« prev</a> |
|
136 <a id="indexLink" class="nav" href="index.html">^ index</a> |
|
137 <a id="nextFileLink" class="nav" href="{{ next_html }}">» next</a> |
|
138 |
|
139 <a class="nav" href="{{__url__}}">coverage.py v{{__version__}}</a>, |
114 created at {{ time_stamp }} |
140 created at {{ time_stamp }} |
115 </p> |
141 </p> |
116 </div> |
142 </div> |
117 </footer> |
143 </footer> |
118 |
144 |