Last change
on this file since 6851 was
6818,
checked in by Henrik Bettermann, 13 years ago
|
Replace student's name attribute by fullname attributes to avoid confusion.
|
File size:
1.5 KB
|
Line | |
---|
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 | </select> |
---|
15 | |
---|
16 | <input type="text" name="searchterm" /> |
---|
17 | |
---|
18 | <p> </p> |
---|
19 | <div tal:condition="view/hitlist"> |
---|
20 | <h3>Search Results</h3> |
---|
21 | <input type="hidden" name="old_searchterm" |
---|
22 | tal:attributes="value view/searchterm" /> |
---|
23 | <input type="hidden" name="old_searchtype" |
---|
24 | tal:attributes="value view/searchtype" /> |
---|
25 | <table class="display dataTable"> |
---|
26 | <thead> |
---|
27 | <tr> |
---|
28 | <th>Student Id</th> |
---|
29 | <th>Registration Number</th> |
---|
30 | <th>Matriculation Number</th> |
---|
31 | <th>Fullname</th> |
---|
32 | </tr> |
---|
33 | </thead> |
---|
34 | <tbody> |
---|
35 | <tr tal:repeat="item view/hitlist"> |
---|
36 | <td> <a tal:attributes="href item/url"> |
---|
37 | <span tal:content="item/student_id">A123456</span></a> |
---|
38 | </td> |
---|
39 | <td> <a tal:attributes="href item/url"> |
---|
40 | <span tal:content="item/reg_number">9999999</span></a> |
---|
41 | </td> |
---|
42 | <td> <a tal:attributes="href item/url"> |
---|
43 | <span tal:content="item/matric_number">9999999</span></a> |
---|
44 | </td> |
---|
45 | <td tal:content="item/fullname">Bob</td> |
---|
46 | </tr> |
---|
47 | </tbody> |
---|
48 | </table> |
---|
49 | <br /> |
---|
50 | </div> |
---|
51 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.