summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-11-01 20:01:51 +0100
committerGitHub <noreply@github.com>2016-11-01 20:01:51 +0100
commite23c8f954b6ae0f1100167d39b73e2037384c154 (patch)
tree87547b424edec417b3306e84c92bae1af5ede295 /searx/templates
parent6243639f013b18fbdf6d667895f32fda6048d8f8 (diff)
parent1490d6bc939a59458a6ae9a56045064a3fc8b7a4 (diff)
Merge pull request #746 from kvch/moar-time-range-support
Support time range search in more engines
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/preferences.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index 283b7ba88..85e90d17d 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -158,6 +158,7 @@
<th>{{ _("Engine name") }}</th>
<th>{{ _("Shortcut") }}</th>
<th>{{ _("SafeSearch") }}</th>
+ <th>{{ _("Time range") }}</th>
<th>{{ _("Avg. time") }}</th>
<th>{{ _("Max time") }}</th>
{% else %}
@@ -179,6 +180,7 @@
<th>{{ search_engine.name }}</th>
<td>{{ shortcuts[search_engine.name] }}</td>
<td><input type="checkbox" {{ "checked" if search_engine.safesearch==True else ""}} readonly="readonly" disabled="disabled"></td>
+ <td><input type="checkbox" {{ "checked" if search_engine.time_range_support==True else ""}} readonly="readonly" disabled="disabled"></td>
<td class="{{ 'danger' if stats[search_engine.name]['warn_time'] else '' }}">{{ 'N/A' if stats[search_engine.name].time==None else stats[search_engine.name].time }}</td>
<td class="{{ 'danger' if stats[search_engine.name]['warn_timeout'] else '' }}">{{ search_engine.timeout }}</td>
{% else %}