source: main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/customers/browser_templates/containermanagepage.pt @ 12294

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

More renaming.

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