- Timestamp:
- 4 Feb 2014, 06:27:18 (11 years ago)
- Location:
- main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/accesscodes/browser_templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/accesscodes/browser_templates/batchcontainer.pt
r11009 r11040 3 3 The following batches are available: 4 4 </p> 5 <div class="table-responsive"> 6 <table class="table"> 7 <thead> 8 <tr> 9 <th> </th> 10 <th i18n:translate="">Prefix</th> 11 <th i18n:translate="">Entries</th> 12 <th i18n:translate="">Used</th> 13 <th i18n:translate="">Disabled</th> 14 <th i18n:translate="">Cost</th> 15 <th i18n:translate="">Date of Creation</th> 16 <th i18n:translate="">Creator</th> 17 </tr> 18 </thead> 19 <tbody> 20 <tr tal:repeat="batch context/values"> 21 <td> 22 <input type="checkbox" name="batches" value="batch/prefix" 23 tal:attributes="value batch/__name__" 24 tal:condition="batch/num" /> 25 </td> 26 <td> 27 <span tal:replace="batch/prefix">APP</span> 28 - 29 <span tal:replace="batch/num">10</span> 30 </td> 31 <td> 32 <span tal:replace="batch/entry_num">1012</span> 33 </td> 34 <td> 35 <span tal:replace="batch/used_num">512</span> 36 </td> 37 <td> 38 <span tal:replace="batch/disabled_num">112</span> 39 </td> 40 <td tal:content="batch/cost">12.12</td> 41 <td tal:content="python: batch.creation_date.strftime('%Y-%m-%d %H:%M:%S')"> 42 2011-11-22 18:04:55 43 </td> 44 <td tal:content="batch/creator">SOMEUSER</td> 45 </tr> 46 <tr tal:condition="not: context/values"> 47 <td colspan="5"><b i18n:translate="">No batches yet</b></td> 48 </tr> 49 </tbody> 50 </table> 51 </div> 5 <table class="table"> 6 <thead> 7 <tr> 8 <th> </th> 9 <th i18n:translate="">Prefix</th> 10 <th i18n:translate="">Entries</th> 11 <th i18n:translate="">Used</th> 12 <th i18n:translate="">Disabled</th> 13 <th i18n:translate="">Cost</th> 14 <th i18n:translate="">Date of Creation</th> 15 <th i18n:translate="">Creator</th> 16 </tr> 17 </thead> 18 <tbody> 19 <tr tal:repeat="batch context/values"> 20 <td> 21 <input type="checkbox" name="batches" value="batch/prefix" 22 tal:attributes="value batch/__name__" 23 tal:condition="batch/num" /> 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> 32 </td> 33 <td> 34 <span tal:replace="batch/used_num">512</span> 35 </td> 36 <td> 37 <span tal:replace="batch/disabled_num">112</span> 38 </td> 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> 43 <td tal:content="batch/creator">SOMEUSER</td> 44 </tr> 45 <tr tal:condition="not: context/values"> 46 <td colspan="5"><b i18n:translate="">No batches yet</b></td> 47 </tr> 48 </tbody> 49 </table> 52 50 <input type="submit" class="btn btn-default" name="archive" 53 51 tal:attributes="value view/archive_button" /> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/accesscodes/browser_templates/searchpage.pt
r11037 r11040 23 23 <input type="hidden" name="old_searchtype" 24 24 tal:attributes="value view/searchtype" /> 25 <div class="table-responsive"> 26 <table class="dataTableManage"> 27 <thead> 28 <tr> 29 <th> </th> 30 <th width="50px" i18n:translate="">Serial</th> 31 <th i18n:translate="">AC</th> 32 <th i18n:translate="">State</th> 33 <th i18n:translate="">Owner</th> 34 <th i18n:translate="">History</th> 35 </tr> 36 </thead> 37 <tbody> 38 <tr tal:repeat="item view/hitlist"> 39 <td><input type="checkbox" name="entries" 40 tal:attributes="value item/code" /></td> 41 <td tal:content="item/batch_serial">1</td> 42 <td tal:content="item/code">APP-1-1234567890</td> 43 <td tal:content="item/translated_state">unused</td> 44 <td tal:content="item/owner">Id</td> 45 <td tal:content="structure python:item.history.replace('||','<br />')"> 46 history 47 </td> 48 </tr> 49 </tbody> 50 </table> 51 </div> 25 <table class="dataTableManage"> 26 <thead> 27 <tr> 28 <th> </th> 29 <th width="50px" i18n:translate="">Serial</th> 30 <th i18n:translate="">AC</th> 31 <th i18n:translate="">State</th> 32 <th i18n:translate="">Owner</th> 33 <th i18n:translate="">History</th> 34 </tr> 35 </thead> 36 <tbody> 37 <tr tal:repeat="item view/hitlist"> 38 <td><input type="checkbox" name="entries" 39 tal:attributes="value item/code" /></td> 40 <td tal:content="item/batch_serial">1</td> 41 <td tal:content="item/code">APP-1-1234567890</td> 42 <td tal:content="item/translated_state">unused</td> 43 <td tal:content="item/owner">Id</td> 44 <td tal:content="structure python:item.history.replace('||','<br />')"> 45 history 46 </td> 47 </tr> 48 </tbody> 49 </table> 52 50 <div> 53 51 <input type="submit" class="btn btn-default" name="disable"
Note: See TracChangeset for help on using the changeset viewer.