create record wip

This commit is contained in:
2026-01-08 23:23:48 +02:00
parent 2a718ac9ee
commit 4470d922b7
42 changed files with 1048 additions and 556 deletions
+10 -13
View File
@@ -1,6 +1,5 @@
<script>
import Icon from "../common/Icon.svelte";
import Icon from "../../common/Icon.svelte";
let dialogEl;
@@ -10,29 +9,27 @@
if (e) {
e.preventDefault();
}
dialogEl.close()
dialogEl.close();
}
export function open() {
dialogEl.showModal()
dialogEl.showModal();
}
</script>
<dialog bind:this={dialogEl}>
<div class="dialog-header">
<button
on:click|preventDefault={close}
type="button"
class="button close"
aria-label="Close"
on:click|preventDefault={close}
type="button"
class="button close"
aria-label="Close"
>
<Icon icon="close"></Icon>
</button>
</div>
<div class="dialog-body" style="min-width: 900px">
<slot/>
<slot />
</div>
</dialog>
</dialog>