libremiami-search/searx/templates/oscar/base.html
Adam Tauber 832cf37a97 [enh] display errors
also tried flask's flash feature but flask creates session cookies if it
isn't flushed. Avoiding session cookies to preserve privacy
2016-11-14 22:07:23 +01:00

4.4 KiB
Raw Blame History

{% from 'oscar/macros.html' import icon %} <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"{% if rtl %} dir="rtl"{% endif %}> <head> {% block meta %}{% endblock %} {% if cookies['oscar-style'] %} {% else %} {% endif %} {% for css in styles %} {% endfor %} {% block styles %} {% endblock %} {% block head %} {% endblock %} </head> {% include 'oscar/navbar.html' %}
{% if errors %}
{{ icon('info-sign') }} {{ _('Error!') }}
    {% for message in errors %}
  • {{ message }}
  • {% endfor %}
{% endif %} {% block site_alert_error %} {% endblock %} {% block site_alert_warning %} {% endblock %} {% block site_alert_info %} {% endblock %} {% block site_alert_success %} {% endblock %} {% block content %} {% endblock %}
{% block footer %} {% endblock %}

{{ _('Powered by') }} searx - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}

{% if autocomplete %}{% endif %} {% for script in scripts %} {% endfor %} </html>