source: main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/searchpage.pt @ 6374

Last change on this file since 6374 was 5918, checked in by Henrik Bettermann, 14 years ago

Change some titles.

File size: 1.2 KB
Line 
1<form method="POST">
2  <input type="submit" name="search" value="Search" />
3  for scratch cards
4
5  <select name="searchtype">
6    <option value="stud_id">
7      used by student with ID
8    </option>
9    <option value="pin">with PIN</option>
10    <option value="serial">with serial</option>
11  </select>:
12
13  <input type="text" name="searchterm" />
14  <br /><br />
15  <b>complete numbers only</b>
16  (Student ID means registration number for APP SCs)
17  <br />
18
19  <p>&nbsp;</p>
20  <div tal:condition="view/searchresults">
21    <h3>Search Results</h3>
22    <table>
23      <thead>
24        <tr>
25          <th>&nbsp;</th>
26          <th>Serial</th><th>AC</th><th>Status</th>
27        </tr>
28      </thead>
29      <tbody>
30        <tr tal:repeat="item view/searchresults"
31            tal:attributes="class python: repeat['item'].odd() and 'even' or 'odd'">
32          <td><input type="checkbox" name="entries"
33                     tal:attributes="value item/code" /></td>
34          <td tal:content="item/serial">1</td>
35          <td tal:content="item/code">APP-1-1234567890</td>
36          <td tal:content="item/status">unused</td>
37        </tr>
38      </tbody>
39    </table>
40
41    <input type="submit" name="disable" value="Disable ACs" />
42    <input type="submit" name="enable" value="Enable ACs" />
43
44  </div>
45</form>
Note: See TracBrowser for help on using the repository browser.