summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-10-25 09:39:28 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-10-25 09:39:28 -0400
commit02b4d71cf2d9431d4affd16713df7ded77eaa034 (patch)
treeee22c3a9343032853f0e9fd41755d6a779e1e21c /coverage/htmlfiles
parent82282aac7b8f8c963bb94e7a40a0aa1d05cb6c87 (diff)
downloadpython-coveragepy-02b4d71cf2d9431d4affd16713df7ded77eaa034.tar.gz
Stupid simplistic not working yet branch reporting in HTML
Diffstat (limited to 'coverage/htmlfiles')
-rw-r--r--coverage/htmlfiles/pyfile.html1
-rw-r--r--coverage/htmlfiles/style.css22
2 files changed, 14 insertions, 9 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html
index a7cd1d3..8a0dd4e 100644
--- a/coverage/htmlfiles/pyfile.html
+++ b/coverage/htmlfiles/pyfile.html
@@ -29,6 +29,7 @@ function toggle_lines(btn, cls) {
<span class='{{c_run.strip}}' onclick='toggle_lines(this, "run")'>{{n_run}} run</span>
<span class='{{c_exc.strip}}' onclick='toggle_lines(this, "exc")'>{{n_exc}} excluded</span>
<span class='{{c_mis.strip}}' onclick='toggle_lines(this, "mis")'>{{n_mis}} missing</span>
+ <span class='{{c_par.strip}}' onclick='toggle_lines(this, "par")'>{{n_par}} partial</span>
</h2>
</div>
</div>
diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css
index 34ab10e..b55e499 100644
--- a/coverage/htmlfiles/style.css
+++ b/coverage/htmlfiles/style.css
@@ -125,23 +125,27 @@ td.text {
background: #eeeeee;
border-left: 2px solid #808080;
}
+.text p.par {
+ background: #ffffdd;
+ border-left: 2px solid #ffff00;
+ }
.text p.hide {
background: inherit;
}
/* Syntax coloring */
.text .com {
- color: green;
- font-style: italic;
- line-height: 1px;
- }
+ color: green;
+ font-style: italic;
+ line-height: 1px;
+ }
.text .key {
- font-weight: bold;
- line-height: 1px;
- }
+ font-weight: bold;
+ line-height: 1px;
+ }
.text .str {
- color: #000080;
- }
+ color: #000080;
+ }
/* index styles */
#index td, #index th {