diff options
author | Bnyro <bnyro@tutanota.com> | 2023-09-09 16:49:14 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-09-18 21:29:11 +0200 |
commit | a55e0ac553e608e5657573a8173aa5a040a49054 (patch) | |
tree | d3d7dbdd8648e1f5007756628c2bc7cbfb19d774 /searx/templates/simple/preferences | |
parent | 90b0bfd1bf30ecd6b6e8b54d300be5fba45aecca (diff) | |
download | searxng-a55e0ac553e608e5657573a8173aa5a040a49054.tar.gz searxng-a55e0ac553e608e5657573a8173aa5a040a49054.zip |
[feat] search on category select without JS
Co-authored-by: Alexandre Flament <alex@al-f.net>
Diffstat (limited to 'searx/templates/simple/preferences')
-rw-r--r-- | searx/templates/simple/preferences/search_on_category_select.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/searx/templates/simple/preferences/search_on_category_select.html b/searx/templates/simple/preferences/search_on_category_select.html new file mode 100644 index 000000000..2bc680a61 --- /dev/null +++ b/searx/templates/simple/preferences/search_on_category_select.html @@ -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>{{- '' -}}
\ No newline at end of file |