diff --git a/bin/web/src/lib/components/ManifestCard.svelte b/bin/web/src/lib/components/ManifestCard.svelte new file mode 100644 index 0000000..edc509b --- /dev/null +++ b/bin/web/src/lib/components/ManifestCard.svelte @@ -0,0 +1,55 @@ + +
+ Name: {entry.name} + Started: {date_formatter.format(entry.start_time)} + Last Message: {date_formatter.format(entry.last_message_time)} + Size: {entry.qmdl_size_bytes} bytes + +
+ + + {#if current} + + {:else} + + {/if} +
+
+
+ +
+
+
diff --git a/bin/web/src/lib/components/ManifestTable.svelte b/bin/web/src/lib/components/ManifestTable.svelte index 72e7c1a..05d6f48 100644 --- a/bin/web/src/lib/components/ManifestTable.svelte +++ b/bin/web/src/lib/components/ManifestTable.svelte @@ -1,13 +1,17 @@ - + + +
@@ -28,4 +32,13 @@ {/each} - \ No newline at end of file + + +
+ {#if current_entry !== undefined} + + {/if} + {#each entries as entry, i} + + {/each} +
\ No newline at end of file diff --git a/bin/web/src/lib/components/ManifestTableRow.svelte b/bin/web/src/lib/components/ManifestTableRow.svelte index 8e670cd..d4a4590 100644 --- a/bin/web/src/lib/components/ManifestTableRow.svelte +++ b/bin/web/src/lib/components/ManifestTableRow.svelte @@ -7,7 +7,8 @@ let { entry, current, i }: { entry: ManifestEntry; current: boolean; - i: number + i: number; + server_is_recording: boolean; } = $props(); // passing `undefined` as the locale uses the browser default @@ -30,7 +31,7 @@ - {entry.name} + {entry.name} {date_formatter.format(entry.start_time)} {date_formatter.format(entry.last_message_time)} {entry.qmdl_size_bytes} diff --git a/bin/web/src/routes/+page.svelte b/bin/web/src/routes/+page.svelte index 969f3a7..ee64002 100644 --- a/bin/web/src/routes/+page.svelte +++ b/bin/web/src/routes/+page.svelte @@ -37,7 +37,7 @@ {#if loaded} - + {:else}

Loading...

{/if}