Retoor software development Projects Research SearchXNG
Register Sign In

8 lines
423 B
HTML
Raw Normal View History

[mod] separate index and search routes This makes it easier to separately handle search and index requests from a web server or from a reverse proxy. If a request to index contains a query, a permanent redirect HTTP response is returned. This should give some level of backwards compatibility for users that have set a searx instance in their browser's search bar.
2019-07-30 06:25:05 +02:00
<form method="{{ method or 'POST' }}" action="{{ url_for('search') }}" id="search_form">
Lots of courgette modification
2015-01-16 00:56:54 +01:00
<div id="search_wrapper">
Add autofocus to all search inputs
2020-05-27 14:49:00 +02:00
<input type="text" autofocus placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
Lots of courgette modification
2015-01-16 00:56:54 +01:00
<input type="submit" value="search" id="search_submit" />
</div>
{% include 'courgette/categories.html' %}
[mod] separate index and search routes This makes it easier to separately handle search and index requests from a web server or from a reverse proxy. If a request to index contains a query, a permanent redirect HTTP response is returned. This should give some level of backwards compatibility for users that have set a searx instance in their browser's search bar.
2019-07-30 06:25:05 +02:00
</form>
Reference in New Issue Copy Permalink
8d71420b45
searxng/searx/templates/courgette/search.html
Response time: 67ms
Mail Licenses API