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

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

Backup internationalization work in progress.

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