[11254] | 1 | <form method="POST" i18n:domain="waeup.kofa" class="form-inline"> |
---|
[6450] | 2 | <br /> |
---|
[11254] | 3 | <div class="form-group"> |
---|
| 4 | <input type="submit" class="btn btn-primary" name="search" |
---|
| 5 | tal:attributes="value view/search_button" /> |
---|
[7719] | 6 | <span i18n:translate="">for access codes</span> |
---|
[11254] | 7 | </div> |
---|
| 8 | <div class="form-group"> |
---|
| 9 | <select name="searchtype" class="form-control"> |
---|
| 10 | <option i18n:translate="" value="code">with PIN</option> |
---|
| 11 | <option i18n:translate="" value="batch_serial">with serial</option> |
---|
| 12 | <option i18n:translate="" value="history">with message term</option> |
---|
| 13 | </select> |
---|
| 14 | </div> |
---|
| 15 | <div class="form-group"> |
---|
| 16 | <input type="text" class="form-control" name="searchterm" /> |
---|
| 17 | </div> |
---|
[5155] | 18 | <p> </p> |
---|
[6450] | 19 | <div tal:condition="view/hitlist"> |
---|
[16529] | 20 | <h3 i18n:translate="">Search Results</h3> |
---|
[6450] | 21 | <input type="hidden" name="old_searchterm" |
---|
| 22 | tal:attributes="value view/searchterm" /> |
---|
| 23 | <input type="hidden" name="old_searchtype" |
---|
| 24 | tal:attributes="value view/searchtype" /> |
---|
[11254] | 25 | <table class="kofa-data-table dataTableManage"> |
---|
[5155] | 26 | <thead> |
---|
[7198] | 27 | <tr> |
---|
| 28 | <th> </th> |
---|
[7719] | 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> |
---|
[7198] | 34 | </tr> |
---|
[5155] | 35 | </thead> |
---|
| 36 | <tbody> |
---|
[7198] | 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> |
---|
[7754] | 42 | <td tal:content="item/translated_state">unused</td> |
---|
[6928] | 43 | <td tal:content="item/owner">Id</td> |
---|
[6453] | 44 | <td tal:content="structure python:item.history.replace('||','<br />')"> |
---|
| 45 | history |
---|
| 46 | </td> |
---|
[7198] | 47 | </tr> |
---|
[5155] | 48 | </tbody> |
---|
| 49 | </table> |
---|
[7459] | 50 | <div> |
---|
[11254] | 51 | <input type="submit" class="btn btn-default" name="disable" |
---|
[7719] | 52 | tal:attributes="value view/disable_button" /> |
---|
[11254] | 53 | <input type="submit" class="btn btn-default" name="enable" |
---|
[7719] | 54 | tal:attributes="value view/enable_button" /> |
---|
[11254] | 55 | <input type="submit" class="btn btn-default" name="cancel" |
---|
| 56 | tal:attributes="value view/cancel_button" /> |
---|
[6455] | 57 | </div> |
---|
[5155] | 58 | </div> |
---|
[11254] | 59 | <div tal:condition="not: view/hitlist"> |
---|
| 60 | <input type="submit" class="btn btn-default" name="cancel" |
---|
| 61 | tal:attributes="value view/cancel_button" /> |
---|
| 62 | </div> |
---|
[5155] | 63 | </form> |
---|