- Timestamp:
- 25 Nov 2011, 13:35:24 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/batchcontainer.pt
r6427 r7198 10 10 <tr> 11 11 <th> </th> 12 13 12 <th>Prefix</th><th>Entries/(invalidated)</th><th>Cost</th> 13 <th>Created</th><th>Creator</th> 14 14 </tr> 15 15 </thead> 16 16 <tbody> 17 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/used_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> 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/used_num">512</span> 32 </td> 33 <td tal:content="batch/cost">12.12</td> 34 <td tal:content="python: batch.creation_date.strftime('%Y-%m-%d %H:%M:%S')"> 35 2011-11-22 18:04:55 36 </td> 37 <td tal:content="batch/creator">some user</td> 36 38 </tr> 37 39 <tr tal:condition="not: context/values"> 38 40 <td colspan="5"><b>No batches yet</b></td> 39 41 </tr> 40 42 </tbody> -
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/reimportbatchpage.pt
r6452 r7198 9 9 <tr> 10 10 <th> </th> 11 11 <th>File</th> 12 12 </tr> 13 13 </thead> 14 14 <tbody> 15 15 <tr tal:repeat="filename context/getImportFiles" 16 17 18 19 20 21 16 tal:attributes="class python: repeat['filename'].odd() and 'even' or 'odd'"> 17 <td> 18 <input type="checkbox" name="filenames" value="filename" 19 tal:attributes="value filename" /> 20 </td> 21 <td tal:content="filename">file.name</td> 22 22 </tr> 23 23 <tr tal:condition="python: len(list(context.getImportFiles())) == 0"> 24 24 <td colspan="5"><b>No import batches available</b></td> 25 25 </tr> 26 26 </tbody> -
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/searchpage.pt
r6928 r7198 23 23 <table class="display dataTableManage"> 24 24 <thead> 25 26 27 25 <tr> 26 <th> </th> 27 <th width="50px">Serial</th> 28 28 <th>AC</th> 29 29 <th>State</th> 30 30 <th>Owner</th> 31 31 <th>History</th> 32 32 </tr> 33 33 </thead> 34 34 <tbody> 35 36 37 38 39 40 35 <tr tal:repeat="item view/hitlist"> 36 <td><input type="checkbox" name="entries" 37 tal:attributes="value item/code" /></td> 38 <td tal:content="item/batch_serial">1</td> 39 <td tal:content="item/code">APP-1-1234567890</td> 40 <td tal:content="item/state">unused</td> 41 41 <td tal:content="item/owner">Id</td> 42 42 <td tal:content="structure python:item.history.replace('||','<br />')"> 43 43 history 44 44 </td> 45 45 </tr> 46 46 </tbody> 47 47 </table>
Note: See TracChangeset for help on using the changeset viewer.