2016-11-14 21:07:23 +00:00
|
|
|
|
{% from 'oscar/macros.html' import icon %}
|
2014-09-22 20:42:29 +00:00
|
|
|
|
<!DOCTYPE html>
|
2021-10-05 13:03:28 +00:00
|
|
|
|
<html lang="{{ locale_rfc5646 }}" xml:lang="{{ locale_rfc5646 }}"{% if rtl %} dir="rtl"{% endif %} class="nojs">
|
2014-09-22 20:42:29 +00:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
2021-09-30 15:55:22 +00:00
|
|
|
|
<meta name="description" content="SearXNG - a privacy-respecting, hackable metasearch engine" />
|
|
|
|
|
<meta name="keywords" content="SearXNG, search, search engine, metasearch, meta search" />
|
|
|
|
|
<meta name="generator" content="SearXNG/{{ searx_version }}">
|
2015-04-26 13:48:48 +00:00
|
|
|
|
<meta name="referrer" content="no-referrer">
|
2020-06-27 14:37:27 +00:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=2.0, user-scalable=1" />
|
2015-01-10 14:24:21 +00:00
|
|
|
|
{% block meta %}{% endblock %}
|
2019-08-06 09:41:16 +00:00
|
|
|
|
<title>{% block title %}{% endblock %}{{ instance_name }}</title>
|
2015-01-18 12:54:24 +00:00
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
|
2019-08-06 09:41:16 +00:00
|
|
|
|
{% if preferences.get_value('oscar-style') -%}
|
|
|
|
|
{{' '}}<link rel="stylesheet" href="{{ url_for('static', filename='css/'+preferences.get_value('oscar-style')+'.min.css') }}" type="text/css" />
|
|
|
|
|
{%- else -%}
|
|
|
|
|
{{' '}}<link rel="stylesheet" href="{{ url_for('static', filename='css/logicodev.min.css') }}" type="text/css" />
|
|
|
|
|
{%- endif %}
|
|
|
|
|
|
2021-03-10 13:34:33 +00:00
|
|
|
|
{% set templates = results|map(attribute='template')|unique|list -%}
|
|
|
|
|
{%- set load_leaflet = 'map.html' in templates -%}
|
|
|
|
|
{%- if load_leaflet -%}
|
|
|
|
|
{{' '}}<link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.min.css') }}" type="text/css" />
|
|
|
|
|
{%- endif %}
|
|
|
|
|
|
2019-08-06 09:41:16 +00:00
|
|
|
|
{%- for css in styles %}
|
2015-04-12 17:24:01 +00:00
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename=css) }}" type="text/css" />
|
|
|
|
|
{% endfor %}
|
2014-11-02 12:00:28 +00:00
|
|
|
|
|
2014-09-22 20:42:29 +00:00
|
|
|
|
<link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
|
|
|
|
|
|
|
|
|
|
{% block styles %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% block head %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
2020-10-05 13:38:05 +00:00
|
|
|
|
<link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ opensearch_url }}"/>
|
2014-11-03 21:18:40 +00:00
|
|
|
|
<noscript>
|
|
|
|
|
<style type="text/css">
|
2015-01-15 15:03:30 +00:00
|
|
|
|
.tab-content > .active_if_nojs, .active_if_nojs {display: block !important; visibility: visible !important;}
|
2015-01-15 14:48:50 +00:00
|
|
|
|
.margin_top_if_nojs {margin-top: 20px;}
|
2020-06-28 18:44:33 +00:00
|
|
|
|
.hide_if_nojs {display: none !important;overflow: hidden !important;}
|
2015-01-15 14:55:39 +00:00
|
|
|
|
.disabled_if_nojs {pointer-events: none; cursor: default; text-decoration: line-through;}
|
2014-11-03 21:18:40 +00:00
|
|
|
|
</style>
|
|
|
|
|
</noscript>
|
2014-09-22 20:42:29 +00:00
|
|
|
|
</head>
|
2020-06-04 17:20:44 +00:00
|
|
|
|
<body class="{{ endpoint }}_endpoint" >
|
2014-09-22 20:42:29 +00:00
|
|
|
|
{% include 'oscar/navbar.html' %}
|
2019-08-06 09:41:16 +00:00
|
|
|
|
|
2016-06-25 23:57:43 +00:00
|
|
|
|
<div class="container">
|
2016-11-14 21:07:23 +00:00
|
|
|
|
{% if errors %}
|
|
|
|
|
<div class="alert alert-danger fade in" role="alert">
|
|
|
|
|
<button class="close" data-dismiss="alert" type="button">
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
<span class="sr-only">{{ _('Close') }}</span>
|
|
|
|
|
</button>
|
|
|
|
|
<strong class="lead">{{ icon('info-sign') }} {{ _('Error!') }}</strong>
|
|
|
|
|
<ul>
|
|
|
|
|
{% for message in errors %}
|
|
|
|
|
<li>{{ message }}</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
2015-02-14 00:42:06 +00:00
|
|
|
|
|
2014-09-22 20:42:29 +00:00
|
|
|
|
{% block site_alert_error %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% block site_alert_warning %}
|
|
|
|
|
{% endblock %}
|
2014-09-26 21:29:14 +00:00
|
|
|
|
{% block site_alert_info %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% block site_alert_success %}
|
|
|
|
|
{% endblock %}
|
2015-02-14 00:42:06 +00:00
|
|
|
|
|
2014-09-22 20:42:29 +00:00
|
|
|
|
{% block content %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer">
|
|
|
|
|
<div class="container">
|
|
|
|
|
{% block footer %}
|
|
|
|
|
{% endblock %}
|
2017-12-08 20:37:22 +00:00
|
|
|
|
<p class="text-muted">
|
|
|
|
|
<small>
|
2021-07-18 13:38:52 +00:00
|
|
|
|
{{ _('Powered by') }} <a href="{{ get_setting('brand.docs_url') }}">SearXNG</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
|
2021-07-27 16:37:46 +00:00
|
|
|
|
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a> |
|
2021-07-18 13:38:52 +00:00
|
|
|
|
<a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a> |
|
2021-09-12 08:37:21 +00:00
|
|
|
|
<a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a> |
|
2021-07-18 13:38:52 +00:00
|
|
|
|
<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 %}
|
2017-12-08 20:37:22 +00:00
|
|
|
|
</small>
|
|
|
|
|
</p>
|
2014-09-22 20:42:29 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-03-10 17:28:58 +00:00
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
|
2014-09-22 20:42:29 +00:00
|
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
|
2021-03-10 17:28:58 +00:00
|
|
|
|
{% if load_leaflet %}{{" "}}<script src="{{ url_for('static', filename='js/leaflet.js') }}"></script>{{ "\n" }}{% endif %}
|
2021-03-10 13:34:33 +00:00
|
|
|
|
{% if autocomplete %}{{" "}}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js') }}"></script>{{ "\n" }}{% endif %}
|
2019-08-06 09:41:16 +00:00
|
|
|
|
|
2021-09-30 15:55:22 +00:00
|
|
|
|
<script src="{{ url_for('static', filename='js/searxng.min.js') }}"
|
2019-07-23 12:13:38 +00:00
|
|
|
|
data-method="{{ method or 'POST' }}"
|
2021-03-16 10:07:04 +00:00
|
|
|
|
data-autocompleter="{% if autocomplete %}true{% else %}false{% endif %}"
|
2022-01-23 10:37:57 +00:00
|
|
|
|
data-infinite-scroll="{% if infinite_scroll %}true{% else %}false{% endif %}"
|
2021-03-16 10:07:04 +00:00
|
|
|
|
data-translations="{{ translations }}"></script>
|
2015-04-12 17:24:01 +00:00
|
|
|
|
{% for script in scripts %}
|
2019-08-06 09:41:16 +00:00
|
|
|
|
{{""}}<script src="{{ url_for('static', filename=script) }}"></script>
|
2015-04-12 17:24:01 +00:00
|
|
|
|
{% endfor %}
|
2017-01-27 00:19:49 +00:00
|
|
|
|
<noscript>
|
|
|
|
|
<style>
|
|
|
|
|
.glyphicon { display: none; }
|
|
|
|
|
</style>
|
|
|
|
|
</noscript>
|
2014-09-22 20:42:29 +00:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|