1234567891011121314151617181920212223 |
- <script>
- import ContestEntry from "./ContestEntry.svelte";
- export let contests = [];
- </script>
- <table>
- <thead>
- <tr>
- <th>ID</th>
- <th>In channel</th>
- <th>Date started</th>
- <th>Entry phase duration</th>
- <th>Vote phase duration</th>
- <th>Actions</th>
- </tr>
- </thead>
- <tbody>
- {#each contests as contest, i (contest.id)}
- <ContestEntry {contest} index={i} />
- {/each}
- </tbody>
- </table>
|