Mercurial > treepkg
view contrib/sawmill/web/templates/overview.html @ 483:28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
template include files.
author | Sascha Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 18 Sep 2010 09:46:22 +0000 |
parents | 7504ed4437e1 |
children | a55a521b7a31 |
line wrap: on
line source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <% from cgi import escape from xml.sax.saxutils import quoteattr %> <html> <%@include file="header.inc" %> <td valign="top" width="99%" bgcolor="white"> <div style="text-align: right"> <a href="http://wald.intevation.de/">...to WALD source code repository</a> </div> <% for treepkg, description in sorted(descriptions, key=lambda x: x[1]): # for all descriptions %> <div style="magin:5px;border-bottom:1px solid #DDDDDD;padding:5px;font-weight:bold; font-size: 16pt"> <a href=<%= quoteattr("details.py?treepkg=%s" % treepkg) %>><%= escape(description) %></a> </div> <% # for all descriptions %> </td> <%@include file="footer.inc" %> </html>