diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2011-04-20 22:35:00 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-04-20 22:35:00 -0400 |
commit | 56026f10f6fb8a6cce270cf2b169f724470ce96d (patch) | |
tree | 9440ca3dd1135dd5f042487cf117473ec5ecafe6 /coverage/htmlfiles/pyfile.html | |
parent | 2fbb89325ace18b787fc5f392cb7659a36b005dc (diff) | |
download | python-coveragepy-git-56026f10f6fb8a6cce270cf2b169f724470ce96d.tar.gz |
Keyboard-shorcut help is now available on the file page of the HTML report.
Diffstat (limited to 'coverage/htmlfiles/pyfile.html')
-rw-r--r-- | coverage/htmlfiles/pyfile.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 6f99e6a6..ee0a3b1b 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -22,6 +22,7 @@ <h1>Coverage for <b>{{cu.name|escape}}</b> : <span class='pc_cov'>{{nums.pc_covered_str}}%</span> </h1> + <img id='keyboard_icon' src='keybd_closed.png'> <h2 class='stats'> {{nums.n_statements}} statements <span class='{{c_run}} shortkey_r' onclick='coverage.toggle_lines(this, "run")'>{{nums.n_executed}} run</span> @@ -34,6 +35,29 @@ </div> </div> +<div class='help_panel'> + <img id='panel_icon' src='keybd_open.png'> + <p class='legend'>Hot-keys on this page</p> + <div> + <p class='keyhelp'> + <span class='key'>r</span> + <span class='key'>m</span> + <span class='key'>x</span> + <span class='key'>p</span> toggle line displays + </p> + <p class='keyhelp'> + <span class='key'>j</span> + <span class='key'>k</span> next/prev highlighted chunk + </p> + <p class='keyhelp'> + <span class='key'>0</span> (zero) top of page + </p> + <p class='keyhelp'> + <span class='key'>1</span> (one) first highlighted chunk + </p> + </div> +</div> + <div id='source'> <table cellspacing='0' cellpadding='0'> <tr> |