Add HTML rendering for sessions and card images; refactor output handling in SimpleSession

This commit is contained in:
2025-10-16 08:12:26 +02:00
parent 9aa447f2f6
commit fc751af1ef
8 changed files with 49 additions and 43 deletions

View File

@@ -1,9 +1,9 @@
@(toRender: String)
@(toRender: List[Html])
@main("Tui") {
<div id="tui">
@for(line <- toRender.split('\n')) {
<a href="@routes.Relative.ingame(line)">@line</a>
@for(line <- toRender) {
@line
}
</div>
}