summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/base.html
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-06-26 01:57:43 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-06-26 01:57:43 +0200
commitf496dc353d336ffe11dde161963d72366f0eee16 (patch)
tree2738503a83af512c5a2612ae2ac5070fe7988f32 /searx/templates/oscar/base.html
parent237d251d14e50d937805fcf030c4fbdb9d3918c9 (diff)
[enh] oscar theme redesign added
The original code made by @logico-dev (#559)
Diffstat (limited to 'searx/templates/oscar/base.html')
-rw-r--r--searx/templates/oscar/base.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
index f63025ecc..649d91f4d 100644
--- a/searx/templates/oscar/base.html
+++ b/searx/templates/oscar/base.html
@@ -12,7 +12,11 @@
<title>{% block title %}{% endblock %}{{ instance_name }}</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.min.css') }}" type="text/css" />
+ {% 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 %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.min.css') }}" type="text/css" />
{% for css in styles %}
<link rel="stylesheet" href="{{ url_for('static', filename=css) }}" type="text/css" />
@@ -48,8 +52,8 @@
</noscript>
</head>
<body>
- <div class="container">
{% include 'oscar/navbar.html' %}
+ <div class="container">
{% block site_alert_error %}
{% endblock %}
@@ -75,7 +79,7 @@
<div class="container">
{% block footer %}
{% endblock %}
- <p class="text-muted">{{ _('Powered by') }} <a href="https://asciimoo.github.io/searx/">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}</p>
+ <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>
</div>
</div>
<script src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script>