LEFT | RIGHT |
1 {% extends theme("layout.html") %} | 1 {% extends theme("layout.html") %} |
2 {% import "forms.html" as forms %} | 2 {% import "forms.html" as forms %} |
3 {% import "utils.html" as utils %} | 3 {% import "utils.html" as utils %} |
4 | 4 |
5 {% set search_form = None %} {# layout will not show search form in header #} | 5 {% set search_form = None %} {# layout will not show search form in header #} |
6 | 6 |
7 {% block pagepath %} | 7 {% block pagepath %} |
8 {{ _("Search") }} | 8 {{ _("Search") }} |
9 {{ super() }} | 9 {{ super() }} |
10 {% endblock %} | 10 {% endblock %} |
11 | 11 |
12 {% block content %} | 12 {% block content %} |
13 <h1>{{_("Search")}}</h1> | 13 <h1>{{_("Search")}}</h1> |
14 {{ gen.form.open(medium_search_form, id='moin-long-searchform', method='get'
, action=url_for('frontend.search', item_name=item_name)) }} | 14 {{ gen.form.open(medium_search_form, id='moin-long-searchform', method='get'
, action=url_for('frontend.search', item_name=item_name)) }} |
15 <p> | 15 <p> |
16 {{ forms.render(medium_search_form['q']) }} | 16 {{ forms.render(medium_search_form['q']) }} |
17 {{ forms.render_submit(medium_search_form) }} | 17 {{ forms.render_submit(medium_search_form) }} |
18 </p> | 18 </p> |
19 <div class="moin-searchoption-bar"><h4 style="display:inline-block">Sear
ch Options</h4><span class="icon-chevron-down"></span></div> | 19 <div class="moin-search-option-bar"><h4 style="display:inline-block">Sea
rch Options</h4><span class="icon-chevron-down"></span></div> |
20 <div class="moin-searchoptions hidden"> | 20 <div class="moin-searchoptions hidden"> |
21 <table> | 21 <table> |
22 <tr colspan="4"> | 22 <tr colspan="4"> |
23 <th width="20%">Revisions</td> | 23 <th width="20%">Revisions</td> |
24 <th width="20%">Sort By Time</td> | 24 <th width="20%">Sort By Time</td> |
25 <th width="60%" colspan="3">Content Types</td> | 25 <th width="60%" colspan="3">Content Types</td> |
26 </tr> | 26 </tr> |
27 <tr> | 27 <tr> |
28 <td> | 28 <td> |
29 <label id="moin-option"><input type="radio" name="histor
y" value="latest" checked="checked"> Latest</label><br> | 29 <label id="moin-option"><input type="radio" name="histor
y" value="latest" checked="checked"> Latest</label><br> |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 {{ gen.form.close() }} | 62 {{ gen.form.close() }} |
63 <div id="finalresults"> | 63 <div id="finalresults"> |
64 {% include "ajaxsearch.html" %} | 64 {% include "ajaxsearch.html" %} |
65 </div> | 65 </div> |
66 {% endblock %} | 66 {% endblock %} |
67 | 67 |
68 {% block body_scripts %} | 68 {% block body_scripts %} |
69 <script src="{{ url_for('serve.files', name='jquery', filename='jquery.min.j
s') }}"></script> | 69 <script src="{{ url_for('serve.files', name='jquery', filename='jquery.min.j
s') }}"></script> |
70 <script src="{{ url_for('static', filename='js/search.js') }}"></script> | 70 <script src="{{ url_for('static', filename='js/search.js') }}"></script> |
71 {% endblock %} | 71 {% endblock %} |
LEFT | RIGHT |