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

Last change on this file since 10627 was 10465, checked in by Henrik Bettermann, 11 years ago

Let transcript officers find their students via the students container page.

File size: 2.3 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    <option i18n:translate="" value="transcript">
19      who requested transcript (search term omitted)
20    </option>
21  </select>
22
23  <input type="text" name="searchterm" />
24
25  <p>&nbsp;</p>
26  <div tal:condition="view/hitlist">
27    <h3 i18n:translate="">Search Results</h3>
28    <input type="hidden" name="old_searchterm"
29         tal:attributes="value view/searchterm" />
30    <input type="hidden" name="old_searchtype"
31         tal:attributes="value view/searchtype" />
32    <table class="display dataTable">
33      <thead>
34      <tr>
35        <th i18n:translate="">Student Id</th>
36        <th i18n:translate="">Reg. Number</th>
37        <th i18n:translate="">Matric. Number</th>
38        <th i18n:translate="">State</th>
39        <th i18n:translate="">Full Name</th>
40      </tr>
41      </thead>
42      <tbody>
43      <tr tal:repeat="item view/hitlist" class="gradeC">
44        <td> <a tal:attributes="href item/url">
45          <span tal:content="item/student_id">A123456</span></a>
46        </td>
47        <td class="center"> <a tal:attributes="href item/url">
48          <span tal:content="item/reg_number">9999999</span></a>
49        </td>
50        <td class="center"> <a tal:attributes="href item/url">
51          <span tal:content="item/matric_number">9999999</span></a>
52        </td>
53        <td tal:content="item/state">admitted</td>
54        <td tal:content="item/display_fullname">Bob</td>
55      </tr>
56      </tbody>
57    </table>
58    <br />
59  </div>
60</form>
Note: See TracBrowser for help on using the repository browser.