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

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

Add suspended students search.

File size: 2.6 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>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
30    <input type="checkbox" onClick="toggle(this, 'entries')" />
31    <span  i18n:translate="">Select all</span>
32    <br /><br />
33
34    <table class="display dataTableManage">
35      <thead>
36        <tr>
37          <th>&nbsp;</th>
38        <th i18n:translate="">Student Id</th>
39        <th i18n:translate="">Reg. Number</th>
40        <th i18n:translate="">Matric. Number</th>
41        <th i18n:translate="">State</th>
42        <th i18n:translate="">Full Name</th>
43        </tr>
44      </thead>
45      <tbody>
46        <tr tal:repeat="item view/hitlist" class="gradeC">
47          <td><input type="checkbox" name="entries"
48                     tal:attributes="value item/context/__name__" /></td>
49          <td> <a tal:attributes="href item/url">
50          <span tal:content="item/student_id">A123456</span></a>
51        </td>
52        <td class="center"> <a tal:attributes="href item/url">
53          <span tal:content="item/reg_number">9999999</span></a>
54        </td>
55        <td class="center"> <a tal:attributes="href item/url">
56          <span tal:content="item/matric_number">9999999</span></a>
57        </td>
58        <td tal:content="item/state">admitted</td>
59          <td tal:content="item/display_fullname">Bob</td>
60        </tr>
61      </tbody>
62    </table>
63   
64    <input type="submit" name="remove"
65           tal:attributes="value view/remove_button" class="btn"
66           onclick="return confirmPost('Are you sure?')"/>
67
68  </div>
69</form>
Note: See TracBrowser for help on using the repository browser.