From 816b3bfc277dbdde0716fcd8946bb13440d67767 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Wed, 23 Feb 2022 22:30:36 +0100 Subject: show bot stderr --- web/pw-server/src/routes/index.svelte | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'web/pw-server/src/routes/index.svelte') diff --git a/web/pw-server/src/routes/index.svelte b/web/pw-server/src/routes/index.svelte index 7b364be..1ef5c68 100644 --- a/web/pw-server/src/routes/index.svelte +++ b/web/pw-server/src/routes/index.svelte @@ -11,6 +11,8 @@ import * as AcePythonMode from "ace-builds/src-noconflict/mode-python?client"; import { getBotCode, saveBotCode } from "$lib/bot_code"; import { debounce } from "$lib/utils"; + import SubmitPane from "$lib/components/SubmitPane.svelte"; + import OutputPane from "$lib/components/OutputPane.svelte"; let matches = []; @@ -156,14 +158,18 @@
- {#if selectedMatchLog !== undefined} + {#if selectedMatchLog} {:else} {/if}
@@ -199,7 +205,8 @@ width: 400px; background-color: white; border-left: 1px solid; - padding: 10px; + padding: 0; + display: flex; } .editor-container { flex-grow: 1; @@ -211,17 +218,6 @@ height: 100%; } - .play-button { - padding: 8px 16px; - border-radius: 8px; - border: 0; - font-size: 18pt; - display: block; - margin: 20px auto; - background-color: lightgreen; - cursor: pointer; - } - .editor-button { padding: 15px; } -- cgit v1.2.3