source: main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/browser_templates/batchcontainer.pt

Last change on this file 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.6 KB
RevLine 
[7811]1<form i18n:domain="waeup.kofa" method="POST">
[7719]2  <p i18n:translate="">
[5154]3    The following batches are available:
4  </p>
[11254]5  <table class="table">
[5118]6    <thead>
7      <tr>
8        <th>&nbsp;</th>
[7719]9        <th i18n:translate="">Prefix</th>
[9267]10        <th i18n:translate="">Entries</th>
11        <th i18n:translate="">Used</th>
12        <th i18n:translate="">Disabled</th>
[7719]13        <th i18n:translate="">Cost</th>
14        <th i18n:translate="">Date of Creation</th>
15        <th i18n:translate="">Creator</th>
[5118]16      </tr>
17    </thead>
18    <tbody>
[9245]19  <tr tal:repeat="batch context/values">
[7198]20  <td>
21    <input type="checkbox" name="batches" value="batch/prefix"
[9245]22     tal:attributes="value batch/__name__"
23     tal:condition="batch/num" />
[7198]24  </td>
25  <td>
26    <span tal:replace="batch/prefix">APP</span>
27    -
28    <span tal:replace="batch/num">10</span>
29  </td>
30  <td>
31    <span tal:replace="batch/entry_num">1012</span>
[9267]32  </td>
33  <td>
[7198]34    <span tal:replace="batch/used_num">512</span>
35  </td>
[9267]36  <td>
37    <span tal:replace="batch/disabled_num">112</span>
38  </td>
[7198]39  <td tal:content="batch/cost">12.12</td>
40  <td tal:content="python: batch.creation_date.strftime('%Y-%m-%d %H:%M:%S')">
41      2011-11-22 18:04:55
42  </td>
[7719]43  <td tal:content="batch/creator">SOMEUSER</td>
[5118]44      </tr>
45      <tr tal:condition="not: context/values">
[7719]46      <td colspan="5"><b i18n:translate="">No batches yet</b></td>
[5118]47      </tr>
48    </tbody>
49  </table>
[11254]50  <input type="submit" class="btn btn-default" name="archive"
[7719]51      tal:attributes="value view/archive_button" />
[11254]52  <input type="submit" class="btn btn-default" name="delete"
[7719]53       tal:attributes="value view/delete_button" />
[5118]54</form>
Note: See TracBrowser for help on using the repository browser.