Added WebUI observer, added route to see latestOutput. For some reason the WebUI Observer doesn't execute it's methods for writing stuff into latestOutput. This has something to do with how the threads work

This commit is contained in:
LQ63
2025-10-12 15:05:40 +02:00
parent 30fb50c3b8
commit 9098b7c4e3
6 changed files with 546 additions and 20 deletions

View File

@@ -1,5 +1,3 @@
@(output: String)
@main("Welcome to Play") {
<h1>Welcome to Play!</h1>
}

View File

@@ -0,0 +1,10 @@
@(title: String)(content: play.twirl.api.Html)
<!DOCTYPE html>
<html>
<head>
<title>@title</title>
</head>
<body>
@content
</body>
</html>

View File

@@ -1 +1,5 @@
@()
@(renderTUI: String)
@main("Welcome to Play") {
<h1>@renderTUI</h1>
}