source: main/waeup.kofa/branches/0.2/src/waeup/kofa/browser/templates/reportscontainerpage.pt @ 10888

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

More button adjustments.

File size: 1.7 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 small primary"
34                 name="DOWNLOAD" value="Download"
35                 tal:condition="python: entry[4]" />
36          <input type="submit" class="btn small secondary"
37                 name="DISCARD" value="Discard"
38                 tal:condition="python: entry[3]" />
39          <a href="" class="btn" i18n:translate=""
40             tal:condition="python: entry[5]">
41            <img tal:attributes="src static/actionicon_reload.png" />
42            Reload
43          </a>
44        </form>
45      </td>
46    </tr>
47  </tbody>
48</table>
49<form method="POST" i18n:domain="waeup.kofa">
50  <div class="span12">
51    <a href="create" class="btn primary" i18n:translate="">
52      Create new report
53    </a>
54  </div>
55</form>
Note: See TracBrowser for help on using the repository browser.