home
·
contact
·
privacy
projects
/
berlin-corona-table
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d9232
)
Highlight week structure in HTML output.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 19:25:17 +0000
(21:25 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 19:25:17 +0000
(21:25 +0200)
enhance_table.py
patch
|
blob
|
history
diff --git
a/enhance_table.py
b/enhance_table.py
index bdf91e1654a28be8d6c33445362f2cd0aadf7a3f..8ac4fac55e7ac46b78d3a4f7b7abfd129b808e27 100755
(executable)
--- a/
enhance_table.py
+++ b/
enhance_table.py
@@
-134,6
+134,7
@@
if output_type == 'html':
print('<html>')
print('<style>')
print('table, tr, th, td { border: 1px solid black; }')
+ print('tr:nth-child(7n+2) td { background-color: yellow; }')
print('</style>')
print('<table>')
print('<tr>')