From a1d7760b720d7cc37b89fc5c39de8ae20f7e2c50 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Fri, 11 Mar 2022 00:47:14 +0100 Subject: show opponent name in match list --- web/pw-server/src/routes/index.svelte | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'web') diff --git a/web/pw-server/src/routes/index.svelte b/web/pw-server/src/routes/index.svelte index a78c1ea..9b817d4 100644 --- a/web/pw-server/src/routes/index.svelte +++ b/web/pw-server/src/routes/index.svelte @@ -134,8 +134,10 @@ class:selected={match.id === selectedMatchId} > {formatMatchTimestamp(match.timestamp)} - - hex + + + + {match["players"][1]["bot_name"]} {/each} @@ -237,6 +239,10 @@ padding: 0 0.5em; } + .match-opponent { + padding: 0 0.5em; + } + .sidebar-header { margin-top: 2em; text-transform: uppercase; -- cgit v1.2.3