source: main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/containermanagepage.pt @ 17387

Last change on this file since 17387 was 12192, checked in by Henrik Bettermann, 10 years ago

Registration and Application Portal/System? (RAPS)

Adjust localization.

File size: 2.2 KB
Line 
1<form method="POST" i18n:domain="waeup.ikoba" 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="customer_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="suspended">
13        with deactivated account (search term omitted)
14      </option>
15    </select>
16  </div>
17  <div class="form-group">
18    <input type="text" class="form-control" name="searchterm" />
19  </div>
20
21  <p>&nbsp;</p>
22  <div tal:condition="view/hitlist">
23    <h3>Search Results</h3>
24    <input type="hidden" name="old_searchterm"
25         tal:attributes="value view/searchterm" />
26    <input type="hidden" name="old_searchtype"
27         tal:attributes="value view/searchtype" />
28
29    <br /><br />
30    <table class="ikoba-data-table dataTableManage">
31      <thead>
32        <tr>
33          <th>&nbsp;</th>
34        <th i18n:translate="">Customer Id</th>
35        <th i18n:translate="">Reg. Number</th>
36        <th i18n:translate="">State</th>
37        <th i18n:translate="">Full Name</th>
38        </tr>
39      </thead>
40      <tbody>
41        <tr tal:repeat="item view/hitlist">
42          <td><input type="checkbox" name="entries"
43                     tal:attributes="value item/context/__name__" /></td>
44          <td> <a tal:attributes="href item/url">
45          <span tal:content="item/customer_id">A123456</span></a>
46        </td>
47        <td class="center"> <a tal:attributes="href item/url">
48          <span tal:content="item/reg_number">9999999</span></a>
49        </td>
50        <td tal:content="item/state">admitted</td>
51          <td tal:content="item/display_fullname">Bob</td>
52        </tr>
53      </tbody>
54    </table>
55    <input type="checkbox" onClick="toggle(this, 'entries')" />
56    <span  i18n:translate="">Select all</span>
57    <br /><br />
58    <input type="submit" name="remove"
59           tal:attributes="value view/remove_button" class="btn btn-default"
60           onclick="return confirmPost('Are you sure?')"/>
61
62  </div>
63</form>
Note: See TracBrowser for help on using the repository browser.