comparison web/status-by-startdate.html @ 153:e5f3f61c0620

New alternative template for the status page. This one sorts by start-date instead of revision number
author Bernhard Herzog <bh@intevation.de>
date Mon, 09 Jun 2008 16:34:23 +0000
parents
children 99be67db8a12
comparison
equal deleted inserted replaced
152:4adcb15cbdfb 153:e5f3f61c0620
1 <html xmlns:py="http://genshi.edgewall.org/">
2 <head>
3 <title>Tree Packager Status</title>
4 <style type="text/css">
5 .statustable { background:#F4F4F4; }
6 .statustablehead { background:#E0E0E0; }
7 .statusheading { font-weight:bold; }
8 .finished { background:#C0FFC0; }
9 .inprogress { background:#FFFFC0; }
10 .error { background:#FFC0C0; }
11 .date_row {
12 background:#F0F0F0;
13 font-weight:bold; font-size:smaller;
14 text-align:center;
15 }
16 tr { background:#FFFFFF; }
17 td { padding:5px; }
18 </style>
19 </head>
20 <body>
21 <h1>Tree Packager Status</h1>
22
23 <table class="statustable">
24 <tr>
25 <th class="statustablehead">Status</th>
26 <th class="statustablehead">Package</th>
27 <th class="statustablehead">Revision</th>
28 <th class="statustablehead">Start</th>
29 <th class="statustablehead">Stop</th>
30 <th class="statustablehead">Notes</th>
31 </tr>
32
33 <py:for each="row in report.revisions.sorted_by_startdate">
34 <py:with vars="item=row[1]">
35 <py:if test="item.new_date">
36 <tr class="date_row"><td colspan="6">${item.new_date}</td></tr>
37 </py:if>
38 <tr class="${item.status.cls}">
39 <td>${item.status.desc}</td>
40 <td style="font-weight:bold;">${item.name}</td>
41 <td align="right">${item.revno}</td>
42 <td>${item.status.start}</td>
43 <td>${item.status.stop}</td>
44 <td>
45 <py:for each="title, basename in item.log_files">
46 <a href="${item.name}/${item.revno}/${basename}">${title}</a>
47 </py:for>
48 </td>
49 </tr>
50 </py:with>
51 </py:for>
52 </table>
53
54 <hr/>
55 report generated at ${report.date},
56 powered by <a href="http://treepkg.wald.intevation.org/">Tree Packager</a>
57
58 </body>
59 </html>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)