1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml" |
---|
3 | xmlns:py="http://genshi.edgewall.org/" |
---|
4 | xmlns:xi="http://www.w3.org/2001/XInclude"> |
---|
5 | <xi:include href="../layout.html" /> |
---|
6 | <xi:include href="atom_functions.html" /> |
---|
7 | <xi:include href="../atom_list_results.html" /> |
---|
8 | <head> |
---|
9 | <title py:content="c.title">title</title> |
---|
10 | </head> |
---|
11 | <?python from milk_server.controllers.atom_editor.editorconstants import *?> |
---|
12 | |
---|
13 | <body class="submit"> |
---|
14 | <panelTab>Editor</panelTab> |
---|
15 | <div id="contents"> |
---|
16 | <div class="metadata"> |
---|
17 | <h3> $c.title |
---|
18 | <span py:replace="helpIcon('list_help', 'div')"/> |
---|
19 | <div id="list_help" class="hidden" > |
---|
20 | <div class="helptxt"> |
---|
21 | $g.list_help |
---|
22 | </div> |
---|
23 | </div> |
---|
24 | </h3> |
---|
25 | <div class="headingblock"> |
---|
26 | <form action="${c.searchLink}" method="post"> |
---|
27 | <table> |
---|
28 | <tr><td colspan="3" class="linehead">Search filter</td></tr> |
---|
29 | <tr> |
---|
30 | <td class="cellhead">Provider ID:</td> |
---|
31 | <td> |
---|
32 | ${Markup(h.select('providerID',option_tags=c.providerIDs, class_="fullWidth"))} |
---|
33 | </td> |
---|
34 | </tr> |
---|
35 | <tr> |
---|
36 | <td class="cellhead">Data Type:</td> |
---|
37 | <td> |
---|
38 | ${Markup(h.select('atomTypeID',option_tags=c.atomTypes, class_="fullWidth"))} |
---|
39 | </td> |
---|
40 | </tr> |
---|
41 | <tr><td class="cellhead">Search text: |
---|
42 | <span py:replace="helpIcon('search_text_help', 'tr')"/> |
---|
43 | </td> |
---|
44 | <td> |
---|
45 | ${Markup(h.text_field('title',c.searchTerm, class_="fullWidth"))} |
---|
46 | </td> |
---|
47 | </tr> |
---|
48 | <tr id="search_text_help" class="hidden" > |
---|
49 | <td class="helptxt" colspan="2">${Markup(g.search_text)}</td> |
---|
50 | </tr> |
---|
51 | <tr> |
---|
52 | <td></td> |
---|
53 | <td> |
---|
54 | ${Markup(h.submit('Search', **{'onclick': 'Div_show("loading");'}))} |
---|
55 | </td> |
---|
56 | </tr></table> |
---|
57 | </form> |
---|
58 | </div> |
---|
59 | </div> |
---|
60 | <div py:if="c.searchData" class="metadata"> |
---|
61 | <div py:replace="AtomListResults(c.results)" /> |
---|
62 | </div> |
---|
63 | </div> |
---|
64 | </body> |
---|
65 | </html> |
---|