source: main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/accesscodes/browser_templates/batchcontainer.pt @ 10807

Last change on this file since 10807 was 7447, checked in by Henrik Bettermann, 13 years ago

Backup

File size: 1.2 KB
Line 
1<h2>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  <td>
19    <input type="checkbox" name="batches" value="batch/prefix"
20     tal:attributes="value batch/__name__" />
21  </td>
22  <td>
23    <span tal:replace="batch/prefix">APP</span>
24    -
25    <span tal:replace="batch/num">10</span>
26  </td>
27  <td>
28    <span tal:replace="batch/entry_num">1012</span>
29    /
30    <span tal:replace="batch/used_num">512</span>
31  </td>
32  <td tal:content="batch/cost">12.12</td>
33  <td tal:content="python: batch.creation_date.strftime('%Y-%m-%d %H:%M:%S')">
34      2011-11-22 18:04:55
35  </td>
36  <td tal:content="batch/creator">some user</td>
37      </tr>
38      <tr tal:condition="not: context/values">
39  <td colspan="5"><b>No batches yet</b></td>
40      </tr>
41    </tbody>
42  </table>
43  <input type="submit" class="btn" name="archive" value="Archive" />
44  <input type="submit" class="btn" name="delete" value="Archive and Delete" />
45</form>
Note: See TracBrowser for help on using the repository browser.