CSS: Vertical align 'top' for tags table.

master
Heikki Hokkanen 2009-12-24 10:46:38 +02:00
parent 0f2064ca2a
commit 2d596426f7
2 changed files with 5 additions and 1 deletions

View File

@ -827,7 +827,7 @@ class HTMLReportCreator(ReportCreator):
f.write('<dt>Average commits per tag</dt><dd>%.2f</dd>' % (1.0 * data.getTotalCommits() / len(data.tags)))
f.write('</dl>')
f.write('<table>')
f.write('<table class="tags">')
f.write('<tr><th>Name</th><th>Date</th><th>Commits</th><th>Authors</th></tr>')
# sort the tags by date desc
tags_sorted_by_date_desc = map(lambda el : el[1], reversed(sorted(map(lambda el : (el[1]['date'], el[0]), data.tags.items()))))

View File

@ -41,6 +41,10 @@ table.noborders td {
clear: both;
}
table.tags td {
vertical-align: top;
}
th {
background-color: #ddf;
}