source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/containerpage.pt @ 6718

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

Add clearance_locked attribute and set True when a student is added.

Add clearance edit page for students.

Shorten page template names.

Rename Edit buttons for officers. Officers are managing and students are editing objects.

File size: 1021 bytes
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>Student Id</th><th>Name</th>
27        </tr>
28      </thead>
29      <tbody>
30        <tr tal:repeat="item view/hitlist">
31          <td> <a tal:attributes="href item/url">
32          <span tal:content="item/student_id">A123456</span></a>
33        </td>
34          <td tal:content="item/name">Bob</td>
35        </tr>
36      </tbody>
37    </table>
38    <br />
39  </div>
40</form>
Note: See TracBrowser for help on using the repository browser.