diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-01-18 13:54:24 +0100 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2015-01-18 13:54:24 +0100 |
commit | 1f00ce8527c8ca0f6318f4b43b3f79ee1429b70b (patch) | |
tree | 0fdad2e1caff53ee935935672838bfa689b64caf /searx/templates | |
parent | 7366a0e14139c20f8de68f135a29e6aa488a2ae1 (diff) | |
download | searxng-1f00ce8527c8ca0f6318f4b43b3f79ee1429b70b.tar.gz searxng-1f00ce8527c8ca0f6318f4b43b3f79ee1429b70b.zip |
Revert: [enh] add new bootstrap-themes to oscar-template
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/oscar/base.html | 6 | ||||
-rw-r--r-- | searx/templates/oscar/preferences.html | 23 |
2 files changed, 1 insertions, 28 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index 5a3ba9f42..57c4d5593 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -10,11 +10,7 @@ {% block meta %}{% endblock %} <title>{% block title %}{% endblock %}searx</title> - {% 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/bootstrap.min.css') }}" type="text/css" /> <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" /> diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index 14bbace32..f6f14501e 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -14,7 +14,6 @@ <!-- Nav tabs --> <ul class="nav nav-tabs hide_if_nojs" role="tablist" style="margin-bottom:20px;"> <li class="active"><a href="#tab_general" role="tab" data-toggle="tab">{{ _('General') }}</a></li> - <li><a href="#tab_template" role="tab" data-toggle="tab">{{ _('Template features') }}</a></li> <li><a href="#tab_engine" role="tab" data-toggle="tab">{{ _('Engines') }}</a></li> </ul> @@ -102,28 +101,6 @@ </div> </fieldset> </div> - - <div class="tab-pane active_if_nojs" id="tab_template"> - <noscript> - <h3>{{ _('Template features') }}</h3> - </noscript> - - <fieldset> - <div class="container-fluid"> - <div class="row form-group"> - <label class="col-sm-3 col-md-2">{{ _('bootstrap theme') }}</label> - <div class="col-sm-4 col-md-4"> - <select class="form-control" name='bootstrap_theme'> - {% for b_theme in bootstrap_themes %} - <option value="{{ b_theme }}" {% if bootstrap_theme == b_theme %}selected="selected"{% endif %}>{{ b_theme }}</option> - {% endfor %} - </select> - </div> - <span class="col-sm-5 col-md-6 help-block">{{ _('Change style of this layout') }}</span> - </div> - </div> - </fieldset> - </div> <div class="tab-pane active_if_nojs" id="tab_engine"> <!-- Nav tabs --> |