Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame^] | 1 | <header> |
| 2 | <a href="/" class="logo" title="<%= title %>"><h1><span><%= title %></span></h1></a> |
| 3 | <div class="button top"> |
| 4 | <a href="#" class="login" title="<%= loc 'login' %>"><span><%= loc 'login' %></span></a> |
| 5 | </div> |
| 6 | <form autocomplete="off" action="/kalamar"> |
| 7 | <div id="searchbar"> |
| 8 | <input placeholder="<%= loc 'searchplaceholder' %>" name="q" id="q-field" autofocus="autofocus" type="search" /> |
| 9 | <button type="submit" title="<%= loc 'go' %>"><span><%= loc 'go' %></span></button> |
| 10 | </div> |
| 11 | <div id="vc-view"></div> |
| 12 | <%= loc 'in' %> <input type="hidden" id="vc-name" name="vc-name" value="Wikipedia" /> |
| 13 | <input type="text" name="vc" id="vc" value="corpusID = Wikipedia" /> |
| 14 | <%= loc 'with' %> <span class="select"> |
| 15 | <select name="ql" id="ql-field"> |
| 16 | <option value="poliqarp">Poliqarp</option> |
| 17 | <option value="cosmas2">Cosmas II</option> |
| 18 | <option value="annis">Annis</option> |
| 19 | <option value="cql">CQL v1.2</option> |
| 20 | </select> |
| 21 | </span> |
| 22 | <div class="button right"> |
| 23 | % param(cutoff => 1) unless param 'q'; |
| 24 | %= check_box cutoff => 1, id => 'q-cutoff-field', class => 'checkbox' |
| 25 | <label for="q-cutoff-field"><span></span><%= loc('glimpse') %></label> |
| 26 | % unless (current_route 'tutorial') { |
| 27 | <a href="/doc/faq" |
| 28 | title="<%= loc 'faq' %>" |
| 29 | class="question" |
| 30 | id="view-faq"><span><%= loc 'faq' %></span></a> |
| 31 | % }; |
| 32 | <a href="/doc" |
| 33 | title="<%= loc 'tutorial' %>" |
| 34 | class="tutorial" |
| 35 | id="view-tutorial"><span><%= loc 'tutorial' %></span></a> |
| 36 | </div> |
| 37 | </form> |
| 38 | </header> |