view contrib/sawmill/web/templates/overview.html @ 486:283154e189d9

sawmill: Moved python blocks in templates to make them more readable.
author Sascha Teichmann <teichmann@intevation.de>
date Thu, 23 Sep 2010 09:59:06 +0000
parents a55a521b7a31
children
line wrap: on
line source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@include file="header.inc" %>

<div style="text-align: right">
  <a href="http://wald.intevation.de/">...to WALD source code repository</a>
</div>

<%
from cgi import escape
from xml.sax.saxutils import quoteattr

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
%>

<%@include file="footer.inc" %>
</html>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)