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

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

Add interfaces for clearance and personal data.
Add display and manage views.

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/context/__name__" /></td>
34          <td> <a tal:attributes="href item/url">
35          <span tal:content="item/student_id">A123456</span></a>
36        </td>
37          <td tal:content="item/name">Bob</td>
38        </tr>
39      </tbody>
40    </table>
41    <div class="actionButtons">
42        <input type="submit" name="remove" value="Remove selected" />
43    </div>
44
45  </div>
46</form>
Note: See TracBrowser for help on using the repository browser.