diff options
author | Guido Günther <agx@sigxcpu.org> | 2010-07-29 17:49:28 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-07-29 17:49:28 +0200 |
commit | 8ee47f3051830d308870b4cc8414768310b49153 (patch) | |
tree | 8e6aec92c1cd0e456c4c456547dd78ea68b90e36 | |
parent | d2533637e3d98f50d0c85a83df7f227abd0ecb2e (diff) |
Add form to the changelog side too
-rw-r--r-- | templates/cl.html | 8 | ||||
-rw-r--r-- | templates/form.html | 7 | ||||
-rw-r--r-- | templates/index.html | 12 |
3 files changed, 17 insertions, 10 deletions
diff --git a/templates/cl.html b/templates/cl.html index f41251e..2633a6b 100644 --- a/templates/cl.html +++ b/templates/cl.html @@ -1,9 +1,13 @@ <html xmlns="http://www.w3.org/1999/xhtml" - xmlns:py="http://genshi.edgewall.org/"> + xmlns:py="http://genshi.edgewall.org/" + xmlns:xi="http://www.w3.org/2001/XInclude"> <head> <title>$title</title> </head> <body class="index"> + + <xi:include href="form.html" /> + <div id="header"> <h1>$title</h1> </div> @@ -14,7 +18,7 @@ <div id="footer"> <hr/> - <p>Generated via <a href="/cl2vcs">cl2vcs</a> -- © 2008,2009 Guido Günther <a href="mailto:agx@sigxcpu.org"><agx@sigxcpu.org></a></p> + <p>Generated via <a href="/cl2vcs">cl2vcs</a> -- © 2008,2009,2010 Guido Günther <a href="mailto:agx@sigxcpu.org"><agx@sigxcpu.org></a></p> </div> </body> </html> diff --git a/templates/form.html b/templates/form.html new file mode 100644 index 0000000..658ac50 --- /dev/null +++ b/templates/form.html @@ -0,0 +1,7 @@ + <form action="/cl2vcs/tmp/index.cgi" method="get"> + <p> + <label for="pkg">Source Package:</label> + <input type="text" name="pkg" id="pkg"/> + <input type="submit" value="cl2vcs"/> + </p> + </form> diff --git a/templates/index.html b/templates/index.html index 42522c1..b55f06c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,16 +1,12 @@ <html xmlns="http://www.w3.org/1999/xhtml" - xmlns:py="http://genshi.edgewall.org/"> + xmlns:py="http://genshi.edgewall.org/" + xmlns:xi="http://www.w3.org/2001/XInclude"> <head> <title>$title</title> </head> <body class="index"> - <form action="/cl2vcs/index.cgi" method="get"> - <p> - <label for="pkg">Source Package:</label> - <input type="text" name="pkg" id="pkg"/> - <input type="submit" value="cl2vcs"/> - </p> - </form> + + <xi:include href="form.html" /> <div py:if="err"> <em>${err}</em> |