Aevann 2023-03-11 14:54:32 +02:00
parent eb837be37d
commit 1d6f901725
1 changed files with 13 additions and 13 deletions

View File

@ -82,8 +82,8 @@
{% endif %}
{% if not request.path.startswith('/search/') %}
<div class="flex-grow-1 d-fl d-mob-none {% if not v %}pad{% endif %}">
<form class="form-inline search flex-nowrap mx-0 mx-lg-auto mb-0" {% if err %}style="margin-right:40rem!important"{% endif %} action="{% if request.path.startswith('/search') %}{{request.path}}{% else %}/search/posts/{% endif %}" method="get">
<div class="flex-grow-1 d-fl {% if not v %}pad{% endif %}">
<form class="form-inline search d-mob-none flex-nowrap mx-0 mx-lg-auto mb-0" {% if err %}style="margin-right:40rem!important"{% endif %} action="{% if request.path.startswith('/search') %}{{request.path}}{% else %}/search/posts/{% endif %}" method="get">
<input autocomplete="off" class="form-control w-100" type="search" placeholder="{{search_placeholder}}" name="q" value="{{request.values.get('q', '')}}">
<span class="input-group-append">
<span class="input-group-text border-0 bg-transparent" style="margin-left: -2.5rem;">
@ -91,11 +91,11 @@
</span>
</span>
</form>
</div>
{% endif %}
{% if not (v and v.patron) %}
<a href="/donate" type="button" class="btn btn-primary mr-4 mobile-nav-icon d-md-none donate-link">Donate</a>
<a href="/donate" type="button" class="btn btn-primary mobile-nav-icon d-md-none donate-link">Donate</a>
{% endif %}
</div>
{% endif %}
{% if g.browser == 'webview' %}