2016-11-14 21:07:23 +00:00
|
|
|
|
{% from 'oscar/macros.html' import icon %}
|
2014-09-22 20:42:29 +00:00
|
|
|
|
<!DOCTYPE html>
|
2015-02-10 14:23:56 +00:00
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"{% 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">
|
2014-09-22 20:42:29 +00:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=1.0, user-scalable=1" />
|
2015-01-10 14:24:21 +00:00
|
|
|
|
{% block meta %}{% endblock %}
|
2016-02-27 17:16:40 +00:00
|
|
|
|
<title>{% block title %}{% endblock %}{{ instance_name }}</title>
|
2015-04-12 17:24:01 +00:00
|
|
|
|
|
2015-01-18 12:54:24 +00:00
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
|
2016-06-25 23:57:43 +00:00
|
|
|
|
{% if cookies['oscar-style'] %}
|
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/'+cookies['oscar-style']+'.min.css') }}" type="text/css" />
|
|
|
|
|
{% else %}
|
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/logicodev.min.css') }}" type="text/css" />
|
|
|
|
|
{% endif %}
|
2014-11-02 12:00:28 +00:00
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.min.css') }}" type="text/css" />
|
2015-04-12 17:24:01 +00:00
|
|
|
|
{% for css in styles %}
|
|
|
|
|
<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 %}
|
|
|
|
|
|
2016-02-27 17:16:40 +00:00
|
|
|
|
<link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
|
2015-04-12 17:24:01 +00:00
|
|
|
|
|
2014-09-22 20:42:29 +00:00
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
searx = {};
|
2014-09-29 07:44:29 +00:00
|
|
|
|
searx.method = "{{ method or 'POST' }}";
|
2014-09-22 20:42:29 +00:00
|
|
|
|
searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
|
|
|
|
|
</script>
|
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;}
|
2014-11-03 21:18:40 +00:00
|
|
|
|
.hide_if_nojs {display: none !important;overflow:none !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>
|
|
|
|
|
<body>
|
|
|
|
|
{% include 'oscar/navbar.html' %}
|
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 %}
|
2016-06-25 23:57:43 +00:00
|
|
|
|
<p class="text-muted"><small>{{ _('Powered by') }} <a href="https://asciimoo.github.io/searx/">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}</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>
|
2014-09-29 07:44:29 +00:00
|
|
|
|
{% if autocomplete %}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js') }}"></script>{% endif %}
|
2014-11-02 12:00:28 +00:00
|
|
|
|
<script src="{{ url_for('static', filename='js/require-2.1.15.min.js') }}"></script>
|
2014-11-30 12:21:58 +00:00
|
|
|
|
<script src="{{ url_for('static', filename='js/searx.min.js') }}"></script>
|
2015-04-12 17:24:01 +00:00
|
|
|
|
{% for script in scripts %}
|
|
|
|
|
<script src="{{ url_for('static', filename=script) }}"></script>
|
|
|
|
|
{% endfor %}
|
2014-09-22 20:42:29 +00:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|