|
@@ -1,16 +1,17 @@
|
|
1
|
+{% from 'simple/macros.html' import icon %}
|
1
|
2
|
{% if unresponsive_engines %}
|
2
|
|
-<div class="alert alert-danger fade in" role="alert">
|
3
|
|
- <p><strong>{{ _('Error!') }}</strong> {{ _('Engines cannot retrieve results.') }}</p>
|
4
|
|
- <p>
|
5
|
|
- {% for engine_name, error_type in unresponsive_engines %}
|
6
|
|
- {{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %}
|
7
|
|
- {% endfor %}
|
8
|
|
- </p>
|
9
|
|
- <p><small>{{ _('Please, try again later or find another searx instance.') }}</small></p>
|
|
3
|
+<div class="dialog-error" role="alert">
|
|
4
|
+ <p><strong>{{ _('Error!') }}</strong> {{ _('Engines cannot retrieve results.') }}</p>
|
|
5
|
+ <p>
|
|
6
|
+ {% for engine_name, error_type in unresponsive_engines %}
|
|
7
|
+ {{ engine_name }} ({{ error_type }}){% if not loop.last %}, {% endif %}
|
|
8
|
+ {% endfor %}
|
|
9
|
+ </p>
|
|
10
|
+ <p><small>{{ _('Please, try again later or find another searx instance.') }}</small></p>
|
10
|
11
|
</div>
|
11
|
12
|
{% else %}
|
12
|
|
-<div class="alert alert-info fade in" role="alert">
|
13
|
|
- <strong>{{ _('Sorry!') }}</strong>
|
14
|
|
- {{ _('we didn\'t find any results. Please use another query or search in more categories.') }}
|
|
13
|
+<div class="dialog-error" role="alert">
|
|
14
|
+ <p><strong>{{ _('Sorry!') }}</strong></p>
|
|
15
|
+ <p>{{ _('we didn\'t find any results. Please use another query or search in more categories.') }}</p>
|
15
|
16
|
</div>
|
16
|
17
|
{% endif %}
|