blob: a994af10511f8d6db5de454f736cdb6c7958304c [file] [log] [blame]
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00001<header>
Nils Diewaldfccfbcb2015-04-29 20:48:19 +00002 <a href="/"
3 class="logo"
4 title="<%= title %>"><h1><span><%= title %></span></h1></a>
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00005 <div class="button top">
Nils Diewald19402142015-04-30 15:44:52 +00006<!--
Nils Diewaldfccfbcb2015-04-29 20:48:19 +00007 <a href="#"
8 class="login"
9 title="<%= loc 'login' %>"><span><%= loc 'login' %></span></a>
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000010-->
Nils Diewald19402142015-04-30 15:44:52 +000011 </div>
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000012 <form autocomplete="off" action="<%= url_for 'index' %>">
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000013 <div id="searchbar">
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000014 %= search_field 'q', id => 'q-field', autofocus => 'autofocus', placeholder => loc('searchplaceholder')
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000015 <button type="submit" title="<%= loc 'go' %>"><span><%= loc 'go' %></span></button>
16 </div>
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000017 <!-- Search in the following virtual collection -->
18 <!--
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000019 <div id="vc-view"></div>
20 <%= loc 'in' %> <input type="hidden" id="vc-name" name="vc-name" value="Wikipedia" />
21 <input type="text" name="vc" id="vc" value="corpusID = Wikipedia" />
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000022 -->
23 <%= loc 'with' %>
24 <span class="select">
25 %= select_field 'ql', [[Poliqarp => 'poliqarp'], ['Cosmas II' => 'cosmas2'], ['Annis' => 'annis'], ['CQL v1.2' => 'cql']], id => 'ql-field'
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000026 </span>
27 <div class="button right">
28 % param(cutoff => 1) unless param 'q';
29 %= check_box cutoff => 1, id => 'q-cutoff-field', class => 'checkbox'
30 <label for="q-cutoff-field"><span></span><%= loc('glimpse') %></label>
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000031<!--
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000032 % unless (current_route 'tutorial') {
33 <a href="/doc/faq"
34 title="<%= loc 'faq' %>"
35 class="question"
36 id="view-faq"><span><%= loc 'faq' %></span></a>
37 % };
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000038-->
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000039 <a href="/doc"
40 title="<%= loc 'tutorial' %>"
41 class="tutorial"
42 id="view-tutorial"><span><%= loc 'tutorial' %></span></a>
43 </div>
44 </form>
45</header>