summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-11-30 13:21:58 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-11-30 13:21:58 +0100
commite687f5c290d30d32c9c32c4ae5c7b9085697ab87 (patch)
treede05f90b950859e1d5136b301de9ac877d467c4f /searx/templates
parent08f4b7f5062ad75299797c71ec23eaa4e7bf706f (diff)
[enh][oscar_template] split js-files and compile them together
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/base.html2
-rw-r--r--searx/templates/oscar/search_full.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
index 6fde942ac..e46024d17 100644
--- a/searx/templates/oscar/base.html
+++ b/searx/templates/oscar/base.html
@@ -73,6 +73,6 @@
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
{% if autocomplete %}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js') }}"></script>{% endif %}
<script src="{{ url_for('static', filename='js/require-2.1.15.min.js') }}"></script>
- <script src="{{ url_for('static', filename='js/scripts.js') }}"></script>
+ <script src="{{ url_for('static', filename='js/searx.min.js') }}"></script>
</body>
</html>
diff --git a/searx/templates/oscar/search_full.html b/searx/templates/oscar/search_full.html
index f44d48adf..673f23969 100644
--- a/searx/templates/oscar/search_full.html
+++ b/searx/templates/oscar/search_full.html
@@ -2,7 +2,7 @@
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form" role="search">
<div class="input-group col-md-8 col-md-offset-2">
- <input type="search" name="q" class="form-control input-lg" id="q" placeholder="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}">
+ <input type="search" name="q" class="form-control input-lg autofocus" id="q" placeholder="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}">
<span class="input-group-btn">
<button type="submit" class="btn btn-default input-lg">{{ icon('search') }}<span class="sr-only">{{ _('Start search') }}</span></button>
</span>