aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/index.rocker.html
diff options
context:
space:
mode:
authorMarvin Borner2019-04-16 14:57:33 +0200
committerMarvin Borner2019-04-16 14:57:33 +0200
commita32ec653bf2acc777d64803189a03a4b07b24096 (patch)
tree25f199a5b15df8d333434e40a49d73f5274b6a10 /src/main/resources/views/index.rocker.html
parent0177a6d90f3310d81eda66193ee4f4832b6e4bbd (diff)
Added file sharing feature
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>
}