diff --git a/src/Views/battlefield-editor.php b/src/Views/battlefield-editor.php new file mode 100644 index 0000000..e61211d --- /dev/null +++ b/src/Views/battlefield-editor.php @@ -0,0 +1,56 @@ + Escape::html($v); +$a = static fn (string $v): string => Escape::attr($v); +$terrain = ['open', 'forest', 'rough', 'water', 'blocking']; +?> +
Scenario: = $e($scenarioId) ?>
+ + + Escape::html($v); +$matchInfo = $matchJson !== null ? "Match loaded." : "No match in progress."; +?> += $e($matchInfo) ?>
+ += $e($matchJson) ?>+
Battle interface coming in Plan 4.
+ + Escape::html($v); +$json = json_encode(['url' => $url], JSON_THROW_ON_ERROR); +?> +Uploaded: = $e($url) ?>