blob: 72ec4d2cd16eece889531c310355dc0ff2f57ff3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
@args (String username)
@layout.template("Index", RockerContent.NONE, RockerContent.NONE) -> {
<div class="flex">
<h1>Welcome to Kloud <i class="username">@username</i>!</h1>
<div>
@if(username.length() > 0) {
<a class="button" href="/logout">Logout</a>
} else {
<a class="button" href="/login">Login</a>
}
<a class="button" href="/files/">Files</a>
</div>
</div>
}
|