Add HTML rendering for sessions and card images; refactor output handling in SimpleSession
This commit is contained in:
2
knockoutwhistweb/app/views/output/card.scala.html
Normal file
2
knockoutwhistweb/app/views/output/card.scala.html
Normal file
@@ -0,0 +1,2 @@
|
||||
@(src: String)(alt: String)
|
||||
<img src="@routes.Assets.versioned(src)" alt="@alt"/>
|
||||
3
knockoutwhistweb/app/views/output/text.scala.html
Normal file
3
knockoutwhistweb/app/views/output/text.scala.html
Normal file
@@ -0,0 +1,3 @@
|
||||
@(text: String)
|
||||
<p>@text</p>
|
||||
|
||||
Reference in New Issue
Block a user