add disable all and allow all engines button to Oscar preferences

This commit is contained in:
Noémi Ványi 2020-05-31 22:36:09 +02:00
parent d38952c133
commit d7d89369cb
4 changed files with 30 additions and 2 deletions

View file

@ -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>