source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/containermanagepage.pt @ 7580

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

Show reg_state in students tables.

File size: 2.0 KB
Line 
1<form method="POST">
2<br />
3  <input class="btn primary" type="submit" name="search" value="Search" />
4  for students
5
6  <select name="searchtype">
7    <option value="student_id">with id</option>
8    <option value="fullname">with name</option>
9    <option value="reg_number">with registration number</option>
10    <option value="matric_number">with matriculation number</option>
11    <option value="current_session">in session</option>
12    <option value="depcode">in department</option>
13  </select>
14
15  <input type="text" name="searchterm" />
16
17  <p>&nbsp;</p>
18  <div tal:condition="view/hitlist">
19    <h3>Search Results</h3>
20    <input type="hidden" name="old_searchterm"
21         tal:attributes="value view/searchterm" />
22    <input type="hidden" name="old_searchtype"
23         tal:attributes="value view/searchtype" />
24
25    <input type="checkbox" onClick="toggle(this, 'entries')" /> Select all
26    <br /><br />
27
28    <table class="display dataTableManage">
29      <thead>
30        <tr>
31          <th>&nbsp;</th>
32        <th>Student Id</th>
33        <th>Reg. Number</th>
34        <th>Matric. Number</th>
35        <th>State</th>
36        <th>Full Name</th>
37        </tr>
38      </thead>
39      <tbody>
40        <tr tal:repeat="item view/hitlist" class="gradeC">
41          <td><input type="checkbox" name="entries"
42                     tal:attributes="value item/context/__name__" /></td>
43          <td> <a tal:attributes="href item/url">
44          <span tal:content="item/student_id">A123456</span></a>
45        </td>
46        <td class="center"> <a tal:attributes="href item/url">
47          <span tal:content="item/reg_number">9999999</span></a>
48        </td>
49        <td class="center"> <a tal:attributes="href item/url">
50          <span tal:content="item/matric_number">9999999</span></a>
51        </td>
52        <td tal:content="item/state">admitted</td>
53          <td tal:content="item/display_fullname">Bob</td>
54        </tr>
55      </tbody>
56    </table>
57   
58    <input type="submit" name="remove" value="Remove selected" class="btn"
59           onclick="return confirmPost('Are you sure?')"/>
60
61  </div>
62</form>
Note: See TracBrowser for help on using the repository browser.