diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-04-28 17:55:37 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-04-28 17:55:37 -0400 |
commit | 66d04388dbcc816d7ce0102ced0ee5574734b3e2 (patch) | |
tree | 6e7f24eee3e7da07ed77dcbaf6255696e3f85276 /coverage/htmlfiles | |
parent | 8be223fd898a085469cb773c4d13e05e64892a7b (diff) | |
download | python-coveragepy-66d04388dbcc816d7ce0102ced0ee5574734b3e2.tar.gz |
Color the buttons on the pyfile page, so they have a visual connection to the lines they affect.
Diffstat (limited to 'coverage/htmlfiles')
-rw-r--r-- | coverage/htmlfiles/pyfile.html | 2 | ||||
-rw-r--r-- | coverage/htmlfiles/style.css | 25 |
2 files changed, 26 insertions, 1 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 2d3d8a3..490fad8 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -27,7 +27,7 @@ </h1> <img id='keyboard_icon' src='keybd_closed.png'> <h2 class='stats'> - {{nums.n_statements}} statements + {{nums.n_statements}} statements <span class='{{c_run}} shortkey_r button_toggle_run'>{{nums.n_executed}} run</span> <span class='{{c_mis}} shortkey_m button_toggle_mis'>{{nums.n_missing}} missing</span> <span class='{{c_exc}} shortkey_x button_toggle_exc'>{{nums.n_excluded}} excluded</span> diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css index c40357b..70715ac 100644 --- a/coverage/htmlfiles/style.css +++ b/coverage/htmlfiles/style.css @@ -102,6 +102,31 @@ h2.stats { border-color: #999 #ccc #ccc #999; } +.stats span.run { + background: #ddffdd; +} +.stats span.exc { + background: #eeeeee; +} +.stats span.mis { + background: #ffdddd; +} +.stats span.hide_run { + background: #eeffee; +} +.stats span.hide_exc { + background: #f5f5f5; +} +.stats span.hide_mis { + background: #ffeeee; +} +.stats span.par { + background: #ffffaa; +} +.stats span.hide_par { + background: #ffffcc; +} + /* Help panel */ #keyboard_icon { float: right; |