mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
FIX: REPAIR CONTENT FILTER OPTIONS
This commit is contained in:
@@ -35,7 +35,9 @@
|
||||
<div class="flex flex-row items-center justify-center ml-2.5">
|
||||
<div class="block bg-stone-200 text-sm px-3 py-0.5 rounded mt-1">
|
||||
<i class="ri-arrow-left-long-line"></i>
|
||||
<a href="/almanach/{{ $model.result.Entry.MusenalmID }}/contents/" hx-target="#almanachcontents" hx-select="#almanachcontents" hx-swap="outerHTML show:none" hx-indicator="body"> Alle Beiträge anzeigen </a>
|
||||
<a href="/almanach/{{ $model.result.Entry.MusenalmID }}/contents-view/"
|
||||
hx-target="#almanachcontents" hx-select="#almanachcontents" hx-swap="outerHTML
|
||||
show:none" hx-indicator="body" hx-push-url="false"> Alle Beiträge anzeigen </a>
|
||||
</div>
|
||||
</div>
|
||||
{{- end -}}
|
||||
@@ -46,7 +48,8 @@
|
||||
<div class="flex flex-row justify-end">
|
||||
{{- if gt (len $model.result.Types) 1 -}}
|
||||
<div>
|
||||
<form method="GET" hx-boost="false" x-target="almanachcontents" aria-label="Filter für Beitragstypen">
|
||||
<form method="GET" hx-get="/almanach/{{ $model.result.Entry.MusenalmID }}/contents-view/"
|
||||
hx-target="#almanachcontents" aria-label="Filter für Beitragstypen" hx-push-url="false">
|
||||
<label for="typefilter" class="align-baseline h-min self-end pb-1 mr-1.5 text-sm font-sans text-stone-700"> Kategorie </label>
|
||||
<select class="h-min pb-1 border-b-4 border-zinc-300 px-1.5 mr-8" name="typefilter" id="typefilter" autocomplete="off" @change.debounce="$el.form.requestSubmit()">
|
||||
<option value="">Alle</option>
|
||||
@@ -62,7 +65,8 @@
|
||||
{{- end -}}
|
||||
{{- if $model.result.HasScans -}}
|
||||
<div>
|
||||
<form method="GET" hx-boost="false" x-target="almanachcontents" aria-label="Filter für digialisierte Beiträge">
|
||||
<form method="GET" hx-get="/almanach/{{ $model.result.Entry.MusenalmID }}/contents-view/"
|
||||
hx-target="#almanachcontents" aria-label="Filter für Digitalisate" hx-push-url="false">
|
||||
<label for="onlyscans" class="align-baseline h-min self-end pb-1 mr-1.5 text-sm font-sans text-stone-700"> Nur Digitalisate anzeigen </label>
|
||||
<input class="" type="checkbox" id="onlyscans" name="onlyscans" autocomplete="off" @change.debounce="$el.form.requestSubmit()" {{ if $model.filters.OnlyScans -}}checked{{- end -}} />
|
||||
<button x-show="false">Filtern</button>
|
||||
|
||||
Reference in New Issue
Block a user