ClassQuiz - Dashboard
{#await getData()} {:then quizzes}
{#if create_button_clicked}
{$t('words.quiz')} {$t('words.quiztivity')}
{:else} { create_button_clicked = true; }}>{$t('words.create')} {/if} {$t('words.import')} {$t('words.results')}
{$t('words.files_library')} {$t('words.settings')}
{#if quizzes.length !== 0}
{#each items_to_show as quiz}

{@html quiz.title}

{@html quiz.description ?? ''}

(analytics_quiz_selected = quiz)} > {#if quiz.type === 'quiz'} { start_game = quiz.id; }} flex={true} > {:else} {/if} { deleteQuiz(quiz.id, quiz.type); }} flex={true} > (download_id = quiz.id)} flex={true} disabled={quiz.type !== 'quiz'} >
{/each}
{:else}

{$t('overview_page.no_quizzes')}

{/if}
{:catch err}

{err}

{/await}