source: main/waeup.sirp/branches/ulif-groktoolkit-1.4/src/waeup/sirp/students/browser_templates/containerpage.pt @ 7712

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

Add current_mode index to students_catalog.

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    <option value="current_mode">in study mode</option>
14  </select>
15
16  <input type="text" name="searchterm" />
17
18  <p>&nbsp;</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>Reg. Number</th>
30        <th>Matric. Number</th>
31        <th>State</th>
32        <th>Full Name</th>
33      </tr>
34      </thead>
35      <tbody>
36      <tr tal:repeat="item view/hitlist" class="gradeC">
37        <td> <a tal:attributes="href item/url">
38          <span tal:content="item/student_id">A123456</span></a>
39        </td>
40        <td class="center"> <a tal:attributes="href item/url">
41          <span tal:content="item/reg_number">9999999</span></a>
42        </td>
43        <td class="center"> <a tal:attributes="href item/url">
44          <span tal:content="item/matric_number">9999999</span></a>
45        </td>
46        <td tal:content="item/state">admitted</td>
47        <td tal:content="item/display_fullname">Bob</td>
48      </tr>
49      </tbody>
50    </table>
51    <br />
52  </div>
53</form>
Note: See TracBrowser for help on using the repository browser.