Persist search and feed filter params

This commit is contained in:
Ondřej 2023-08-26 12:48:51 +02:00
parent ebbaaf7222
commit dd8c3337f0

View file

@ -15,6 +15,7 @@
name="search"
value="{{ search|e }}"
/>
<button class="button button-md" type="submit" value="Hledat">
Search
<svg class="w-4 fill-current" viewBox="0 0 24 24">
@ -23,9 +24,8 @@
></path>
</svg>
</button>
</form>
<button class="button-outline button-md" @click="document.querySelector('#feeds-dialog').showModal()">
<button type="button" class="button-outline button-md" @click="document.querySelector('#feeds-dialog').showModal()">
<svg class="w-4 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 14L4 5V3H20V5L14 14V20L10 22V14Z"></path></svg>
Feeds
</button>
@ -40,7 +40,6 @@
</form>
</header>
<form action="/" method="GET" id="feeds-filter">
<div class="columns-2 mb-6">
{% for feed in feeds %}
<label
@ -56,8 +55,8 @@
<button type="submit" class="button button-md">
Filter diffs
</button>
</form>
</dialog>
</form>
<label class="checkbox mx-2">
<input