[11979] | 1 | <form method="POST" i18n:domain="waeup.ikoba" class="form-inline"> |
---|
[11958] | 2 | <br /> |
---|
| 3 | <div class="form-group"> |
---|
| 4 | <input class="btn btn-primary" type="submit" name="search" |
---|
| 5 | tal:attributes="value view/search_button" /> |
---|
| 6 | </div> |
---|
| 7 | <div class="form-group"> |
---|
| 8 | <select name="searchtype" class="form-control"> |
---|
| 9 | <option i18n:translate="" value="customer_id">with id</option> |
---|
| 10 | <option i18n:translate="" value="fullname">with name</option> |
---|
| 11 | <option i18n:translate="" value="reg_number">with registration number</option> |
---|
| 12 | <option i18n:translate="" value="suspended"> |
---|
| 13 | with deactivated account (search term omitted) |
---|
| 14 | </option> |
---|
| 15 | </select> |
---|
| 16 | </div> |
---|
| 17 | <div class="form-group"> |
---|
| 18 | <input type="text" class="form-control" name="searchterm" /> |
---|
| 19 | </div> |
---|
| 20 | </form> |
---|
| 21 | <br /> |
---|
| 22 | <div tal:condition="view/hitlist"> |
---|
| 23 | <h3 i18n:translate="">Search Results</h3> |
---|
| 24 | <input type="hidden" name="old_searchterm" |
---|
| 25 | tal:attributes="value view/searchterm" /> |
---|
| 26 | <input type="hidden" name="old_searchtype" |
---|
| 27 | tal:attributes="value view/searchtype" /> |
---|
[11979] | 28 | <table class="ikoba-data-table dataTable"> |
---|
[11958] | 29 | <thead> |
---|
| 30 | <tr> |
---|
[11996] | 31 | <th i18n:translate="">Customer Id</th> |
---|
[11958] | 32 | <th i18n:translate="">Reg. Number</th> |
---|
| 33 | <th i18n:translate="">State</th> |
---|
| 34 | <th i18n:translate="">Full Name</th> |
---|
| 35 | </tr> |
---|
| 36 | </thead> |
---|
| 37 | <tbody> |
---|
| 38 | <tr tal:repeat="item view/hitlist"> |
---|
| 39 | <td> <a tal:attributes="href item/url"> |
---|
| 40 | <span tal:content="item/customer_id">A123456</span></a> |
---|
| 41 | </td> |
---|
| 42 | <td class="center"> <a tal:attributes="href item/url"> |
---|
| 43 | <span tal:content="item/reg_number">9999999</span></a> |
---|
| 44 | </td> |
---|
| 45 | <td tal:content="item/state">admitted</td> |
---|
| 46 | <td tal:content="item/display_fullname">Bob</td> |
---|
| 47 | </tr> |
---|
| 48 | </tbody> |
---|
| 49 | </table> |
---|
| 50 | </div> |
---|
| 51 | |
---|