summaryrefslogtreecommitdiff
path: root/searx/templates/simple/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/simple/base.html')
-rw-r--r--searx/templates/simple/base.html33
1 files changed, 25 insertions, 8 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index d8eaaa02b..a2464a1a5 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
+<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }} center-aligment-{{ preferences.get_value('center_alignment') and 'yes' or 'no' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
<head>
<meta charset="UTF-8" />
<meta name="description" content="SearXNG — a privacy-respecting, hackable metasearch engine">
@@ -40,10 +40,20 @@
</div>
{% endif %}
- {% block linkto_preferences %}
- {% from 'simple/icons.html' import icon_big %}
- <nav id="linkto_preferences"><a href="{{ url_for('preferences') }}" aria-label="{{ _('preferences') }}">{{ icon_big('menu-outline') }}</a></nav>
- {% endblock %}
+ <nav id="links_on_top">
+ {%- from 'simple/icons.html' import icon_big -%}
+ {%- block linkto_about -%}
+ <a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('information-circle-outline') }}<span>{{ _('About') }}</span></a>
+ {%- endblock -%}
+ {%- block linkto_donate -%}
+ {%- if donation_url -%}
+ <a href="{{ donation_url }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a>
+ {%- endif -%}
+ {%- endblock -%}
+ {%- block linkto_preferences -%}
+ <a href="{{ url_for('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}<span>{{ _('Preferences') }}</span></a>
+ {%- endblock -%}
+ </nav>
{% block header %}
{% endblock %}
{% block content %}
@@ -54,9 +64,16 @@
{{ _('Powered by') }} <a href="{{ url_for('info', pagename='about') }}">searxng</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a> |
<a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a> |
- <a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a> |
- <a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>{% if get_setting('general.contact_url') %} |
- <a href="{{ get_setting('general.contact_url') }}">{{ _('Contact instance maintainer') }}</a>{% endif %}
+ <a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a>
+ {% if get_setting('brand.public_instances') %}
+ | <a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>
+ {% endif %}
+ {% if get_setting('general.privacypolicy_url') %}
+ | <a href="{{ get_setting('general.privacypolicy_url') }}">{{ _('Privacy policy') }}</a>
+ {% endif %}
+ {% if get_setting('general.contact_url') %}
+ | <a href="{{ get_setting('general.contact_url') }}">{{ _('Contact instance maintainer') }}</a>
+ {% endif %}
</p>
</footer>
<!--[if gte IE 9]>-->