1 | <h2 tal:content="view/label">Title</h2> |
---|
2 | <form method="POST"> |
---|
3 | |
---|
4 | <br /> |
---|
5 | |
---|
6 | <input type="submit" name="search" value="Search" /> |
---|
7 | for students |
---|
8 | |
---|
9 | <select name="searchtype"> |
---|
10 | <option value="student_id">with id</option> |
---|
11 | <option value="fullname">with name</option> |
---|
12 | <option value="reg_number">with registration number</option> |
---|
13 | <option value="matric_number">with matriculation number</option> |
---|
14 | <option value="current_session">in session</option> |
---|
15 | <option value="depcode">in department</option> |
---|
16 | </select> |
---|
17 | |
---|
18 | <input type="text" name="searchterm" /> |
---|
19 | |
---|
20 | <p> </p> |
---|
21 | <div tal:condition="view/hitlist"> |
---|
22 | <h3>Search Results</h3> |
---|
23 | <input type="hidden" name="old_searchterm" |
---|
24 | tal:attributes="value view/searchterm" /> |
---|
25 | <input type="hidden" name="old_searchtype" |
---|
26 | tal:attributes="value view/searchtype" /> |
---|
27 | |
---|
28 | <input type="checkbox" onClick="toggle(this, 'entries')" /> Select all |
---|
29 | <br /><br /> |
---|
30 | |
---|
31 | <table class="display dataTableManage"> |
---|
32 | <thead> |
---|
33 | <tr> |
---|
34 | <th> </th> |
---|
35 | <th>Student Id</th><th>Fullname</th> |
---|
36 | </tr> |
---|
37 | </thead> |
---|
38 | <tbody> |
---|
39 | <tr tal:repeat="item view/hitlist"> |
---|
40 | <td><input type="checkbox" name="entries" |
---|
41 | tal:attributes="value item/context/__name__" /></td> |
---|
42 | <td> <a tal:attributes="href item/url"> |
---|
43 | <span tal:content="item/student_id">A123456</span></a> |
---|
44 | </td> |
---|
45 | <td tal:content="item/fullname">Bob</td> |
---|
46 | </tr> |
---|
47 | </tbody> |
---|
48 | </table> |
---|
49 | |
---|
50 | <div class="actionButtons"> |
---|
51 | <input type="submit" name="remove" value="Remove selected" |
---|
52 | onclick="return confirmPost('Are you sure?')"/> |
---|
53 | </div> |
---|
54 | |
---|
55 | </div> |
---|
56 | </form> |
---|