
This commit removes the extra search bar that was dedicated to the mobile layout and adapts the desktop's one to be compatible with mobile. It also brings back the "Hide Search Matches" button.
11 lines
640 B
HTML
11 lines
640 B
HTML
{# NOTE: the 'searchbox' id is used to hook the "Hide Search Matches" button #}
|
|
<div id="searchbox" class="o_search_wrapper flex-grow-1 pe-lg-2" role="search">
|
|
<form class="o_search" action="{{ pathto('search') }}" method="get">
|
|
<input type="text" name="q" id="q" class="form-control rounded-pill" placeholder="What are you looking for?">
|
|
<input type="hidden" name="area" value="default">
|
|
<input type="hidden" name="check_keywords" value="yes">
|
|
<button type="submit" class="btn"><i class="i-search"></i></button>
|
|
</form>
|
|
</div>
|
|
<script type="text/javascript">$('.o_search_wrapper').show(0);</script>
|