annotate web/status-by-revision.html @ 329:e749fe36ece3

Revisions are now handled as strings
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 17 Mar 2010 14:29:22 +0000
parents 9d8de2984de1
children
rev   line source
151
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
1 <html xmlns:py="http://genshi.edgewall.org/">
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
2 <head>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
3 <title>Tree Packager Status</title>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
4 <style type="text/css">
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
5 .statustable { background:#F4F4F4; }
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
6 .statustablehead { background:#E0E0E0; }
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
7 .statusheading { font-weight:bold; }
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
8 .finished { background:#C0FFC0; }
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
9 .inprogress { background:#FFFFC0; }
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
10 .error { background:#FFC0C0; }
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
11 td { padding:5px; background:#FFFFFF}
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
12 </style>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
13 </head>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
14 <body>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
15 <h1>Tree Packager Status</h1>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
16
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
17 <table class="statustable">
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
18 <tr>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
19 <th class="statustablehead">Revision</th>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
20 <py:for each="track in report.revisions.tracks">
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
21 <th class="statustablehead">${track.name}</th>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
22 </py:for>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
23 </tr>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
24
288
9d8de2984de1 Make the web status templates work with newer versions of genshi, like
Bernhard Herzog <bh@intevation.de>
parents: 244
diff changeset
25 <py:for each="row in report.revisions.sorted_by_revision()">
151
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
26 <tr>
244
a05cbf80dec9 Report the revision correctly
Bernhard Herzog <bh@intevation.de>
parents: 240
diff changeset
27 <td>${row[0][0]}</td>
151
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
28 <py:for each="col in row[1]">
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
29 <py:choose>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
30 <py:when test="col">
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
31 <td class="${col.status.cls}">
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
32 <span class="statusheading">${col.status.desc}</span><br/>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
33 Start: ${col.status.start}<br/>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
34 Stop: ${col.status.stop}<br/>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
35 <py:for each="title, basename in col.log_files">
240
58cf7e6b7cca Add the rules revision number to the filenames referenced by
Bernhard Herzog <bh@intevation.de>
parents: 151
diff changeset
36 <a href="${col.name}/${col.revno}-${col.rulesrev}/${basename}">${title}</a>
151
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
37 <br/>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
38 </py:for>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
39 </td>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
40 </py:when>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
41 <py:otherwise>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
42 <td></td>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
43 </py:otherwise>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
44 </py:choose>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
45 </py:for>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
46
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
47 </tr>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
48 </py:for>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
49 </table>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
50
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
51 <hr/>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
52 report generated at ${report.date},
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
53 powered by <a href="http://treepkg.wald.intevation.org/">Tree Packager</a>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
54
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
55 </body>
77d7f2cbd7ce Actually commit the web/status-by-revision.html
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
56 </html>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)