Mercurial > treepkg > treepkg
view treepkg/web-status.html @ 78:9a602d8eaa60
initial revision of the subversion repository
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 24 Apr 2012 17:13:43 +0200 |
parents | 6c4a4b8d6729 |
children | 123e9a5f31fa |
line wrap: on
line source
<html xmlns:py="http://genshi.edgewall.org/"> <head> <title>Tree Packager Status</title> <style type="text/css"> .statustable { background:#F4F4F4; } .statustablehead { background:#E0E0E0; } .statusheading { font-weight:bold; } .finished { background:#C0FFC0; } .inprogress { background:#FFFFC0; } .error { background:#FFC0C0; } td { padding:5px; background:#FFFFFF} </style> </head> <body> <h1>Tree Packager Status</h1> <table class="statustable"> <tr> <th class="statustablehead">Revision</th> <py:for each="col in report.columns"> <th class="statustablehead">${col[1]}</th> </py:for> </tr> <py:for each="row in report.revisions"> <tr> <td>${row[0]}</td> <py:for each="col in row[1]"> <py:choose> <py:when test="col"> <td class="${col.status.cls}"> <span class="statusheading">${col.status.desc}</span><br/> Start: ${col.status.start}<br/> Stop: ${col.status.stop}<br/> <py:if test="col.revision.has_build_log"> <a href="${col.name}/${col.revno}/build_log.txt">build log</a> </py:if> </td> </py:when> <py:otherwise> <td></td> </py:otherwise> </py:choose> </py:for> </tr> </py:for> </table> <hr/> report generated at ${report.date}, powered by <a href="http://treepkg.wald.intevation.org/">Tree Packager</a> </body> </html>