mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
ee67a65180
Suggested-by: @dalf https://github.com/searxng/searxng/pull/473#issuecomment-962476683 Suggested-by: @MrPaulBlack https://github.com/searxng/searxng/pull/473#issuecomment-962579826 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
23 lines
1.3 KiB
HTML
23 lines
1.3 KiB
HTML
<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
|
|
<a id="search_logo" href="{{ url_for('index') }}">
|
|
<span hidden>SearXNG</span>
|
|
{% include '__common__/searxng-wordmark.min.svg' without context %}
|
|
</a>
|
|
<div id="search_wrapper">
|
|
<div class="search_box">
|
|
<input id="q" autofocus name="q" type="text" placeholder="{{ _('Search for...') }}" tabindex="1" autocomplete="off" spellcheck="false" dir="auto" {% if q %}value="{{ q }}"{% endif %} >
|
|
<button id="clear_search" type="button" tabindex="-1"><span class="hide_if_nojs">{{ icon('close') }}</span><span class="show_if_nojs">{{ _('Clear search') }}</span></button>
|
|
<button id="send_search" type="submit" tabindex="-1"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="show_if_nojs">{{ _('Start search') }}</span></button>
|
|
</div>
|
|
<div class="search_filters">
|
|
{% include 'simple/languages.html' %}
|
|
{% include 'simple/time-range.html' %}
|
|
</div>
|
|
</div>
|
|
{% set display_tooltip = true %}
|
|
{% include 'simple/categories.html' %}
|
|
<input type="hidden" name="safesearch" value="{{ safesearch }}" >
|
|
<input type="hidden" name="theme" value="{{ theme }}" >
|
|
{% if timeout_limit %}<input type="hidden" name="timeout_limit" value="{{ timeout_limit|e }}" >{% endif %}
|
|
</form>
|