mirror of
https://github.com/searxng/searxng.git
synced 2024-11-16 17:40:11 +01:00
317db5b04f
Replace the on/off checkbox of the vim-hotkeys in the preferences by a drop-down menu. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
24 lines
808 B
HTML
24 lines
808 B
HTML
<fieldset>{{- '' -}}
|
|
<legend id="pref_hotkeys">{{- _('Hotkeys') -}}</legend>{{- '' -}}
|
|
<div class="value">{{- '' -}}
|
|
<select name="hotkeys" aria-labelledby="pref_hotkeys">{{- '' -}}
|
|
<option value="default"
|
|
{%- if hotkeys == 'default' %} selected="selected"
|
|
{%- endif -%}>
|
|
SearXNG{{- '' -}}
|
|
</option>{{- '' -}}
|
|
<option value="vim"
|
|
{%- if hotkeys == 'vim' %} selected="selected"
|
|
{%- endif -%}>
|
|
{{- _('Vim-like') -}}
|
|
</option>{{- '' -}}
|
|
</select>{{- '' -}}
|
|
</div>{{- '' -}}
|
|
<div class="description">
|
|
{{- _(
|
|
'Navigate search results with hotkeys (JavaScript required). '
|
|
'Press "h" key on main or result page to get help.'
|
|
) -}}
|
|
</div>{{- '' -}}
|
|
</fieldset>{{- '' -}}
|