Mercurial > treepkg
comparison web/status-by-revision.html @ 151:77d7f2cbd7ce
Actually commit the web/status-by-revision.html
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Mon, 09 Jun 2008 10:51:56 +0000 |
parents | |
children | 58cf7e6b7cca |
comparison
equal
deleted
inserted
replaced
150:879a7e391867 | 151:77d7f2cbd7ce |
---|---|
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 td { padding:5px; background:#FFFFFF} | |
12 </style> | |
13 </head> | |
14 <body> | |
15 <h1>Tree Packager Status</h1> | |
16 | |
17 <table class="statustable"> | |
18 <tr> | |
19 <th class="statustablehead">Revision</th> | |
20 <py:for each="track in report.revisions.tracks"> | |
21 <th class="statustablehead">${track.name}</th> | |
22 </py:for> | |
23 </tr> | |
24 | |
25 <py:for each="row in report.revisions.sorted_by_revision"> | |
26 <tr> | |
27 <td>${row[0]}</td> | |
28 <py:for each="col in row[1]"> | |
29 <py:choose> | |
30 <py:when test="col"> | |
31 <td class="${col.status.cls}"> | |
32 <span class="statusheading">${col.status.desc}</span><br/> | |
33 Start: ${col.status.start}<br/> | |
34 Stop: ${col.status.stop}<br/> | |
35 <py:for each="title, basename in col.log_files"> | |
36 <a href="${col.name}/${col.revno}/${basename}">${title}</a> | |
37 <br/> | |
38 </py:for> | |
39 </td> | |
40 </py:when> | |
41 <py:otherwise> | |
42 <td></td> | |
43 </py:otherwise> | |
44 </py:choose> | |
45 </py:for> | |
46 | |
47 </tr> | |
48 </py:for> | |
49 </table> | |
50 | |
51 <hr/> | |
52 report generated at ${report.date}, | |
53 powered by <a href="http://treepkg.wald.intevation.org/">Tree Packager</a> | |
54 | |
55 </body> | |
56 </html> |