From 00d31df58d0ea68b11600d98ebf53150a2a0cb88 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sun, 30 Oct 2022 14:37:38 +0100 Subject: design new BotMatch view --- .../src/lib/components/matches/BotMatchCard.svelte | 104 +++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 web/pw-server/src/lib/components/matches/BotMatchCard.svelte (limited to 'web/pw-server/src/lib/components/matches/BotMatchCard.svelte') diff --git a/web/pw-server/src/lib/components/matches/BotMatchCard.svelte b/web/pw-server/src/lib/components/matches/BotMatchCard.svelte new file mode 100644 index 0000000..2f50173 --- /dev/null +++ b/web/pw-server/src/lib/components/matches/BotMatchCard.svelte @@ -0,0 +1,104 @@ + + + +
+
+ {botMatch.outcome} +
+
+ +
+ {botMatch.map.name} +
+
+
+
+ {dayjs(botMatch.timestamp).format("YYYY-MM-DD HH:mm")} +
+
+ {#if botMatch.hadErrors} + ! Had errors + {/if} +
+
+
+ + + -- cgit v1.2.3