diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-06-01 06:23:45 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-01 06:23:45 +0000 |
| commit | 74135007ebe2beba5daeb45437ff781a537e4237 (patch) | |
| tree | 6928e1f4c4f5afcc79e987ddb1c1ceb66df2e395 /searx/templates | |
| parent | ee5d2b319b878e34308cf0761375ca1481edf473 (diff) | |
| parent | 19e32dc686e40f5e7ec1653f4a05aaa75cb17d80 (diff) | |
Merge branch 'master' into gigablast
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/oscar/preferences.html | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index b03929df3..0d96ff5f2 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> @@ -174,14 +182,14 @@ <th>{{ _("Avg. time") }}</th> <th>{{ _("Max time") }}</th> {% else %} - <th>{{ _("Max time") }}</th> - <th>{{ _("Avg. time") }}</th> - <th>{{ _("Time range") }}</th> - <th>{{ _("SafeSearch") }}</th> - <th>{{ _("Selected language") }}</th> - <th>{{ _("Shortcut") }}</th> - <th>{{ _("Engine name") }}</th> - <th>{{ _("Allow") }}</th> + <th class="text-right">{{ _("Max time") }}</th> + <th class="text-right">{{ _("Avg. time") }}</th> + <th class="text-right">{{ _("Time range") }}</th> + <th class="text-right">{{ _("SafeSearch") }}</th> + <th class="text-right">{{ _("Selected language") }}</th> + <th class="text-right">{{ _("Shortcut") }}</th> + <th class="text-right">{{ _("Engine name") }}</th> + <th class="text-right">{{ _("Allow") }}</th> {% endif %} </tr> {% for search_engine in engines_by_category[categ] %} @@ -256,10 +264,10 @@ </p> <table class="table table-striped"> <tr> - <th class="text-muted">{{ _('Name') }}</th> - <th class="text-muted">{{ _('Keywords') }}</th> - <th class="text-muted">{{ _('Description') }}</th> - <th class="text-muted">{{ _('Examples') }}</th> + <th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Name') }}</th> + <th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Keywords') }}</th> + <th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Description') }}</th> + <th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Examples') }}</th> </tr> {% for answerer in answerers %} @@ -285,8 +293,8 @@ {% if cookies %} <table class="table table-striped"> <tr> - <th class="text-muted" style="padding-right:40px;">{{ _('Cookie name') }}</th> - <th class="text-muted">{{ _('Value') }}</th> + <th class="text-muted{% if rtl %} text-right{% endif %}" style="padding-right:40px;">{{ _('Cookie name') }}</th> + <th class="text-muted{% if rtl %} text-right{% endif %}">{{ _('Value') }}</th> </tr> {% for cookie in cookies %} |