aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/index.rocker.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/views/index.rocker.html')
-rw-r--r--src/main/resources/views/index.rocker.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/main/resources/views/index.rocker.html b/src/main/resources/views/index.rocker.html
index 4f5d32b..a0b4035 100644
--- a/src/main/resources/views/index.rocker.html
+++ b/src/main/resources/views/index.rocker.html
@@ -4,10 +4,16 @@
<h1>Welcome to Kloud <i>@username</i>!</h1>
@if(username.length() > 0) {
-<button><a href="/logout/">Logout</a></button>
+<a href="/logout">
+ <button>Logout</button>
+</a>
} else {
-<button><a href="/login/">Login</a></button>
+<a href="/login">
+ <button>Login</button>
+</a>
}
-<button><a href="/files/">Files</a></button>
+<a href="/files/">
+ <button>Files</button>
+</a>
}