summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/search.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/oscar/search.html')
-rw-r--r--searx/templates/oscar/search.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/searx/templates/oscar/search.html b/searx/templates/oscar/search.html
new file mode 100644
index 000000000..4b1f8b6a1
--- /dev/null
+++ b/searx/templates/oscar/search.html
@@ -0,0 +1,12 @@
+{% from 'oscar/macros.html' import icon %}
+<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form" role="search">
+ <div class="input-group col-sm-12">
+ <input type="search" name="q" class="form-control" id="q" placeholder="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}">
+ <span class="input-group-btn">
+ <button type="submit" class="btn btn-default">{{ icon('search') }}<span class="sr-only">{{ _('Start search') }}</span></button>
+ </span>
+ </div>
+ <div class="search_categories">
+ {% include 'oscar/categories.html' %}
+ </div><!-- / #search_categories -->
+</form><!-- / #search_form_full -->