source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studentscontainermanagepage.pt @ 6627

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

Add students_catalog and search facilities.

File size: 1.2 KB
Line 
1<h2 tal:content="view/label">Title</h2>
2<form method="POST">
3
4<br />
5
6  <input type="submit" name="search" value="Search" />
7  for students
8
9  <select name="searchtype">
10    <option value="student_id">with id</option>
11    <option value="name">with name</option>
12  </select>
13
14  <input type="text" name="searchterm" />
15
16  <p>&nbsp;</p>
17  <div tal:condition="view/hitlist">
18    <h3>Search Results</h3>
19    <input type="hidden" name="old_searchterm"
20         tal:attributes="value view/searchterm" />
21    <input type="hidden" name="old_searchtype"
22         tal:attributes="value view/searchtype" />
23    <table class="display dataTableManage">
24      <thead>
25        <tr>
26          <th>&nbsp;</th>
27          <th>Student Id</th><th>Name</th>
28        </tr>
29      </thead>
30      <tbody>
31        <tr tal:repeat="item view/hitlist">
32          <td><input type="checkbox" name="entries"
33                     tal:attributes="value item/student_id" /></td>
34          <td tal:content="item/student_id">A123456</td>
35          <td tal:content="item/name">Bob</td>
36        </tr>
37      </tbody>
38    </table>
39    <div class="actionButtons">
40        <input type="submit" name="remove" value="Remove selected" />
41    </div>
42
43  </div>
44</form>
Note: See TracBrowser for help on using the repository browser.