source: main/ngren.theme/branches/filip-fixes/ngren/theme/browser/templates/searchbox.pt

Last change on this file was 10190, checked in by uli, 11 years ago

Add original theme as delivered by Fafalter.

File size: 2.2 KB
Line 
1<div id="portal-searchbox"
2     i18n:domain="plone"
3     tal:define="navigation_root_url view/navigation_root_url;
4                 search_input_id view/search_input_id;">
5
6    <form id="searchGadget_form" class="navbar-form pull-right"
7          action="@@search"
8          tal:attributes="action string:${navigation_root_url}/@@search;
9                          id string:${search_input_id}_form;">
10
11
12        <label class="hiddenStructure"
13               tal:attributes="for search_input_id"
14               i18n:translate="text_search">Search Site</label>
15
16        <input name="SearchableText"
17               type="text"
18               size="18"
19               value=""
20               title="Search Site"
21               placeholder="Search Site"
22               accesskey="4"
23               i18n:attributes="title title_search_site;
24                                placeholder title_search_site"
25               tal:attributes="value request/form/SearchableText|nothing;
26                               id search_input_id"
27               class="searchField" />
28
29        <button class="searchButton btn btn-primary btn-small search-btn"
30               type="submit"
31               i18n:attributes="value label_search;">Search</button>
32
33        <div class="searchSection">
34            <input id="searchbox_currentfolder_only"
35                   class="noborder"
36                   type="checkbox"
37                   name="path"
38                   tal:attributes="value view/folder_path;
39                                   checked request/form/path|nothing"
40                   />
41            <label for="searchbox_currentfolder_only"
42                   i18n:translate="label_searchbox_currentfolder_only"
43                   style="cursor: pointer">
44                only in current section
45            </label>
46        </div>
47
48        <div class="LSResult" id="LSResult"><div class="LSShadow" id="LSShadow"></div></div>
49    </form>
50
51    <div id="portal-advanced-search"
52         class="hiddenStructure">
53        <a href="#"
54           tal:attributes="href string:${navigation_root_url}/@@search"
55           i18n:translate="label_advanced_search"
56           accesskey="5">
57            Advanced Search&hellip;
58        </a>
59    </div>
60
61</div>
Note: See TracBrowser for help on using the repository browser.