{#if $user && $user.is_admin}
{/if}
<
{survey.title}
{#if ws_up}Connecté{:else}Déconnecté{/if}
{#if show_question} {#await req_question}
Chargement d'une nouvelle question …
{:then question} {#if stats != null}
{/if}
= 100 || survey.corrected} {corrections} bind:value={value} on:change={sendValue} > {#if timer_init}
85 && timer < 100} class:bg-danger={timer >= 100} role="progressbar" style="width: {timer}%">
{/if}
{#if !survey.corrected && question.kind != 'mcq' && question.kind != 'ucq' && question.kind != 'none'}
Soumettre cette réponse
{/if} {/await} {:else if ws_up}
Pas de question actuellement.
Vous avez une question ?
{#if submitQuestionInProgress}
{/if} Poser cette question
{#if myQuestion}
{#if submitQuestionInProgress}
{/if} Poser cette question
{/if}
{:else}
La session est terminée.
On se retrouve une prochaine fois…
{/if}