diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-11-13 12:19:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-13 12:19:08 +0100 |
| commit | 7a9dda51d2f532089396e97a890e1727c1e872d1 (patch) | |
| tree | 311aa6e2ea2054d51e29bad48981eb1c69e1957d /searx/templates/simple/messages | |
| parent | 8877512e20edf86221b1de66808e2ab284770844 (diff) | |
| parent | 29e092b9310c961bf730d41e43e77af4c9c50563 (diff) | |
Merge pull request #488 from MrPaulBlack/category-icons
[simple theme] add icons to category and drop webfont
Diffstat (limited to 'searx/templates/simple/messages')
| -rw-r--r-- | searx/templates/simple/messages/no_results.html | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/searx/templates/simple/messages/no_results.html b/searx/templates/simple/messages/no_results.html index a3ab97758..b98f834e6 100644 --- a/searx/templates/simple/messages/no_results.html +++ b/searx/templates/simple/messages/no_results.html @@ -1,17 +1,19 @@ -{% from 'simple/macros.html' import icon %} +{% from 'simple/icons.html' import icon_big %} {% if unresponsive_engines %} <div class="dialog-error" role="alert"> - <p><strong>{{ _('Error!') }}</strong> {{ _('Engines cannot retrieve results.') }}</p> - {% for engine_name, error_type in unresponsive_engines %} - <p>{{- '' -}} - {{- engine_name }} ( + {{ 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 -}} + {{- 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> + </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"> |