Browse Source

add zebra striping to exe size report

pull/1/head
Sami Vaarala 11 years ago
parent
commit
fb96af51b1
  1. 10
      src/genexesizereport.py

10
src/genexesizereport.py

@ -105,6 +105,16 @@ def main():
f.write('<html>') f.write('<html>')
f.write('<head>') f.write('<head>')
f.write('<title>Size dump for %s</title>' % sys.argv[1]) f.write('<title>Size dump for %s</title>' % sys.argv[1])
f.write("""\
<style type="text/css">
tr:nth-child(2n) {
background: #eeeeee;
}
tr:nth-child(2n+1) {
background: #dddddd;
}
</style>
""")
f.write('</head>') f.write('</head>')
f.write('<body>') f.write('<body>')

Loading…
Cancel
Save