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

Last change on this file since 11254 was 11254, checked in by uli, 11 years ago

Merge changes from uli-diazo-themed back into trunk. If this works, then a miracle happened.

File size: 1.7 KB
Line 
1<table i18n:domain="waeup.kofa" class="table">
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 btn-sm btn-primary"
34                 name="DOWNLOAD" value="Download"
35                 tal:condition="python: entry[4]" />
36          <input type="submit" class="btn btn-sm btn-default"
37                 name="DISCARD" value="Discard"
38                 tal:condition="python: entry[3]" />
39          <a href="" class="btn btn-sm btn-default" i18n:translate=""
40             tal:condition="python: entry[5]">
41            <img src="/static/img/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  <a tal:attributes="href python:view.url(context, 'create')"
51     class="btn btn-primary" i18n:translate="">
52    Create new report
53  </a>
54</form>
Note: See TracBrowser for help on using the repository browser.