Refactor Match class and rename WebUI to WebUIMain; update HomeController for new UI structure

This commit is contained in:
2025-10-12 22:56:25 +02:00
parent 6c57abb1db
commit 7cbb6e6ab7
9 changed files with 369 additions and 543 deletions

View File

@@ -1,5 +1,10 @@
@(renderTUI: String)
@(toRender: String)
@main("Welcome to Play") {
<h1>@renderTUI</h1>
@main("Tui") {
<div id="tui">
@for(line <- toRender.split('\n')) {
<p>@line</p>
}
</div>
}