source: main/waeup.kofa/branches/uli-py3/src/waeup/kofa/students/browser_templates/containerpage.pt @ 17421

Last change on this file since 17421 was 15417, checked in by Henrik Bettermann, 6 years ago

Add graduated students filter.

Inform students_catalog after setting workflow state.

File size: 2.6 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 requested">
20        in state 'transcript requested' (search term omitted)
21      </option>
22      <option i18n:translate="" value="transcript validated">
23        in state 'transcript validated' (search term omitted)
24      </option>
25      <option i18n:translate="" value="graduated">
26        in state 'graduated' (search term omitted)
27      </option>
28    </select>
29  </div>
30  <div class="form-group">
31    <input type="text" class="form-control" name="searchterm" />
32  </div>
33</form>
34<br />
35<div tal:condition="view/hitlist">
36  <h3 i18n:translate="">Search Results</h3>
37  <input type="hidden" name="old_searchterm"
38       tal:attributes="value view/searchterm" />
39  <input type="hidden" name="old_searchtype"
40       tal:attributes="value view/searchtype" />
41  <table class="kofa-data-table dataTable">
42    <thead>
43    <tr>
44      <th i18n:translate="">Student Id</th>
45      <th i18n:translate="">Reg. Number</th>
46      <th i18n:translate="">Matric. Number</th>
47      <th i18n:translate="">State</th>
48      <th i18n:translate="">Full Name</th>
49    </tr>
50    </thead>
51    <tbody>
52    <tr tal:repeat="item view/hitlist">
53      <td> <a tal:attributes="href item/url">
54        <span tal:content="item/student_id">A123456</span></a>
55      </td>
56      <td class="center"> <a tal:attributes="href item/url">
57        <span tal:content="item/reg_number">9999999</span></a>
58      </td>
59      <td class="center"> <a tal:attributes="href item/url">
60        <span tal:content="item/matric_number">9999999</span></a>
61      </td>
62      <td tal:content="item/state">admitted</td>
63      <td tal:content="item/display_fullname">Bob</td>
64    </tr>
65    </tbody>
66  </table>
67</div>
68
Note: See TracBrowser for help on using the repository browser.