mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 19:31:00 +00:00
56b7e05721
Adding a CR in some files and in others not, is a good starting point for a DOS+Unix mess we all have already seen in many projects. Patch fixes all files matching (even those comming from grunt's build):: find ./searx -exec file {} \; | grep CR BTW: Same with mixing TAB and SPACE indent styles in one and the same file. So if sources are tuched here in this patch, its also fixed. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
24 lines
1.1 KiB
HTML
24 lines
1.1 KiB
HTML
{% from 'oscar/macros.html' import icon %}
|
|
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form" role="search">
|
|
<div class="row">
|
|
<div class="col-xs-12 col-md-8">
|
|
<div class="input-group search-margin">
|
|
<input type="search" name="q" class="form-control" id="q" placeholder="{{ _('Search for...') }}" aria-label="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}">
|
|
<span class="input-group-btn">
|
|
<button type="submit" class="btn btn-default" aria-label="{{ _('Start search') }}"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="hidden active_if_nojs">{{ _('Start search') }}</span></button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-6 col-md-2 search-margin">
|
|
{% include 'oscar/time-range.html' %}
|
|
</div>
|
|
<div class="col-xs-6 col-md-2 search-margin">
|
|
{% include 'oscar/languages.html' %}
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
{% include 'oscar/categories.html' %}
|
|
</div>
|
|
</div>
|
|
</form><!-- / #search_form_full -->
|