[enh] add new bootstrap-themes to oscar-template

This commit is contained in:
Thomas Pointhuber 2015-01-18 12:00:38 +01:00
parent 285f991cd0
commit 096ffd0659
17 changed files with 3548 additions and 2 deletions

View file

@ -10,7 +10,11 @@
{% block meta %}{% endblock %}
<title>{% block title %}{% endblock %}searx</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
{% if bootstrap_theme == 'default' %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
{% else %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.' + bootstrap_theme + '.min.css') }}" type="text/css" />
{% endif %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/oscar.min.css') }}" type="text/css" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.min.css') }}" type="text/css" />