2016-11-14 22:07:23 +01:00
|
|
|
|
{% from 'oscar/macros.html' import icon %}
|
2014-09-22 22:42:29 +02:00
|
|
|
|
<!DOCTYPE html>
|
2020-06-25 17:43:37 +02:00
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ preferences.get_value('locale') }}" xml:lang="{{ preferences.get_value('locale') }}"{% if rtl %} dir="rtl"{% endif %}>
|
2014-09-22 22:42:29 +02:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
2016-08-15 17:12:43 +02:00
|
|
|
|
<meta name="description" content="searx - a privacy-respecting, hackable metasearch engine" />
|
2014-09-22 22:42:29 +02:00
|
|
|
|
<meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2014-11-18 11:37:42 +01:00
|
|
|
|
<meta name="generator" content="searx/{{ searx_version }}">
|
2015-04-26 15:48:48 +02:00
|
|
|
|
<meta name="referrer" content="no-referrer">
|
2020-06-27 16:37:27 +02:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=2.0, user-scalable=1" />
|
2015-01-10 15:24:21 +01:00
|
|
|
|
{% block meta %}{% endblock %}
|
2020-06-15 18:25:05 +02:00
|
|
|
|
<script src="{{ url_for('js_translations') }}"></script>
|
2019-08-06 11:41:16 +02:00
|
|
|
|
<title>{% block title %}{% endblock %}{{ instance_name }}</title>
|
2015-01-18 13:54:24 +01:00
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
|
2019-08-06 11:41:16 +02: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 14:34:33 +01: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 11:41:16 +02:00
|
|
|
|
{%- for css in styles %}
|
2015-04-12 19:24:01 +02:00
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename=css) }}" type="text/css" />
|
|
|
|
|
{% endfor %}
|
2014-11-02 13:00:28 +01:00
|
|
|
|
|
2014-09-22 22:42:29 +02:00
|
|
|
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
|
<script src="{{ url_for('static', filename='js/html5shiv.min.js') }}"></script>
|
|
|
|
|
<script src="{{ url_for('static', filename='js/respond.min.js') }}"></script>
|
|
|
|
|
<![endif]-->
|
2015-04-12 19:24:01 +02:00
|
|
|
|
|
2014-09-22 22:42:29 +02:00
|
|
|
|
<link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
|
|
|
|
|
|
|
|
|
|
{% block styles %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% block head %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
2020-10-05 15:38:05 +02:00
|
|
|
|
<link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ opensearch_url }}"/>
|
2014-11-03 22:18:40 +01:00
|
|
|
|
<noscript>
|
|
|
|
|
<style type="text/css">
|
2015-01-15 16:03:30 +01:00
|
|
|
|
.tab-content > .active_if_nojs, .active_if_nojs {display: block !important; visibility: visible !important;}
|
2015-01-15 15:48:50 +01:00
|
|
|
|
.margin_top_if_nojs {margin-top: 20px;}
|
2020-06-28 20:44:33 +02:00
|
|
|
|
.hide_if_nojs {display: none !important;overflow: hidden !important;}
|
2015-01-15 15:55:39 +01:00
|
|
|
|
.disabled_if_nojs {pointer-events: none; cursor: default; text-decoration: line-through;}
|
2014-11-03 22:18:40 +01:00
|
|
|
|
</style>
|
|
|
|
|
</noscript>
|
2014-09-22 22:42:29 +02:00
|
|
|
|
</head>
|
2020-06-04 19:20:44 +02:00
|
|
|
|
<body class="{{ endpoint }}_endpoint" >
|
2014-09-22 22:42:29 +02:00
|
|
|
|
{% include 'oscar/navbar.html' %}
|
2019-08-06 11:41:16 +02:00
|
|
|
|
|
2016-06-26 01:57:43 +02:00
|
|
|
|
<div class="container">
|
2016-11-14 22:07:23 +01: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 01:42:06 +01:00
|
|
|
|
|
2014-09-22 22:42:29 +02:00
|
|
|
|
{% block site_alert_error %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% block site_alert_warning %}
|
|
|
|
|
{% endblock %}
|
2014-09-26 23:29:14 +02:00
|
|
|
|
{% block site_alert_info %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% block site_alert_success %}
|
|
|
|
|
{% endblock %}
|
2015-02-14 01:42:06 +01:00
|
|
|
|
|
2014-09-22 22:42:29 +02:00
|
|
|
|
{% block content %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer">
|
|
|
|
|
<div class="container">
|
|
|
|
|
{% block footer %}
|
|
|
|
|
{% endblock %}
|
2017-12-08 21:37:22 +01:00
|
|
|
|
<p class="text-muted">
|
|
|
|
|
<small>
|
2020-03-25 11:49:33 +01:00
|
|
|
|
{{ _('Powered by') }} <a href="{{ brand.DOCS_URL }}">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
|
|
|
|
|
<a href="{{ brand.GIT_URL }}">{{ _('Source code') }}</a> |
|
2020-03-25 17:48:34 +01:00
|
|
|
|
<a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</a> |
|
2020-12-18 09:54:03 +01: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 21:37:22 +01:00
|
|
|
|
</small>
|
|
|
|
|
</p>
|
2014-09-22 22:42:29 +02:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script>
|
|
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
|
2021-03-10 14:34:33 +01:00
|
|
|
|
{% if load_leaflet %}{{" "}}<script src="{{ url_for('static', filename='js/leaflet-0.7.3.min.js') }}"></script>{{ "\n" }}{% endif %}
|
|
|
|
|
{% if autocomplete %}{{" "}}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js') }}"></script>{{ "\n" }}{% endif %}
|
2019-08-06 11:41:16 +02:00
|
|
|
|
|
2019-07-23 14:13:38 +02:00
|
|
|
|
<script src="{{ url_for('static', filename='js/searx.min.js') }}"
|
|
|
|
|
data-method="{{ method or 'POST' }}"
|
|
|
|
|
data-autocompleter="{% if autocomplete %}true{% else %}false{% endif %}"></script>
|
2015-04-12 19:24:01 +02:00
|
|
|
|
{% for script in scripts %}
|
2019-08-06 11:41:16 +02:00
|
|
|
|
{{""}}<script src="{{ url_for('static', filename=script) }}"></script>
|
2015-04-12 19:24:01 +02:00
|
|
|
|
{% endfor %}
|
2017-01-27 01:19:49 +01:00
|
|
|
|
<noscript>
|
|
|
|
|
<style>
|
|
|
|
|
.glyphicon { display: none; }
|
|
|
|
|
</style>
|
|
|
|
|
</noscript>
|
2014-09-22 22:42:29 +02:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|