OK got the width right. Still no red colour though.

This commit is contained in:
Philip Sargent 2018-02-17 20:38:12 +00:00
parent 21d34c3215
commit 5f27c0947c

View File

@ -49,10 +49,10 @@ for r in lines[1:]:
else:
output += '<td></td>'
# print number of expos, non-caving in red. Only print numbers > 0
output += '<td style="text-align: right; width:35px; font-size:72%">'
output += '<td style="text-align: right; width:36px; font-size:85%">'
if(expos_notcaving):
if(expos_caving):
output += '%d + <span class="didntcave">%d</span>' % (expos_caving, expos_notcaving)
output += '%d+<span class="didntcave">%d</span>' % (expos_caving, expos_notcaving)
else:
output += '<span class="didntcave">%d</span>' % expos_notcaving
else: