source: main/waeup.kofa/branches/uli-rm-bootstrap/src/waeup/kofa/applicants/browser_templates/applicantssearchpage.pt @ 17952

Last change on this file since 17952 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: 1.7 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="applicant_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="email">with email address</option>
13    </select>
14  </div>
15  <div class="form-group">
16    <input type="text" class="form-control" name="searchterm" />
17  </div>
18
19  <br /><br />
20  <div tal:condition="view/results">
21    <h3 i18n:translate="">Search Results</h3>
22    <input type="hidden" name="old_searchterm"
23         tal:attributes="value view/searchterm" />
24    <input type="hidden" name="old_searchtype"
25         tal:attributes="value view/searchtype" />
26    <table class="kofa-data-table dataTable">
27      <thead>
28      <tr>
29        <th i18n:translate="">Applicant Id</th>
30        <th i18n:translate="">Reg. Number</th>
31        <th i18n:translate="">Application State</th>
32        <th i18n:translate="">Full Name</th>
33      </tr>
34      </thead>
35      <tbody>
36      <tr tal:repeat="item view/results">
37        <td> <a tal:attributes="href python:view.url(item)">
38          <span tal:content="item/applicant_id">XXXX_1234</span></a>
39        </td>
40        <td class="center">
41          <span tal:content="item/reg_number">9999999</span>
42        </td>
43        <td tal:content="item/state">admitted</td>
44        <td tal:content="item/display_fullname">Bob</td>
45      </tr>
46      </tbody>
47    </table>
48  </div>
49</form>
Note: See TracBrowser for help on using the repository browser.