forked from zaclys/searxng
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>
19 lines
922 B
HTML
19 lines
922 B
HTML
{% from 'oscar/macros.html' import icon %}
|
|
|
|
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form" role="search">
|
|
{% if rtl %}
|
|
<div class="input-group">
|
|
{% else %}
|
|
<div class="input-group col-md-8 col-md-offset-2">
|
|
{% endif %}
|
|
<input type="search" name="q" class="form-control input-lg autofocus" 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 input-lg" 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 class="col-md-8 col-md-offset-2 advanced">
|
|
{% include 'oscar/advanced.html' %}
|
|
</div>
|
|
|
|
</form><!-- / #search_form_full -->
|