mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
o
This commit is contained in:
parent
0fc80da255
commit
850304b7b1
34 changed files with 1619 additions and 2 deletions
5
searx/templates/magi/messages/no_cookies.html
Normal file
5
searx/templates/magi/messages/no_cookies.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{% from 'simple/icons.html' import icon %}
|
||||
<div class="alert alert-info fade in" role="alert">
|
||||
<strong class="lead">{{ icon('info-sign') }} {{ _('Information!') }}</strong>
|
||||
{{ _('currently, there are no cookies defined.') }}
|
||||
</div>
|
||||
23
searx/templates/magi/messages/no_results.html
Normal file
23
searx/templates/magi/messages/no_results.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{% from 'simple/icons.html' import icon_big %}
|
||||
{% if unresponsive_engines %}
|
||||
<div class="dialog-error" role="alert">
|
||||
{{ icon_big('warning') }}
|
||||
<div>
|
||||
<p><strong>{{ _('Error!') }}</strong> {{ _('Engines cannot retrieve results.') }}</p>
|
||||
{% for engine_name, error_type in unresponsive_engines %}
|
||||
<p>{{- '' -}}
|
||||
{{- engine_name }} (
|
||||
<a href="{{ url_for('stats', engine=engine_name|e) }}" title="{{ _('View error logs and submit a bug report') }}">
|
||||
{{- error_type -}}
|
||||
</a> ){{- '' -}}
|
||||
</p>
|
||||
{%- endfor %}
|
||||
<p><small>{{ _('Please, try again later or find another SearXNG instance.') }} (<a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>) </small></p>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="dialog-error" role="alert">
|
||||
<p><strong>{{ _('Sorry!') }}</strong></p>
|
||||
<p>{{ _("we didn't find any results. Please use another query or search in more categories.") }}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue