mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Add autofocus to all search inputs
This commit is contained in:
parent
2d4d0bdc0c
commit
e84cdb66ae
6 changed files with 6 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
|
||||
<div id="search_wrapper">
|
||||
<div class="search_box">
|
||||
<input id="q" name="q" type="text" placeholder="{{ _('Search for...') }}" tabindex="1" autocomplete="off" spellcheck="false" dir="auto" {% if q %}value="{{ q }}"{% endif %} >
|
||||
<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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue