summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2016-10-30 20:49:45 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2016-11-01 17:57:58 +0100
commite3d748ded435aad8f1b11a4870011ae52e7c838f (patch)
treed5b93738a4a6858722f0acf58959f5e1de0f9b35 /searx/templates
parent6243639f013b18fbdf6d667895f32fda6048d8f8 (diff)
show time range support in preferences
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 %}