summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/base.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-09-22 22:42:29 +0200
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-10-05 14:40:46 +0200
commitc21a907cacbbfa8ce8a135362067086063a805f6 (patch)
treebb1a6236036b1e226385aef80e5291b24c3ed14f /searx/templates/oscar/base.html
parent5d7b63223fc9242a5be030851d3f6f3dc05d7c8b (diff)
downloadsearxng-c21a907cacbbfa8ce8a135362067086063a805f6.tar.gz
searxng-c21a907cacbbfa8ce8a135362067086063a805f6.zip
initial commit of the new template 'oscar'
* base.html mostly implemented * stats.html implemented * about.html implemented * most of preferences.html implemented * using bootstrap.js
Diffstat (limited to 'searx/templates/oscar/base.html')
-rw-r--r--searx/templates/oscar/base.html65
1 files changed, 65 insertions, 0 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
new file mode 100644
index 000000000..c15d8f83c
--- /dev/null
+++ b/searx/templates/oscar/base.html
@@ -0,0 +1,65 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+<head>
+ <meta charset="UTF-8" />
+ <meta name="description" content="Searx - a privacy-respecting, hackable metasearch engine" />
+ <meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=1.0, user-scalable=1" />
+ <title>{% block title %}{% endblock %}searx</title>
+
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/oscar.css') }}" type="text/css" />
+
+ <!-- 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]-->
+
+ <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
+
+ {% block styles %}
+ {% endblock %}
+ {% block head %}
+ {% endblock %}
+
+ <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
+
+ <script type="text/javascript">
+ searx = {};
+ searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
+ </script>
+</head>
+<body>
+ <div class="container">
+ {% include 'oscar/navbar.html' %}
+
+ {% block site_alert_error %}
+ {% endblock %}
+ {% block site_alert_warning %}
+ {% endblock %}
+ {% block site_alert_warning_nojs %}
+ <noscript>
+ <div class="alert alert-warning" role="alert">
+ <strong>{{ _('Warning!') }}</strong>
+ {{ _('Please enable JavaScript to use full functionality of this site.') }}
+ </div>
+ </noscript>
+ {% endblock %}
+
+ {% block content %}
+ {% endblock %}
+
+ </div>
+ <div class="footer">
+ <div class="container">
+ {% block footer %}
+ {% endblock %}
+ <p class="text-muted">Powered by <a href="https://github.com/asciimoo/searx">Searx</a> - a privacy-respecting, hackable metasearch engine</p>
+ </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>
+</body>
+</html>