Bessere Filtermöglichkeiten für Listen

This commit is contained in:
Simon Martens
2023-02-07 19:38:45 +01:00
parent d719a5aac2
commit 661a4a5196
15 changed files with 84 additions and 55 deletions

View File

@@ -24,7 +24,7 @@ eleventyNavigation:
<div class="mb-4">
<div class="feld">Druck</div> Die Angaben zum jeweiligen Druck der Handschriften dienen nur zur leichteren Orientierung, informieren mithin nicht über die Druckgeschichte (Erstdrucke, Teildrucke etc.). Bei den Briefen wird auf die Ausgabe von Freye/Stammler verwiesen (abgekürzt als „FSt“ mit Briefnummer) bzw. auf den jeweiligen Erstdruck für die dort nicht enthaltenen Korrespondenzstücke. Bei den Werken wird auf wechselnde Ausgaben oder Einzeldrucke verwiesen, und zwar nach Möglichkeit auf solche, deren Text auf der jeweils genannten Handschrift beruht (siehe dazu die nachfolgende Liste der abgekürzt zitierten Literatur).</div>
</div>
<div class="rounded-md text-sm py-0.5 px-1.5 bg-slate-200 font-bold mb-1 mr-8">Abgekürzt zitierte Literatur</div>
<div class="text-xl font-bold mb-1.5">Abgekürzt zitierte Literatur</div>
<div class="mb-4 literaturliste twocolumns pr-8">
<ul>
<li>
@@ -87,7 +87,7 @@ eleventyNavigation:
<button class="showifsearching" onclick="var input = this.previousElementSibling; input.value = ''; input.focus(); search();" alt="Clear the search form">Suche abbrechen</button>
<div class="hideifsearching">
Ort&nbsp;
<select onchange="window.location.href=this.value" >
<select onchange="window.location.href=this.value" id="listselect">
{% set ort = "" %}
{% set count = 0 %}
{%- for post in collections.handschriften -%}
@@ -99,7 +99,7 @@ eleventyNavigation:
{%- endfor -%}
</select>
</div>
<button id="scrollbutton" href="#top">↑&nbsp;nach oben</button>
<button id="scrollbutton" href="#top">↑&nbsp;hoch</button>
</div>
<div class="mt-4 w-full" id="list">

View File

@@ -13,7 +13,7 @@ eleventyNavigation:
<button class="showifsearching" onclick="var input = this.previousElementSibling; input.value = ''; input.focus(); search();" alt="Clear the search form">Suche abbrechen</button>
<div class="hideifsearching">
Jahr&nbsp;
<select onchange="window.location.href=this.value" >
<select onchange="window.location.href=this.value" id="listselect">
{% set jahr = "" %}
{% set count = 0 %}
{%- for post in collections.posthumeausgaben -%}
@@ -25,7 +25,7 @@ eleventyNavigation:
{%- endfor -%}
</select>
</div>
<button id="scrollbutton" href="#top">↑&nbsp;nach oben</button>
<button id="scrollbutton" href="#top">↑&nbsp;oben</button>
</div>
<div class="yearlist" id="list">

View File

@@ -22,7 +22,7 @@ eleventyNavigation:
<button class="showifsearching" onclick="var input = this.previousElementSibling; input.value = ''; input.focus(); search();" alt="Clear the search form">Suche abbrechen</button>
<div class="hideifsearching">
Jahr&nbsp;
<select onchange="window.location.href=this.value" >
<select onchange="window.location.href=this.value" id="listselect">
{% set jahr = "" %}
{% set count = 0 %}
{%- for post in collections.sekundaer -%}
@@ -34,7 +34,7 @@ eleventyNavigation:
{%- endfor -%}
</select>
</div>
<button id="scrollbutton" href="#top">↑&nbsp;nach oben</button>
<button id="scrollbutton" href="#top">↑&nbsp;hoch</button>
</div>
<div class="yearlist" id="list">

View File

@@ -15,7 +15,7 @@ eleventyNavigation:
<button class="showifsearching" onclick="var input = this.previousElementSibling; input.value = ''; input.focus(); search();" alt="Clear the search form">Suche abbrechen</button>
<div class="hideifsearching">
Jahr&nbsp;
<select onchange="window.location.href=this.value" >
<select onchange="window.location.href=this.value" id="listselect">
{% set jahr = "" %}
{% set count = 0 %}
{%- for post in collections.selbststaendigedrucke -%}
@@ -27,7 +27,7 @@ eleventyNavigation:
{%- endfor -%}
</select>
</div>
<button id="scrollbutton" href="#top">↑&nbsp;nach oben</button>
<button id="scrollbutton" href="#top">↑&nbsp;hoch</button>
</div>
<div class="yearlist" id="list">

View File

@@ -18,7 +18,7 @@ eleventyNavigation:
<button class="showifsearching" onclick="var input = this.previousElementSibling; input.value = ''; input.focus(); search();" alt="Clear the search form">Suche abbrechen</button>
<div class="hideifsearching">
Jahr&nbsp;
<select onchange="window.location.href=this.value" >
<select onchange="window.location.href=this.value" id="listselect">
{% set jahr = "" %}
{% set count = 0 %}
{%- for post in collections.theater -%}
@@ -30,7 +30,7 @@ eleventyNavigation:
{%- endfor -%}
</select>
</div>
<button id="scrollbutton" href="#top">↑&nbsp;nach oben</button>
<button id="scrollbutton" href="#top">↑&nbsp;hoch</button>
</div>
<div class="yearlist" id="list">

View File

@@ -32,7 +32,7 @@ eleventyNavigation:
<div class="searchbar">
<input type="text" name="keyword" class="form-control input-sm" placeholder="Liste durchsuchen...">
<button class="showifsearching" onclick="var input = this.previousElementSibling; input.value = ''; input.focus(); search();" alt="Clear the search form">Suche abbrechen</button>
<button id="scrollbutton" href="#top">↑&nbsp;nach oben</a>
<button id="scrollbutton" href="#top">↑&nbsp;hoch</a>
</div>
<div class="mt-4" id="list">