source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/containermanagepage.pt @ 8286

Last change on this file since 8286 was 7811, checked in by uli, 13 years ago

Rename all non-locales stuff from sirp to kofa.

File size: 2.4 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  </select>
16
17  <input type="text" name="searchterm" />
18
19  <p>&nbsp;</p>
20  <div tal:condition="view/hitlist">
21    <h3>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
27    <input type="checkbox" onClick="toggle(this, 'entries')" />
28    <span  i18n:translate="">Select all</span>
29    <br /><br />
30
31    <table class="display dataTableManage">
32      <thead>
33        <tr>
34          <th>&nbsp;</th>
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><input type="checkbox" name="entries"
45                     tal:attributes="value item/context/__name__" /></td>
46          <td> <a tal:attributes="href item/url">
47          <span tal:content="item/student_id">A123456</span></a>
48        </td>
49        <td class="center"> <a tal:attributes="href item/url">
50          <span tal:content="item/reg_number">9999999</span></a>
51        </td>
52        <td class="center"> <a tal:attributes="href item/url">
53          <span tal:content="item/matric_number">9999999</span></a>
54        </td>
55        <td tal:content="item/state">admitted</td>
56          <td tal:content="item/display_fullname">Bob</td>
57        </tr>
58      </tbody>
59    </table>
60   
61    <input type="submit" name="remove"
62           tal:attributes="value view/remove_button" class="btn"
63           onclick="return confirmPost('Are you sure?')"/>
64
65  </div>
66</form>
Note: See TracBrowser for help on using the repository browser.