Last change
on this file since 7713 was
7459,
checked in by Henrik Bettermann, 13 years ago
|
Merge Bootstrap branch into trunk.
|
File size:
1.6 KB
|
Line | |
---|
1 | <form method="POST"> |
---|
2 | |
---|
3 | <br /> |
---|
4 | |
---|
5 | <input type="submit" class="btn primary" name="search" value="Search" /> |
---|
6 | for access codes |
---|
7 | |
---|
8 | <select name="searchtype"> |
---|
9 | <option value="code">with PIN</option> |
---|
10 | <option value="batch_serial">with serial</option> |
---|
11 | <option value="history">with message term</option> |
---|
12 | </select> |
---|
13 | |
---|
14 | <input type="text" name="searchterm" /> |
---|
15 | |
---|
16 | <p> </p> |
---|
17 | <div tal:condition="view/hitlist"> |
---|
18 | <h3>Search Results</h3> |
---|
19 | <input type="hidden" name="old_searchterm" |
---|
20 | tal:attributes="value view/searchterm" /> |
---|
21 | <input type="hidden" name="old_searchtype" |
---|
22 | tal:attributes="value view/searchtype" /> |
---|
23 | <table class="display dataTableManage"> |
---|
24 | <thead> |
---|
25 | <tr> |
---|
26 | <th> </th> |
---|
27 | <th width="50px">Serial</th> |
---|
28 | <th>AC</th> |
---|
29 | <th>State</th> |
---|
30 | <th>Owner</th> |
---|
31 | <th>History</th> |
---|
32 | </tr> |
---|
33 | </thead> |
---|
34 | <tbody> |
---|
35 | <tr tal:repeat="item view/hitlist"> |
---|
36 | <td><input type="checkbox" name="entries" |
---|
37 | tal:attributes="value item/code" /></td> |
---|
38 | <td tal:content="item/batch_serial">1</td> |
---|
39 | <td tal:content="item/code">APP-1-1234567890</td> |
---|
40 | <td tal:content="item/state">unused</td> |
---|
41 | <td tal:content="item/owner">Id</td> |
---|
42 | <td tal:content="structure python:item.history.replace('||','<br />')"> |
---|
43 | history |
---|
44 | </td> |
---|
45 | </tr> |
---|
46 | </tbody> |
---|
47 | </table> |
---|
48 | <div> |
---|
49 | <input type="submit" class="btn" name="disable" value="Disable ACs" /> |
---|
50 | <input type="submit" class="btn" name="enable" value="Enable ACs" /> |
---|
51 | </div> |
---|
52 | |
---|
53 | </div> |
---|
54 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.