summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/simple/preferences')
-rw-r--r--searx/templates/simple/preferences/search_on_category_select.html16
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