source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/containermanagepage.pt @ 12774

Last change on this file since 12774 was 11254, checked in by uli, 11 years ago

Merge changes from uli-diazo-themed back into trunk. If this works, then a miracle happened.

File size: 2.8 KB
Line 
1<form method="POST" i18n:domain="waeup.kofa" class="form-inline">
2<br />
3  <div class="form-group">
4    <input class="btn btn-primary" type="submit" name="search"
5      tal:attributes="value view/search_button" />
6  </div>
7  <div class="form-group">
8    <select name="searchtype" class="form-control">
9      <option i18n:translate="" value="student_id">with id</option>
10      <option i18n:translate="" value="fullname">with name</option>
11      <option i18n:translate="" value="reg_number">with registration number</option>
12      <option i18n:translate="" value="matric_number">with matriculation number</option>
13      <option i18n:translate="" value="current_session">in session</option>
14      <option i18n:translate="" value="depcode">in department</option>
15      <option i18n:translate="" value="current_mode">in study mode</option>
16      <option i18n:translate="" value="suspended">
17        with deactivated account (search term omitted)
18      </option>
19      <option i18n:translate="" value="transcript">
20        who requested transcript (search term omitted)
21      </option>
22    </select>
23  </div>
24  <div class="form-group">
25    <input type="text" class="form-control" name="searchterm" />
26  </div>
27
28  <p>&nbsp;</p>
29  <div tal:condition="view/hitlist">
30    <h3>Search Results</h3>
31    <input type="hidden" name="old_searchterm"
32         tal:attributes="value view/searchterm" />
33    <input type="hidden" name="old_searchtype"
34         tal:attributes="value view/searchtype" />
35
36    <br /><br />
37    <table class="kofa-data-table dataTableManage">
38      <thead>
39        <tr>
40          <th>&nbsp;</th>
41        <th i18n:translate="">Student Id</th>
42        <th i18n:translate="">Reg. Number</th>
43        <th i18n:translate="">Matric. Number</th>
44        <th i18n:translate="">State</th>
45        <th i18n:translate="">Full Name</th>
46        </tr>
47      </thead>
48      <tbody>
49        <tr tal:repeat="item view/hitlist">
50          <td><input type="checkbox" name="entries"
51                     tal:attributes="value item/context/__name__" /></td>
52          <td> <a tal:attributes="href item/url">
53          <span tal:content="item/student_id">A123456</span></a>
54        </td>
55        <td class="center"> <a tal:attributes="href item/url">
56          <span tal:content="item/reg_number">9999999</span></a>
57        </td>
58        <td class="center"> <a tal:attributes="href item/url">
59          <span tal:content="item/matric_number">9999999</span></a>
60        </td>
61        <td tal:content="item/state">admitted</td>
62          <td tal:content="item/display_fullname">Bob</td>
63        </tr>
64      </tbody>
65    </table>
66    <input type="checkbox" onClick="toggle(this, 'entries')" />
67    <span  i18n:translate="">Select all</span>
68    <br /><br />
69    <input type="submit" name="remove"
70           tal:attributes="value view/remove_button" class="btn btn-default"
71           onclick="return confirmPost('Are you sure?')"/>
72
73  </div>
74</form>
Note: See TracBrowser for help on using the repository browser.