# HG changeset patch # User Matt Mackall # Date 1182789005 18000 # Node ID bc63247c66e92df8609f9f8aec1edf7385a7e364 # Parent 18e91c9def0c1de9ca709a2ec3c60ada6ffd9e3f hgweb: improve shortlog formatting shorten author with |person don't shrink font (default font is presumed to be preferred reading size) set widths based on font ems rather than page percents. diff --git a/templates/shortlogentry.tmpl b/templates/shortlogentry.tmpl --- a/templates/shortlogentry.tmpl +++ b/templates/shortlogentry.tmpl @@ -1,7 +1,7 @@ - +
#date|age##author|obfuscate##author|person# #desc|strip|firstline|escape#
diff --git a/templates/static/style.css b/templates/static/style.css --- a/templates/static/style.css +++ b/templates/static/style.css @@ -58,10 +58,10 @@ pre { margin: 0; } .logEntry th.firstline { text-align: left; width: inherit; } /* Shortlog entries */ -.slogEntry { width: 100%; font-size: smaller; } -.slogEntry .age { width: 7%; } +.slogEntry { width: 100%; } +.slogEntry .age { width: 8em; } .slogEntry td { font-weight: normal; text-align: left; vertical-align: top; } -.slogEntry td.author { width: 35%; } +.slogEntry td.author { width: 15em; } /* Tag entries */ #tagEntries { list-style: none; margin: 0; padding: 0; }