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-03-22 11:00:48 +00:00
|
|
|
|
<html lang="{{ preferences.get_value('locale') }}" xml:lang="{{ preferences.get_value('locale') }}"{% if rtl %} dir="rtl"{% endif %} class="nojs">
|
2014-09-22 20:42:29 +00:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
2016-08-15 15:12:43 +00:00
|
|
|
|
<meta name="description" content="searx - a privacy-respecting, hackable metasearch engine" />
|
2014-09-22 20:42:29 +00:00
|
|
|
|
<meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
|
2014-11-18 10:37:42 +00:00
|
|
|
|
<meta name="generator" content="searx/{{ 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-04-22 18:14:16 +00:00
|
|
|
|
{{ _('Powered by') }} <a href="{{ brand.DOCS_URL }}">searxng</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
|
2020-03-25 10:49:33 +00:00
|
|
|
|
<a href="{{ brand.GIT_URL }}">{{ _('Source code') }}</a> |
|
2020-03-25 16:48:34 +00:00
|
|
|
|
<a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</a> |
|
2020-12-18 08:54:03 +00:00
|
|
|
|
<a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>{% if brand.CONTACT_URL %} |
|
|
|
|
|
<a href="{{ brand.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
|
|
|
|
|
2019-07-23 12:13:38 +00:00
|
|
|
|
<script src="{{ url_for('static', filename='js/searx.min.js') }}"
|
|
|
|
|
data-method="{{ method or 'POST' }}"
|
2021-03-16 10:07:04 +00:00
|
|
|
|
data-autocompleter="{% if autocomplete %}true{% else %}false{% endif %}"
|
|
|
|
|
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>
|