@import space.anity.DatabaseController
@args (String username)
@layout.template("Index", RockerContent.NONE, RockerContent.NONE) -> {
Welcome to Kloud@(username == "" ? "" : " " + username)!
@if(username.length() > 0) {
Logout
} else if (!(new DatabaseController()).isSetup()) {
Setup
} else {
Login
}
Files
}