From 43c0dd41fe646a55a1d22a883ab450dc5c86c8dd Mon Sep 17 00:00:00 2001 From: Mawoka Date: Thu, 19 Oct 2023 17:53:06 +0200 Subject: [PATCH] Fixed formatting --- .../lib/play/admin/game_not_started.svelte | 47 +++++++++---------- 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/frontend/src/lib/play/admin/game_not_started.svelte b/frontend/src/lib/play/admin/game_not_started.svelte index 5b01ce3..48324b0 100644 --- a/frontend/src/lib/play/admin/game_not_started.svelte +++ b/frontend/src/lib/play/admin/game_not_started.svelte @@ -4,7 +4,7 @@ SPDX-FileCopyrightText: 2023 Marlon W (Mawoka) SPDX-License-Identifier: MPL-2.0 --> - -
+
-
-
-

+

+
+

{$t('play_page.join_description', { url: window.location.host === 'classquiz.de' @@ -50,57 +50,54 @@ SPDX-License-Identifier: MPL-2.0

QR code to join the game {#if cqc_code} -
-
-

+

+
+

{$t('play_page.players_waiting', { count: players.length ?? 0 })}

-
-

{$t('play_page.join_by_entering_code')}

+
+

{$t('play_page.join_by_entering_code')}

-
- {:else} -
-

+

+

{$t('play_page.players_waiting', { count: players.length ?? 0 })}

{/if} -
-

- {$t('words.pin')}: {game_pin} +

+ {$t('words.pin')}: {game_pin}

-
+
{ socket.emit('start_game', ''); }} - >{$t('admin_page.start_game')} + >{$t('admin_page.start_game')}
-
+
{#if players.length > 0} {#each players as player} -
+
{ kick_player(player.username); }}>{player.username}