view treepkg/web-status.html @ 62:b076e3895482

add the report time stamp to the web status
author Bernhard Herzog <bh@intevation.de>
date Tue, 10 Apr 2007 20:15:15 +0200
parents 467013d9d627
children 6c4a4b8d6729
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">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}

  </body>
</html>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)