# HG changeset patch # User Steve Losh # Date 1255479197 14400 # Node ID 7b4e78679c9d88e0a9b4b459763470238f0e32ab # Parent 73284798e9e96a85c9e21f65efc4be0a3e341db6 Add some basic styles so I don't hate looking at this thing. diff -r 73284798e9e9 -r 7b4e78679c9d review/web_media/style.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/review/web_media/style.css Tue Oct 13 20:13:17 2009 -0400 @@ -0,0 +1,13 @@ +/* Basic layout and typography. */ +div#main-wrap { + width: 40em; + margin: 3em auto; +} + +/* Tables. */ +table { + width: 100%; +} +table tr.odd { + background: #eee; +} \ No newline at end of file diff -r 73284798e9e9 -r 7b4e78679c9d review/web_templates/index.html --- a/review/web_templates/index.html Tue Oct 13 20:06:47 2009 -0400 +++ b/review/web_templates/index.html Tue Oct 13 20:13:17 2009 -0400 @@ -6,23 +6,26 @@ ${ basename(rd.target.root) } / hg-review + -

${ basename(rd.target.root) }

- -

Changesets

- - $for ctx in revs: - $ ctx_node = ctx.node() - $ ctx_comments = rd[ctx_node].comments - $ ctx_signoffs = rd[ctx_node].signoffs - - - - - -
${ ctx.rev() }:${ node_short(ctx_node) }${ ctx.description() }${ len(ctx_comments) } comments, - ${ len(ctx_signoffs) } signoffs
+
+

${ basename(rd.target.root) }

+ +

Changesets

+ + $for ctx in revs: + $ ctx_node = ctx.node() + $ ctx_comments = rd[ctx_node].comments + $ ctx_signoffs = rd[ctx_node].signoffs + + + + + +
${ ctx.rev() }:${ node_short(ctx_node) }${ ctx.description() }${ len(ctx_comments) } comments, + ${ len(ctx_signoffs) } signoffs
+
\ No newline at end of file