mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[feat] search on category select without JS
Co-authored-by: Alexandre Flament <alex@al-f.net>
This commit is contained in:
parent
90b0bfd1bf
commit
a55e0ac553
12 changed files with 118 additions and 68 deletions
|
|
@ -0,0 +1,16 @@
|
|||
<fieldset>{{- '' -}}
|
||||
<legend>{{ _('Search on category select') }}</legend>{{- '' -}}
|
||||
<p class="value">{{- '' -}}
|
||||
<input type="checkbox" {{- ' ' -}}
|
||||
name="search_on_category_select" {{- ' ' -}}
|
||||
aria-labelledby="pref_search_on_category_select" {{- ' ' -}}
|
||||
class="checkbox-onoff" {{- ' ' -}}
|
||||
{%- if preferences.get_value('search_on_category_select') -%}
|
||||
checked
|
||||
{%- endif -%}{{- ' ' -}}
|
||||
/>{{- '' -}}
|
||||
</p>{{- '' -}}
|
||||
<div class="description">
|
||||
{{- _('Perform search immediately if a category selected. Disable to select multiple categories') -}}
|
||||
</div>{{- '' -}}
|
||||
</fieldset>{{- '' -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue