{#if !loggedIn}

Contest Login

{:else}

Contest Info

{#if teamData}

Team: {teamData.teamName} (#{teamData.teamId})

Contest: {teamData.contestName} (#{teamData.contestId})

Language: {teamData.language}

Actions

{#if repoState == 'No Team'} Team not connected, click Refresh at the top of this panel {:else if repoState == 'No Repo'}
{:else if repoState == 'Repo Exists, Not Open'}
{:else if repoState == 'Repo Open'}
{:else} Checking repo state... {/if}

Problem Progress

{#if teamStatus}
Pending Judgment
{#if teamStatus.processingProblems.length > 0} {#each teamStatus.processingProblems as inProgressProblem (JSON.stringify(inProgressProblem))} {/each} {:else}
No pending submissions
{/if}
Correct {teamStatus.correctProblems.length} of {totalProblems}
{#if teamStatus.correctProblems.length > 0} {#each teamStatus.correctProblems as correctProblem (JSON.stringify(correctProblem))} {/each} {:else}
Solved problems appear here
{/if}
Incorrect {teamStatus.incorrectProblems.length} of {totalProblems}
{#if teamStatus.incorrectProblems.length > 0} {#each teamStatus.incorrectProblems as incorrectProblem (JSON.stringify(incorrectProblem))} {/each} {:else}
Attempted problems appear here until solved
{/if}
{#if teamStatus.notStartedProblems.length > 0}
Not Attempted {teamStatus.notStartedProblems.length} of {totalProblems}
{#each teamStatus.notStartedProblems as notStartedProblem (JSON.stringify(notStartedProblem))} {/each}
{/if} {:else} Fetching data... {/if}
{/if} {/if}