Guest User

Untitled

a guest
May 11th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.46 KB | None | 0 0
  1. class DefaultLayout() : HtmlLayout() {
  2.     override fun render(context: ActionContext, mainView: HtmlView) {
  3.         head {
  4.             title("Kara Demo Title")
  5.             stylesheet(DefaultStyles())
  6.         }
  7.         body {
  8.             h1("Kara Demo Site")
  9.             div(id="main") {
  10.                 renderView(context, mainView)
  11.             }
  12.             a(text="Kara is developed by Tiny Mission", href="http://tinymission.com")
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment