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

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

Much more logic for bed allocation, bed release.

Implement student relocation.

File size: 1.4 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="current_session">in session</option>
13  </select>
14
15  <input type="text" name="searchterm" />
16
17  <p>&nbsp;</p>
18  <div tal:condition="view/hitlist">
19    <h3>Search Results</h3>
20    <input type="hidden" name="old_searchterm"
21         tal:attributes="value view/searchterm" />
22    <input type="hidden" name="old_searchtype"
23         tal:attributes="value view/searchtype" />
24
25    <input type="checkbox" onClick="toggle(this, 'entries')" /> Select all
26    <br /><br />
27
28    <table class="display dataTableManage">
29      <thead>
30        <tr>
31          <th>&nbsp;</th>
32          <th>Student Id</th><th>Fullname</th>
33        </tr>
34      </thead>
35      <tbody>
36        <tr tal:repeat="item view/hitlist">
37          <td><input type="checkbox" name="entries"
38                     tal:attributes="value item/context/__name__" /></td>
39          <td> <a tal:attributes="href item/url">
40          <span tal:content="item/student_id">A123456</span></a>
41        </td>
42          <td tal:content="item/fullname">Bob</td>
43        </tr>
44      </tbody>
45    </table>
46   
47    <div class="actionButtons">
48        <input type="submit" name="remove" value="Remove selected" />
49    </div>
50
51  </div>
52</form>
Note: See TracBrowser for help on using the repository browser.