1 | <form method="POST" i18n:domain="waeup.ikoba" class="form-inline"> |
---|
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 | <option i18n:translate="" value="transcript"> |
---|
16 | who requested transcript (search term omitted) |
---|
17 | </option> |
---|
18 | </select> |
---|
19 | </div> |
---|
20 | <div class="form-group"> |
---|
21 | <input type="text" class="form-control" name="searchterm" /> |
---|
22 | </div> |
---|
23 | </form> |
---|
24 | <br /> |
---|
25 | <div tal:condition="view/hitlist"> |
---|
26 | <h3 i18n:translate="">Search Results</h3> |
---|
27 | <input type="hidden" name="old_searchterm" |
---|
28 | tal:attributes="value view/searchterm" /> |
---|
29 | <input type="hidden" name="old_searchtype" |
---|
30 | tal:attributes="value view/searchtype" /> |
---|
31 | <table class="ikoba-data-table dataTable"> |
---|
32 | <thead> |
---|
33 | <tr> |
---|
34 | <th i18n:translate="">Customer Id</th> |
---|
35 | <th i18n:translate="">Reg. Number</th> |
---|
36 | <th i18n:translate="">State</th> |
---|
37 | <th i18n:translate="">Full Name</th> |
---|
38 | </tr> |
---|
39 | </thead> |
---|
40 | <tbody> |
---|
41 | <tr tal:repeat="item view/hitlist"> |
---|
42 | <td> <a tal:attributes="href item/url"> |
---|
43 | <span tal:content="item/customer_id">A123456</span></a> |
---|
44 | </td> |
---|
45 | <td class="center"> <a tal:attributes="href item/url"> |
---|
46 | <span tal:content="item/reg_number">9999999</span></a> |
---|
47 | </td> |
---|
48 | <td tal:content="item/state">admitted</td> |
---|
49 | <td tal:content="item/display_fullname">Bob</td> |
---|
50 | </tr> |
---|
51 | </tbody> |
---|
52 | </table> |
---|
53 | </div> |
---|
54 | |
---|