diff options
author | Guido Günther <agx@sigxcpu.org> | 2008-11-07 18:49:45 +0100 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-11-07 19:56:36 +0100 |
commit | 3b28bc894e71df060d2895f506ed1958e43d6110 (patch) | |
tree | 93d52d26048c8475d2e1735ed819f453b1882338 /templates | |
parent | ba08fae3fd0158fb41651d74f97916021ccfb172 (diff) |
add HTMLChangelog
Diffstat (limited to 'templates')
-rw-r--r-- | templates/block.html | 8 | ||||
-rw-r--r-- | templates/cl.html | 21 |
2 files changed, 29 insertions, 0 deletions
diff --git a/templates/block.html b/templates/block.html new file mode 100644 index 0000000..1e06b7d --- /dev/null +++ b/templates/block.html @@ -0,0 +1,8 @@ +<div xmlns="http://www.w3.org/1999/xhtml" + xmlns:py="http://genshi.edgewall.org/"> +<h3>${block.package} (${block._raw_version}) ${block.distributions}; urgency=${block.urgency}${block.urgency_comment}</h3> +<pre>${Markup(block.body)}</pre> +<p py:if="not block._no_trailer"> + -- ${block.author} ${block._trailer_separator} ${block.date} +</p> +</div> diff --git a/templates/cl.html b/templates/cl.html new file mode 100644 index 0000000..293862f --- /dev/null +++ b/templates/cl.html @@ -0,0 +1,21 @@ +<html xmlns="http://www.w3.org/1999/xhtml" + xmlns:py="http://genshi.edgewall.org/"> + <head> + <title>$title</title> + </head> + <body class="index"> + <div id="header"> + <h1>$title</h1> + </div> + + <py:for each="block in blocks"> + ${markup_block(block)} + </py:for> + + <div id="footer"> + <hr/> + <p>Genrated via <a href="/cl2vcs">cl2vcs</a> -- © 2008 Guido Günther <a href="mailto:agx@sigxcpu.org"><agx@sigxcpu.org></a></p> + </div> + </body> +</html> + |