1 | <form method="POST" i18n:domain="waeup.kofa" 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="student_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="matric_number">with matriculation number</option> |
---|
13 | <option i18n:translate="" value="current_session">in session</option> |
---|
14 | <option i18n:translate="" value="depcode">in department</option> |
---|
15 | <option i18n:translate="" value="current_mode">in study mode</option> |
---|
16 | <option i18n:translate="" value="suspended"> |
---|
17 | with deactivated account (search term omitted) |
---|
18 | </option> |
---|
19 | <option i18n:translate="" value="transcript requested"> |
---|
20 | in state 'transcript requested' (search term omitted) |
---|
21 | </option> |
---|
22 | <option i18n:translate="" value="transcript validated"> |
---|
23 | in state 'transcript validated' (search term omitted) |
---|
24 | </option> |
---|
25 | </select> |
---|
26 | </div> |
---|
27 | <div class="form-group"> |
---|
28 | <input type="text" class="form-control" name="searchterm" /> |
---|
29 | </div> |
---|
30 | |
---|
31 | <p> </p> |
---|
32 | <div tal:condition="view/hitlist"> |
---|
33 | <h3>Search Results</h3> |
---|
34 | <input type="hidden" name="old_searchterm" |
---|
35 | tal:attributes="value view/searchterm" /> |
---|
36 | <input type="hidden" name="old_searchtype" |
---|
37 | tal:attributes="value view/searchtype" /> |
---|
38 | |
---|
39 | <br /><br /> |
---|
40 | <table class="kofa-data-table dataTableManage"> |
---|
41 | <thead> |
---|
42 | <tr> |
---|
43 | <th> </th> |
---|
44 | <th i18n:translate="">Student Id</th> |
---|
45 | <th i18n:translate="">Reg. Number</th> |
---|
46 | <th i18n:translate="">Matric. Number</th> |
---|
47 | <th i18n:translate="">State</th> |
---|
48 | <th i18n:translate="">Full Name</th> |
---|
49 | </tr> |
---|
50 | </thead> |
---|
51 | <tbody> |
---|
52 | <tr tal:repeat="item view/hitlist"> |
---|
53 | <td><input type="checkbox" name="entries" |
---|
54 | tal:attributes="value item/context/__name__" /></td> |
---|
55 | <td> <a tal:attributes="href item/url"> |
---|
56 | <span tal:content="item/student_id">A123456</span></a> |
---|
57 | </td> |
---|
58 | <td class="center"> <a tal:attributes="href item/url"> |
---|
59 | <span tal:content="item/reg_number">9999999</span></a> |
---|
60 | </td> |
---|
61 | <td class="center"> <a tal:attributes="href item/url"> |
---|
62 | <span tal:content="item/matric_number">9999999</span></a> |
---|
63 | </td> |
---|
64 | <td tal:content="item/state">admitted</td> |
---|
65 | <td tal:content="item/display_fullname">Bob</td> |
---|
66 | </tr> |
---|
67 | </tbody> |
---|
68 | </table> |
---|
69 | <input type="checkbox" onClick="toggle(this, 'entries')" /> |
---|
70 | <span i18n:translate="">Select all</span> |
---|
71 | <br /><br /> |
---|
72 | <input type="submit" name="remove" |
---|
73 | tal:attributes="value view/remove_button" class="btn btn-default" |
---|
74 | onclick="return confirmPost('Are you sure?')"/> |
---|
75 | |
---|
76 | </div> |
---|
77 | </form> |
---|