diff --git a/parse_session_stats.py b/parse_session_stats.py index 7ba16db0d..69910feaa 100755 --- a/parse_session_stats.py +++ b/parse_session_stats.py @@ -65,40 +65,46 @@ def gen_report(name, unit, lines, generation, log_file): def gen_html(reports, generations): file = open(os.path.join(output_dir, 'index.html'), 'w+') - print >>file, '', + + css = '''img { margin: 0} + #head { display: block } + h1 { line-height: 1; display: inline } + h2 { line-height: 1; display: inline; font-size: 1em; font-weight: normal};''' + + print >>file, '' % css for i in reports: - print >>file, '

%s

%s
' % (i[0], i[2]) + print >>file, '