mirror of
https://git.nolog.cz/NoLog.cz/headline.git
synced 2025-01-31 03:43:35 +01:00
Persist search and feed filter params
This commit is contained in:
parent
ebbaaf7222
commit
dd8c3337f0
1 changed files with 16 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue