source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/containerpage.pt @ 7553

Last change on this file since 7553 was 7553, checked in by Henrik Bettermann, 13 years ago

Show reg_state in students tables.

File size: 1.7 KB
Line 
1<form method="POST">
2<br />
3  <input class="btn primary" type="submit" name="search" value="Search" />
4  for students
5
6  <select name="searchtype">
7    <option value="student_id">with id</option>
8    <option value="fullname">with name</option>
9    <option value="reg_number">with registration number</option>
10    <option value="matric_number">with matriculation number</option>
11    <option value="current_session">in session</option>
12    <option value="depcode">in department</option>
13  </select>
14
15  <input type="text" name="searchterm" />
16
17  <p>&nbsp;</p>
18  <div tal:condition="view/hitlist">
19    <h3>Search Results</h3>
20    <input type="hidden" name="old_searchterm"
21         tal:attributes="value view/searchterm" />
22    <input type="hidden" name="old_searchtype"
23         tal:attributes="value view/searchtype" />
24    <table class="display dataTable">
25      <thead>
26      <tr>
27        <th>Student Id</th>
28        <th>Reg. Number</th>
29        <th>Matric. Number</th>
30        <th>State</th>
31        <th>Full Name</th>
32      </tr>
33      </thead>
34      <tbody>
35      <tr tal:repeat="item view/hitlist" class="gradeC">
36        <td> <a tal:attributes="href item/url">
37          <span tal:content="item/student_id">A123456</span></a>
38        </td>
39        <td class="center"> <a tal:attributes="href item/url">
40          <span tal:content="item/reg_number">9999999</span></a>
41        </td>
42        <td class="center"> <a tal:attributes="href item/url">
43          <span tal:content="item/matric_number">9999999</span></a>
44        </td>
45        <td tal:content="item/state">admitted</td>
46        <td tal:content="item/display_fullname">Bob</td>
47      </tr>
48      </tbody>
49    </table>
50    <br />
51  </div>
52</form>
Note: See TracBrowser for help on using the repository browser.