From c1feeaa7e6dbacff2911d075d2ca7bab88985886 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sat, 5 Feb 2022 16:48:08 +0100 Subject: outline demo interface --- web/pw-server/package.json | 1 + web/pw-server/src/routes/index.svelte | 160 +++++++++++++++++++++++++++++++--- web/pw-server/src/routes/style.css | 3 + 3 files changed, 152 insertions(+), 12 deletions(-) create mode 100644 web/pw-server/src/routes/style.css diff --git a/web/pw-server/package.json b/web/pw-server/package.json index 53a4492..cce4a25 100644 --- a/web/pw-server/package.json +++ b/web/pw-server/package.json @@ -23,6 +23,7 @@ "eslint-plugin-svelte3": "^3.2.1", "prettier": "^2.4.1", "prettier-plugin-svelte": "^2.4.0", + "sass": "^1.49.7", "svelte": "^3.44.0", "svelte-check": "^2.2.6", "svelte-preprocess": "^4.9.4", diff --git a/web/pw-server/src/routes/index.svelte b/web/pw-server/src/routes/index.svelte index 39afe01..bd9a597 100644 --- a/web/pw-server/src/routes/index.svelte +++ b/web/pw-server/src/routes/index.svelte @@ -1,19 +1,28 @@ -

Planetwars

-
- +
+
+
+ +
+ {#if selectedMatchLog !== undefined} + + {:else} +
+ {/if} +
+ +
+
+ + diff --git a/web/pw-server/src/routes/style.css b/web/pw-server/src/routes/style.css new file mode 100644 index 0000000..699a279 --- /dev/null +++ b/web/pw-server/src/routes/style.css @@ -0,0 +1,3 @@ +body { + margin: 0; +} -- cgit v1.2.3