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

Last change on this file was 16301, checked in by Henrik Bettermann, 4 years ago

We do not need to warn.

File size: 3.3 KB
RevLine 
[11254]1<form method="POST" i18n:domain="waeup.kofa" class="form-inline">
[6626]2<br />
[11254]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>
[15163]19      <option i18n:translate="" value="transcript requested">
20        in state 'transcript requested' (search term omitted)
[11254]21      </option>
[15163]22      <option i18n:translate="" value="transcript validated">
23        in state 'transcript validated' (search term omitted)
24      </option>
[15417]25      <option i18n:translate="" value="graduated">
26        in state 'graduated' (search term omitted)
27      </option>
[11254]28    </select>
29  </div>
30  <div class="form-group">
31    <input type="text" class="form-control" name="searchterm" />
32  </div>
[6626]33
34  <p>&nbsp;</p>
35  <div tal:condition="view/hitlist">
36    <h3>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" />
[6820]41
42    <br /><br />
[11254]43    <table class="kofa-data-table dataTableManage">
[6626]44      <thead>
45        <tr>
46          <th>&nbsp;</th>
[7735]47        <th i18n:translate="">Student Id</th>
48        <th i18n:translate="">Reg. Number</th>
49        <th i18n:translate="">Matric. Number</th>
50        <th i18n:translate="">State</th>
51        <th i18n:translate="">Full Name</th>
[6626]52        </tr>
53      </thead>
54      <tbody>
[11254]55        <tr tal:repeat="item view/hitlist">
[6626]56          <td><input type="checkbox" name="entries"
[6631]57                     tal:attributes="value item/context/__name__" /></td>
58          <td> <a tal:attributes="href item/url">
59          <span tal:content="item/student_id">A123456</span></a>
60        </td>
[7553]61        <td class="center"> <a tal:attributes="href item/url">
62          <span tal:content="item/reg_number">9999999</span></a>
63        </td>
64        <td class="center"> <a tal:attributes="href item/url">
65          <span tal:content="item/matric_number">9999999</span></a>
66        </td>
67        <td tal:content="item/state">admitted</td>
[7364]68          <td tal:content="item/display_fullname">Bob</td>
[6626]69        </tr>
70      </tbody>
71    </table>
[11254]72    <input type="checkbox" onClick="toggle(this, 'entries')" />
[13347]73    &nbsp;<span  i18n:translate="">Select all</span>
[11254]74    <br /><br />
[7735]75    <input type="submit" name="remove"
[11254]76           tal:attributes="value view/remove_button" class="btn btn-default"
[16299]77           onclick="return window.confirm('Are you sure?')"/>
78    <input type="submit" name="send_email"
79           tal:attributes="value view/send_email_button" class="btn btn-default"
[16301]80           />
[6626]81
82  </div>
83</form>
Note: See TracBrowser for help on using the repository browser.