-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added modal for stdout and stderr
- Loading branch information
1 parent
22b3c95
commit a4a6f4a
Showing
3 changed files
with
61 additions
and
4 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,16 @@ | ||
<script lang="ts"> | ||
import type { SvelteComponent } from 'svelte'; | ||
import { getModalStore } from '@skeletonlabs/skeleton'; | ||
export let parent: SvelteComponent; | ||
const modalStore = getModalStore(); | ||
</script> | ||
|
||
{#if $modalStore[0]} | ||
<div class="modal-example-form card p-4 w-modal shadow-xl space-y-4 w-modal-wide"> | ||
<header class="text-2xl font-bold">{$modalStore[0].title ?? '(title missing)'}</header> | ||
<div class="overflow-auto h-80v"> | ||
<pre class="">{$modalStore[0].meta.log}</pre> | ||
</div> | ||
</div> | ||
{/if} |
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