diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-01-18 12:00:38 +0100 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-01-18 12:00:38 +0100 |
commit | 096ffd0659ea93a1de0009e37e49f71d576d2de6 (patch) | |
tree | 1451484d751f942c1a864389c73c89a31dcc19d2 /searx/templates/oscar/base.html | |
parent | 285f991cd078db7df5622e3109984f1f3c651988 (diff) | |
download | searxng-096ffd0659ea93a1de0009e37e49f71d576d2de6.tar.gz searxng-096ffd0659ea93a1de0009e37e49f71d576d2de6.zip |
[enh] add new bootstrap-themes to oscar-template
Diffstat (limited to 'searx/templates/oscar/base.html')
-rw-r--r-- | searx/templates/oscar/base.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index 42cd4e9a7..c39de0460 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -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" /> |