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:
@@ -1,5 +1,3 @@
|
||||
@(output: String)
|
||||
|
||||
@main("Welcome to Play") {
|
||||
<h1>Welcome to Play!</h1>
|
||||
}
|
||||
|
||||
10
knockoutwhistweb/app/views/main.scala.html
Normal file
10
knockoutwhistweb/app/views/main.scala.html
Normal file
@@ -0,0 +1,10 @@
|
||||
@(title: String)(content: play.twirl.api.Html)
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>@title</title>
|
||||
</head>
|
||||
<body>
|
||||
@content
|
||||
</body>
|
||||
</html>
|
||||
@@ -1 +1,5 @@
|
||||
@()
|
||||
@(renderTUI: String)
|
||||
|
||||
@main("Welcome to Play") {
|
||||
<h1>@renderTUI</h1>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user