{% if not rtl %}
- {{ _("Allow") }} |
- {{ _("Engine name") }} |
- {{ _("Shortcut") }} |
- {{ _("Selected language") }} |
- {{ _("SafeSearch") }} |
- {{ _("Time range") }} |
- {{ _("Avg. time") }} |
- {{ _("Max time") }} |
+ {{ _("Allow") }} |
+ {{ _("Engine name") }} |
+ {{ _("Shortcut") }} |
+ {{ _("Selected language") }} |
+ {{ _("SafeSearch") }} |
+ {{ _("Time range") }} |
+ {{ _("Avg. time") }} |
+ {{ _("Max time") }} |
{% else %}
- {{ _("Max time") }} |
- {{ _("Avg. time") }} |
- {{ _("Time range") }} |
- {{ _("SafeSearch") }} |
- {{ _("Selected language") }} |
- {{ _("Shortcut") }} |
- {{ _("Engine name") }} |
- {{ _("Allow") }} |
+ {{ _("Max time") }} |
+ {{ _("Avg. time") }} |
+ {{ _("Time range") }} |
+ {{ _("SafeSearch") }} |
+ {{ _("Selected language") }} |
+ {{ _("Shortcut") }} |
+ {{ _("Engine name") }} |
+ {{ _("Allow") }} |
{% endif %}
{% for search_engine in engines_by_category[categ] %}
@@ -199,21 +199,21 @@
{{ checkbox_toggle('engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_'), (search_engine.name, categ) in disabled_engines) }}
|
- {{ search_engine.name }} |
+ {{ search_engine.name }} |
{{ shortcuts[search_engine.name] }} |
{{ support_toggle(stats[search_engine.name].supports_selected_language) }} |
{{ support_toggle(search_engine.safesearch==True) }} |
{{ support_toggle(search_engine.time_range_support==True) }} |
- {{ 'N/A' if stats[search_engine.name].time==None else stats[search_engine.name].time }} |
- {{ search_engine.timeout }} |
- {% else %}
- {{ search_engine.timeout }} |
- {{ 'N/A' if stats[search_engine.name].time==None else stats[search_engine.name].time }} |
+ {% if stats[search_engine.name]['warn_time'] %}{{ icon('exclamation-sign')}} {% endif %}{{ 'N/A' if stats[search_engine.name].time==None else stats[search_engine.name].time }} |
+ {% if stats[search_engine.name]['warn_timeout'] %}{{ icon('exclamation-sign') }} {% endif %}{{ search_engine.timeout }} |
+ {% else %}
+ {{ search_engine.timeout }}{% if stats[search_engine.name]['warn_time'] %} {{ icon('exclamation-sign')}}{% endif %} |
+ {{ 'N/A' if stats[search_engine.name].time==None else stats[search_engine.name].time }}{% if stats[search_engine.name]['warn_time'] %} {{ icon('exclamation-sign')}}{% endif %} |
{{ support_toggle(search_engine.time_range_support==True) }} |
{{ support_toggle(search_engine.safesearch==True) }} |
{{ support_toggle(stats[search_engine.name].supports_selected_language) }} |
{{ shortcuts[search_engine.name] }} |
- {{ search_engine.name }} |
+ {{ search_engine.name }} |
{{ checkbox_toggle('engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_'), (search_engine.name, categ) in disabled_engines) }}
|
@@ -241,7 +241,7 @@
{{ _(plugin.name) }}
-
{{ _(plugin.description) }}
+
{{ checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) }}
diff --git a/searx/templates/oscar/result_templates/default.html b/searx/templates/oscar/result_templates/default.html
index 885cbbfa8..57365f34e 100644
--- a/searx/templates/oscar/result_templates/default.html
+++ b/searx/templates/oscar/result_templates/default.html
@@ -16,7 +16,7 @@
{%- if result.img_src -%}
-
+
{% if result.content %}
{{ result.content|safe }}
{% endif -%}
diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html
index 51ed5a025..6d9101d2e 100644
--- a/searx/templates/oscar/result_templates/videos.html
+++ b/searx/templates/oscar/result_templates/videos.html
@@ -15,7 +15,7 @@
-
+
{% if result.author %}
{{ _('Author') }}: {{ result.author }}
{% endif %}
{% if result.length %}
{{ _('Length') }}: {{ result.length }}
{% endif %}
{% if result.content %}
{{ result.content|safe }}
{% endif %}
diff --git a/searx/templates/oscar/time-range.html b/searx/templates/oscar/time-range.html
index fb1c0754b..181b57681 100644
--- a/searx/templates/oscar/time-range.html
+++ b/searx/templates/oscar/time-range.html
@@ -1,3 +1,4 @@
+