review/web_templates/index.html @ 73284798e9e9 webui
More infrastructure for the web UI.
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Tue, 13 Oct 2009 20:06:47 -0400 |
| parents | 22906da596df |
| children | 7b4e78679c9d |
$def with (rd, revs) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>${ basename(rd.target.root) } / hg-review</title> <link rel="stylesheet" href="/media/aal.css" type="text/css" media="screen" /> </head> <body> <h1>${ basename(rd.target.root) }</h1> <h2>Changesets</h2> <table> $for ctx in revs: $ ctx_node = ctx.node() $ ctx_comments = rd[ctx_node].comments $ ctx_signoffs = rd[ctx_node].signoffs <tr> <td>${ ctx.rev() }:${ node_short(ctx_node) }</td> <td>${ ctx.description() }</td> <td>${ len(ctx_comments) } comments, ${ len(ctx_signoffs) } signoffs</td> </tr> </table> </body> </html>