forked from rDrama/rDrama
1
0
Fork 0

add extra searchbar on mobile

master
Aevann 2023-02-06 07:10:42 +02:00
parent b896efcf82
commit 2a1b8b1131
1 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,15 @@
{% block desktopBanner %}
<div class="row" style="overflow: visible;padding-top:5px;">
<div class="col">
<form id="searchform" class="form-inline d-md-none search flex-nowrap mt-2" action="/search/posts" method="get">
<input autocomplete="off" class="form-control form-control-sm w-100" type="search" placeholder="{{search_placeholder}}" name="q">
<span class="input-group-append">
<span class="input-group-text border-0 bg-transparent" style="margin-left: -2.5rem" data-nonce="{{g.nonce}}" onclick_submit>
<i class="fa fa-search"></i>
</span>
</span>
</form>
<a class="btn btn-primary btn-block mt-3" href="/submit"><i class="fas fa-feather-alt mr-2"></i>Create Post</a>
{% if sub %}