Skip to content

Commit

Permalink
add rounds count
Browse files Browse the repository at this point in the history
  • Loading branch information
merklejerk committed Jun 18, 2024
1 parent b8d040f commit efdd3ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(app)/bracket/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
href={`${base}/match?tournament=${data.tournamentId}&season=${data.season + 1}&bracket=${data.bracket + 1}&match=${match.id}&idx=${i+1}`}
>
{#if match.rounds !== undefined}
({match.rounds} rounds)
({match.rounds}/32 rounds)
{:else}
(details)
{/if}
Expand Down
6 changes: 6 additions & 0 deletions src/routes/(app)/match/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,10 @@
color: var(--player-4-color);
}
}
}
.rounds-count {
text-align: center;
}
}
</style>
Expand Down Expand Up @@ -605,6 +608,9 @@
{/each}
</div>
</Pancake.Chart>
<div class="rounds-count">
({data.rounds.length}/32 rounds played)
</div>
</div>
{#if data.undeployedPlayers.length}
<div class="deployment-failures">
Expand Down

0 comments on commit efdd3ee

Please sign in to comment.