diff 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 diff
--- a/contrib/sawmill/web/templates/overview.html	Thu Sep 23 08:29:27 2010 +0000
+++ b/contrib/sawmill/web/templates/overview.html	Thu Sep 23 09:59:06 2010 +0000
@@ -1,9 +1,5 @@
 <!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" %>
 
@@ -12,6 +8,9 @@
 </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
 %>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)