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 | |
---|
24 | <p> </p> |
---|
25 | <div tal:condition="view/hitlist"> |
---|
26 | <h3>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 | |
---|
32 | <br /><br /> |
---|
33 | <table class="ikoba-data-table dataTableManage"> |
---|
34 | <thead> |
---|
35 | <tr> |
---|
36 | <th> </th> |
---|
37 | <th i18n:translate="">Student Id</th> |
---|
38 | <th i18n:translate="">Reg. Number</th> |
---|
39 | <th i18n:translate="">State</th> |
---|
40 | <th i18n:translate="">Full Name</th> |
---|
41 | </tr> |
---|
42 | </thead> |
---|
43 | <tbody> |
---|
44 | <tr tal:repeat="item view/hitlist"> |
---|
45 | <td><input type="checkbox" name="entries" |
---|
46 | tal:attributes="value item/context/__name__" /></td> |
---|
47 | <td> <a tal:attributes="href item/url"> |
---|
48 | <span tal:content="item/customer_id">A123456</span></a> |
---|
49 | </td> |
---|
50 | <td class="center"> <a tal:attributes="href item/url"> |
---|
51 | <span tal:content="item/reg_number">9999999</span></a> |
---|
52 | </td> |
---|
53 | <td tal:content="item/state">admitted</td> |
---|
54 | <td tal:content="item/display_fullname">Bob</td> |
---|
55 | </tr> |
---|
56 | </tbody> |
---|
57 | </table> |
---|
58 | <input type="checkbox" onClick="toggle(this, 'entries')" /> |
---|
59 | <span i18n:translate="">Select all</span> |
---|
60 | <br /><br /> |
---|
61 | <input type="submit" name="remove" |
---|
62 | tal:attributes="value view/remove_button" class="btn btn-default" |
---|
63 | onclick="return confirmPost('Are you sure?')"/> |
---|
64 | |
---|
65 | </div> |
---|
66 | </form> |
---|