summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/preferences.html
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2020-05-31 22:36:09 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2020-05-31 23:39:21 +0200
commitd7d89369cb3f9d33855749f13c410fb444a81104 (patch)
tree3d607a365293db799b2948e86956243a8db7b09a /searx/templates/oscar/preferences.html
parentd38952c1335d3c6f8615870b11ef9737b203ad49 (diff)
downloadsearxng-d7d89369cb3f9d33855749f13c410fb444a81104.tar.gz
searxng-d7d89369cb3f9d33855749f13c410fb444a81104.zip
add disable all and allow all engines button to Oscar preferences
Diffstat (limited to 'searx/templates/oscar/preferences.html')
-rw-r--r--searx/templates/oscar/preferences.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index b03929df3..38d9c7b04 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -155,6 +155,14 @@
<!-- Tab panes -->
<div class="tab-content">
+
+ <div class="hide_if_nojs">
+ <p class="text-{% if rtl %}left{% else %}right{% endif %}">
+ <button type="button" class="btn btn-default btn-success" id="allow-all-engines">{{ _("Allow all") }}</button>
+ <button type="button" class="btn btn-default btn-danger" id="disable-all-engines">{{ _("Disable all") }}</button>
+ </p>
+ </div>
+
{% for categ in all_categories %}
<noscript><label>{{ _(categ) }}</label>
</noscript>