source: main/waeup.sirp/branches/ulif-experimental-folders/src/waeup/sirp/accesscodes/browser_templates/batchcontainer.pt @ 9819

Last change on this file since 9819 was 5154, checked in by uli, 15 years ago

Clean up template.

File size: 1.2 KB
Line 
1<h2>Manage Access-Code Batches</h2>
2
3<form method="POST">
4  <p>
5    The following batches are available:
6  </p>
7
8  <table>
9    <thead>
10      <tr>
11        <th>&nbsp;</th>
12        <th>Prefix</th><th>Entries/(invalidated)</th><th>Cost</th>
13        <th>Created</th><th>Creator</th>
14      </tr>
15    </thead>
16    <tbody>
17      <tr tal:repeat="batch context/values"
18          tal:attributes="class python: repeat['batch'].odd() and 'even' or 'odd'">
19        <td>
20          <input type="checkbox" name="batches" value="batch/prefix"
21                 tal:attributes="value batch/__name__" />
22        </td>
23        <td>
24          <span tal:replace="batch/prefix">APP</span>
25          -
26          <span tal:replace="batch/num">10</span>
27        </td>
28        <td>
29          <span tal:replace="batch/entry_num">1012</span>
30          /
31          <span tal:replace="batch/invalidated_num">512</span>
32        </td>
33        <td tal:content="batch/cost">12.12</td>
34        <td tal:content="python: batch.creation_date.ctime()">2009/12/24</td>
35        <td tal:content="batch/creator">some user</td>
36      </tr>
37      <tr tal:condition="not: context/values">
38        <td colspan="5"><b>No batches yet</b></td>
39      </tr>
40    </tbody>
41  </table>
42  <input type="submit" name="archive" value="Archive" />
43  <input type="submit" name="delete" value="Archive and Delete" />
44
45</form>
Note: See TracBrowser for help on using the repository browser.