view contrib/sawmill/web/templates/overview.html @ 484:2e947f508553

sawmill: Improved HTML 4.01 transitional compat a bit. Reduce text output of inner loop to reduce overall output size of detail page.
author Sascha Teichmann <teichmann@intevation.de>
date Sat, 18 Sep 2010 10:15:45 +0000
parents 28aa6ac933fb
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>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)