Add HTML rendering for sessions and card images; refactor output handling in SimpleSession
This commit is contained in:
10
knockoutwhistweb/app/views/sessions.scala.html
Normal file
10
knockoutwhistweb/app/views/sessions.scala.html
Normal file
@@ -0,0 +1,10 @@
|
||||
@(toRender: List[String])
|
||||
|
||||
@main("Sessions") {
|
||||
<div id="sessions">
|
||||
@for(line <- toRender) {
|
||||
<a href="@routes.HomeController.ingame(line)">@line</a><br>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user