source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/containerpage.pt @ 10368

Last change on this file since 10368 was 9795, checked in by Henrik Bettermann, 12 years ago

Add suspended students search.

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