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

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

Add current_mode index to students_catalog.

File size: 2.1 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    <option value="current_mode">in study mode</option>
14  </select>
15
16  <input type="text" name="searchterm" />
17
18  <p>&nbsp;</p>
19  <div tal:condition="view/hitlist">
20    <h3>Search Results</h3>
21    <input type="hidden" name="old_searchterm"
22         tal:attributes="value view/searchterm" />
23    <input type="hidden" name="old_searchtype"
24         tal:attributes="value view/searchtype" />
25
26    <input type="checkbox" onClick="toggle(this, 'entries')" /> Select all
27    <br /><br />
28
29    <table class="display dataTableManage">
30      <thead>
31        <tr>
32          <th>&nbsp;</th>
33        <th>Student Id</th>
34        <th>Reg. Number</th>
35        <th>Matric. Number</th>
36        <th>State</th>
37        <th>Full Name</th>
38        </tr>
39      </thead>
40      <tbody>
41        <tr tal:repeat="item view/hitlist" class="gradeC">
42          <td><input type="checkbox" name="entries"
43                     tal:attributes="value item/context/__name__" /></td>
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   
59    <input type="submit" name="remove" value="Remove selected" class="btn"
60           onclick="return confirmPost('Are you sure?')"/>
61
62  </div>
63</form>
Note: See TracBrowser for help on using the repository browser.