parity with current UI

This commit is contained in:
Will Greenberg
2025-04-15 18:08:18 -07:00
parent a33c7511eb
commit d63f419fbc
8 changed files with 120 additions and 13 deletions

View File

@@ -8,7 +8,7 @@
let { entries, current_entry }: Props = $props();
</script>
<table class="table-auto border">
<table class="table-auto text-left border">
<thead class="p-2">
<tr class="bg-gray-300">
<th scope="col">Name</th>
@@ -17,16 +17,16 @@
<th scope="col">Size (bytes)</th>
<th scope="col">PCAP</th>
<th scope="col">QMDL</th>
<th scope="col">Analysis Result</th>
<th scope="col">Analysis</th>
<th scope="col">Delete</th>
</tr>
</thead>
<tbody>
{#if current_entry !== undefined}
<TableRow entry={current_entry} current={true} />
<TableRow entry={current_entry} current={true} i={0} />
{/if}
{#each entries as entry}
<TableRow entry={entry} current={false} />
{#each entries as entry, i}
<TableRow {entry} current={false} {i} />
{/each}
</tbody>
</table>