aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/index.rocker.html
blob: 4f5d32b415a1b3de567aeb4f07c7bb44bc424ef4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
@args (String username)

@layout.template("Index", RockerContent.NONE, RockerContent.NONE) -> {
<h1>Welcome to Kloud <i>@username</i>!</h1>

@if(username.length() > 0) {
<button><a href="/logout/">Logout</a></button>
} else {
<button><a href="/login/">Login</a></button>
}

<button><a href="/files/">Files</a></button>
}