Last change
on this file since 11110 was
7467,
checked in by Henrik Bettermann, 13 years ago
|
Page titles are deprecated. We only have labels.
|
File size:
1.1 KB
|
Line | |
---|
1 | <form method="POST"> |
---|
2 | <p> |
---|
3 | The following batches are available: |
---|
4 | </p> |
---|
5 | |
---|
6 | <table> |
---|
7 | <thead> |
---|
8 | <tr> |
---|
9 | <th> </th> |
---|
10 | <th>Prefix</th><th>Entries/(invalidated)</th><th>Cost</th> |
---|
11 | <th>Created</th><th>Creator</th> |
---|
12 | </tr> |
---|
13 | </thead> |
---|
14 | <tbody> |
---|
15 | <tr tal:repeat="batch context/values"> |
---|
16 | <td> |
---|
17 | <input type="checkbox" name="batches" value="batch/prefix" |
---|
18 | tal:attributes="value batch/__name__" /> |
---|
19 | </td> |
---|
20 | <td> |
---|
21 | <span tal:replace="batch/prefix">APP</span> |
---|
22 | - |
---|
23 | <span tal:replace="batch/num">10</span> |
---|
24 | </td> |
---|
25 | <td> |
---|
26 | <span tal:replace="batch/entry_num">1012</span> |
---|
27 | / |
---|
28 | <span tal:replace="batch/used_num">512</span> |
---|
29 | </td> |
---|
30 | <td tal:content="batch/cost">12.12</td> |
---|
31 | <td tal:content="python: batch.creation_date.strftime('%Y-%m-%d %H:%M:%S')"> |
---|
32 | 2011-11-22 18:04:55 |
---|
33 | </td> |
---|
34 | <td tal:content="batch/creator">some user</td> |
---|
35 | </tr> |
---|
36 | <tr tal:condition="not: context/values"> |
---|
37 | <td colspan="5"><b>No batches yet</b></td> |
---|
38 | </tr> |
---|
39 | </tbody> |
---|
40 | </table> |
---|
41 | <input type="submit" class="btn" name="archive" value="Archive" /> |
---|
42 | <input type="submit" class="btn" name="delete" value="Archive and Delete" /> |
---|
43 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.