2022-02-05 07:56:42 +00:00
|
|
|
<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('search') }}" role="search">
|
2021-11-21 20:38:00 +00:00
|
|
|
<div id="search_header">
|
2022-02-05 07:56:42 +00:00
|
|
|
<a id="search_logo" href="{{ url_for('index') }}" tabindex="0" title="{{ _('Display the front page') }}">
|
2021-11-21 20:38:00 +00:00
|
|
|
<span hidden>SearXNG</span>
|
|
|
|
{% include '__common__/searxng-wordmark.min.svg' without context %}
|
|
|
|
</a>
|
2017-02-12 14:06:01 +00:00
|
|
|
<div class="search_box">
|
2022-02-27 07:30:19 +00:00
|
|
|
<input id="q" autofocus name="q" type="text" placeholder="{{ _('Search for...') }}" autocomplete="off" spellcheck="false" dir="auto" value="{{ q or '' }}">
|
|
|
|
<button id="clear_search" type="reset" aria-label="{{ _('clear') }}"><span class="hide_if_nojs">{{ icon_big('close') }}</span><span class="show_if_nojs">{{ _('clear') }}</span></button>
|
2022-02-05 07:56:42 +00:00
|
|
|
<button id="send_search" type="submit" aria-label="{{ _('search') }}"><span class="hide_if_nojs">{{ icon_big('search-outline') }}</span><span class="show_if_nojs">{{ _('search') }}</span></button>
|
2017-02-12 14:06:01 +00:00
|
|
|
</div>
|
2021-11-21 20:38:00 +00:00
|
|
|
{% set display_tooltip = true %}
|
|
|
|
{% include 'simple/categories.html' %}
|
|
|
|
</div>
|
|
|
|
<div class="search_filters">
|
|
|
|
{% include 'simple/filters/languages.html' %}
|
|
|
|
{% include 'simple/filters/time_range.html' %}
|
|
|
|
{% include 'simple/filters/safesearch.html' %}
|
2017-02-12 14:06:01 +00:00
|
|
|
</div>
|
|
|
|
<input type="hidden" name="theme" value="{{ theme }}" >
|
2019-08-02 11:50:51 +00:00
|
|
|
{% if timeout_limit %}<input type="hidden" name="timeout_limit" value="{{ timeout_limit|e }}" >{% endif %}
|
2017-02-12 14:06:01 +00:00
|
|
|
</form>
|