2016-11-14 21:07:23 +00:00
|
|
|
|
{% from 'oscar/macros.html' import icon %}
|
2014-09-22 20:42:29 +00:00
|
|
|
|
<!DOCTYPE html>
|
2020-06-25 15:43:37 +00: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 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" />
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
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 %}
|
2020-06-15 16:25:05 +00:00
|
|
|
|
<script src="{{ url_for('js_translations') }}"></script>
|
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
|
|
|
|
<!-- 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 17:24:01 +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>
|
2020-03-25 10:49:33 +00: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 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>
|
|
|
|
|
<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 13:34:33 +00: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 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' }}"
|
|
|
|
|
data-autocompleter="{% if autocomplete %}true{% else %}false{% endif %}"></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>
|