diff contrib/sawmill/web/templates/details.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 a0d19e20fb89
line wrap: on
line diff
--- a/contrib/sawmill/web/templates/details.html	Thu Sep 23 08:29:27 2010 +0000
+++ b/contrib/sawmill/web/templates/details.html	Thu Sep 23 09:59:06 2010 +0000
@@ -1,5 +1,21 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<%@include file="header.inc" %>
+
+<div class="css_prison">
+<h1><%= escape(description) %></h1>
+<%= header %>
+<table class="statustable">
+<tr>
+  <th class="statustablehead">Status</th>
+  <th class="statustablehead">Package</th>
+  <th class="statustablehead">Revision</th>
+  <th class="statustablehead">Start</th>
+  <th class="statustablehead">Stop</th>
+  <th class="statustablehead">Duration</th>
+  <th class="statustablehead">Notes</th>
+</tr>
 <%
 from cgi import escape
 from xml.sax.saxutils import quoteattr
@@ -65,24 +81,7 @@
     'source_package_created':  'preparing build envrionment',
     'binary_package_created':  'success'
 }
-%>
-<html>
-<%@include file="header.inc" %>
 
-<div class="css_prison">
-<h1><%= escape(description) %></h1>
-<%= header %>
-<table class="statustable">
-<tr>
-  <th class="statustablehead">Status</th>
-  <th class="statustablehead">Package</th>
-  <th class="statustablehead">Revision</th>
-  <th class="statustablehead">Start</th>
-  <th class="statustablehead">Stop</th>
-  <th class="statustablehead">Duration</th>
-  <th class="statustablehead">Notes</th>
-</tr>
-<%
 for track_item in track_items:
     # for all track items
     curr_date = date_from_datetime(track_item.build_start)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)