-
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.
- Loading branch information
1 parent
3267d60
commit 4989c13
Showing
3 changed files
with
20 additions
and
16 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 |
---|---|---|
@@ -1,14 +1,22 @@ | ||
<script> | ||
import { codices, fragments } from '$lib/sigla.json'; | ||
import VerseSelector from '$lib/components/VerseSelector.svelte'; | ||
export let value = ''; | ||
let selectedSigla = ['', '']; | ||
</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> | ||
<div class="flex gap-1 my-3"> | ||
{#each Array.from({ length: 2 }) as _, i} | ||
<label> | ||
Textzeugen: <select class="select my-2" bind:value={selectedSigla[i]}> | ||
<option value="">Textzeuge 1</option> | ||
{#each [...codices, ...fragments] as { sigil, handle }} | ||
<option value={handle}>{sigil}</option> | ||
{/each} | ||
</select> | ||
</label> | ||
{/each} | ||
</div> | ||
<div class="flex max-w-full items-baseline gap-1 my-3"> | ||
<VerseSelector targetPath={`/textzeugen/${selectedSigla.join('-')}`} /> | ||
</div> |
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