diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-11-26 11:53:54 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-11-26 11:53:54 -0500 |
commit | 954dbf013c4b04779437cb5ce62e53f3ee664235 (patch) | |
tree | f71c3276aac37735bd27abecdec27e9a6b3a649e /coverage/htmlfiles/pyfile.html | |
parent | 51678eccf354b434012e753161834418c61a01a3 (diff) | |
download | python-coveragepy-git-nedbat/no-select.tar.gz |
Use a table. Almost works. Extra blank lines with annotationsnedbat/no-select
Diffstat (limited to 'coverage/htmlfiles/pyfile.html')
-rw-r--r-- | coverage/htmlfiles/pyfile.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index e19853d1..426ecc07 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -68,11 +68,12 @@ </div> <div id="source"> + <table> {% for line in lines -%} {% joined %} - <div id="t{{line.number}}" class="p {{line.css_class}}"> + <tr><td id="t{{line.number}}" class="p {{line.css_class}}"> <span class="n"><a href="#t{{line.number}}">{{line.number}}</a></span> - <span class="t">{{line.html}}</span><span class="x"> </span> + <span class="t">{{line.html}}</span> {% if line.context_list %} <input type="checkbox" id="ctxs{{line.number}}" /> {% endif %} @@ -94,9 +95,10 @@ {% endfor %} </span> {% endif %} - </div> {% endjoined %} +</td></tr> {% endfor %} + </table> </div> <div id="footer"> |