-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce functional textzeugen-selector
- Loading branch information
1 parent
7b151e9
commit 3267d60
Showing
4 changed files
with
23 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script> | ||
import { codices, fragments } from '$lib/sigla.json'; | ||
export let value = ''; | ||
</script> | ||
|
||
<label> | ||
Textzeugen: <select class="select my-2" bind:value> | ||
<option value="">Textzeuge 1</option> | ||
{#each [...codices, ...fragments] as { sigil, handle }} | ||
<option value={handle}>{sigil}</option> | ||
{/each} | ||
</select> | ||
</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]/+page.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,8 +148,6 @@ | |
</section> | ||
</section> | ||
{/each} | ||
{:else} | ||
<p>Keine Textzeugen ausgewählt</p> | ||
{/if} | ||
<style> | ||
|