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

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

Nesting forms can't be tested. They are causing a ParseError?.

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