source: main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/reportscontainerpage.pt @ 9641

Last change on this file since 9641 was 9641, checked in by Henrik Bettermann, 12 years ago

Rework pagetemplates.

File size: 1.2 KB
Line 
1<form method="POST" i18n:domain="waeup.kofa">
2  <table>
3  <thead>
4        <tr>
5          <th i18n:translate="">Report Number</th>
6    <th i18n:translate="">Description</th>
7    <th i18n:translate="">Status</th>
8    <th>&nbsp;</th>
9        </tr>
10  </thead>
11    <tbody>
12      <tr tal:repeat="entry view/entries">
13        <td>
14          <span tal:replace="python: entry[0]">12</span>
15        </td>
16        <td>
17          <span tal:replace="python: entry[1]">REPORT DESCRIPTION</span>
18        </td>
19        <td>
20          <span tal:replace="python: entry[2]">STATUS</span>
21        </td>
22        <td>
23          <form method="POST">
24          <input type="hidden" name="job_id"
25                 tal:attributes="value python: entry[0]" />
26          <input type="submit" class="btn secondary"
27                 name="DISCARD" value="Discard"
28                 tal:condition="python: entry[3]" />
29          <input type="submit" class="btn primary"
30                 name="DOWNLOAD" value="Download"
31                 tal:condition="python: entry[4]" />
32          </form>
33        </td>
34        <td>
35        </td>
36      </tr>
37    </tbody>
38  </table>
39
40  <div class="span12">
41    <a href="" class="btn primary">Reload page</a>
42    <a href="create" class="btn secondary">Create new report</a>
43  </div>
44</form>
Note: See TracBrowser for help on using the repository browser.