on master help sign in
show time range support in preferences
commite3d748ded435aad8f1b11a4870011ae52e7c838f authorNoémi Ványi <sitbackandwait@gmail.com> dateSun 30 Oct 2016, 20:49 (10 years ago) parent6243639
1 file changed+2
searx/templates/oscar/preferences.html+2
searx/templates/oscar/preferences.html+2
@@ -158,6 +158,7 @@
158158 <th>{{ _("Engine name") }}</th>
159159 <th>{{ _("Shortcut") }}</th>
160160 <th>{{ _("SafeSearch") }}</th>
161+ <th>{{ _("Time range") }}</th>
161162 <th>{{ _("Avg. time") }}</th>
162163 <th>{{ _("Max time") }}</th>
163164 {% else %}
@@ -179,6 +180,7 @@
179180 <th>{{ search_engine.name }}</th>
180181 <td>{{ shortcuts[search_engine.name] }}</td>
181182 <td><input type="checkbox" {{ "checked" if search_engine.safesearch==True else ""}} readonly="readonly" disabled="disabled"></td>
183+ <td><input type="checkbox" {{ "checked" if search_engine.time_range_support==True else ""}} readonly="readonly" disabled="disabled"></td>
182184 <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>
183185 <td class="{{ 'danger' if stats[search_engine.name]['warn_timeout'] else '' }}">{{ search_engine.timeout }}</td>
184186 {% else %}