source: main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/containermanagepage.pt @ 10009

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

Backup of local changes. The branch can now serve as basis for discussion today.

File size: 1.6 KB
Line 
1<h2 tal:content="view/label">Title</h2>
2<form method="POST">
3
4<br />
5
6  <input class="btn primary" 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    <option value="depcode">in department</option>
16  </select>
17
18  <input type="text" name="searchterm" />
19
20  <p>&nbsp;</p>
21  <div tal:condition="view/hitlist">
22    <h3>Search Results</h3>
23    <input type="hidden" name="old_searchterm"
24         tal:attributes="value view/searchterm" />
25    <input type="hidden" name="old_searchtype"
26         tal:attributes="value view/searchtype" />
27
28    <input type="checkbox" onClick="toggle(this, 'entries')" /> Select all
29    <br /><br />
30
31    <table class="display dataTableManage">
32      <thead>
33        <tr>
34          <th>&nbsp;</th>
35          <th>Student Id</th><th>Fullname</th>
36        </tr>
37      </thead>
38      <tbody>
39        <tr tal:repeat="item view/hitlist">
40          <td><input type="checkbox" name="entries"
41                     tal:attributes="value item/context/__name__" /></td>
42          <td> <a tal:attributes="href item/url">
43          <span tal:content="item/student_id">A123456</span></a>
44        </td>
45          <td tal:content="item/display_fullname">Bob</td>
46        </tr>
47      </tbody>
48    </table>
49   
50    <input type="submit" name="remove" value="Remove selected" class="btn"
51           onclick="return confirmPost('Are you sure?')"/>
52
53  </div>
54</form>
Note: See TracBrowser for help on using the repository browser.