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

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

Much more logic for bed allocation, bed release.

Implement student relocation.

File size: 1.5 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="fullname">with name</option>
12    <option value="reg_number">with registration number</option>
13    <option value="matric_number">with matriculation number</option>
14    <option value="current_session">in session</option>
15  </select>
16
17  <input type="text" name="searchterm" />
18
19  <p>&nbsp;</p>
20  <div tal:condition="view/hitlist">
21    <h3>Search Results</h3>
22    <input type="hidden" name="old_searchterm"
23         tal:attributes="value view/searchterm" />
24    <input type="hidden" name="old_searchtype"
25         tal:attributes="value view/searchtype" />
26    <table class="display dataTable">
27      <thead>
28      <tr>
29        <th>Student Id</th>
30        <th>Registration Number</th>
31        <th>Matriculation Number</th>
32        <th>Fullname</th>
33      </tr>
34      </thead>
35      <tbody>
36      <tr tal:repeat="item view/hitlist">
37        <td> <a tal:attributes="href item/url">
38          <span tal:content="item/student_id">A123456</span></a>
39        </td>
40        <td> <a tal:attributes="href item/url">
41          <span tal:content="item/reg_number">9999999</span></a>
42        </td>
43        <td> <a tal:attributes="href item/url">
44          <span tal:content="item/matric_number">9999999</span></a>
45        </td>
46        <td tal:content="item/fullname">Bob</td>
47      </tr>
48      </tbody>
49    </table>
50    <br />
51  </div>
52</form>
Note: See TracBrowser for help on using the repository browser.