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

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

Move form label to site layout pagetemplates. This saves even more code.

File size: 1.6 KB
Line 
1<form method="POST">
2<br />
3  <input class="btn primary" type="submit" name="search" value="Search" />
4  for students
5
6  <select name="searchtype">
7    <option value="student_id">with id</option>
8    <option value="fullname">with name</option>
9    <option value="reg_number">with registration number</option>
10    <option value="matric_number">with matriculation number</option>
11    <option value="current_session">in session</option>
12    <option value="depcode">in department</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/display_fullname">Bob</td>
43        </tr>
44      </tbody>
45    </table>
46   
47    <input type="submit" name="remove" value="Remove selected" class="btn"
48           onclick="return confirmPost('Are you sure?')"/>
49
50  </div>
51</form>
Note: See TracBrowser for help on using the repository browser.