diff options
author | Marvin Borner | 2019-04-16 14:57:33 +0200 |
---|---|---|
committer | Marvin Borner | 2019-04-16 14:57:33 +0200 |
commit | a32ec653bf2acc777d64803189a03a4b07b24096 (patch) | |
tree | 25f199a5b15df8d333434e40a49d73f5274b6a10 /src/main/resources/views | |
parent | 0177a6d90f3310d81eda66193ee4f4832b6e4bbd (diff) |
Added file sharing feature
Diffstat (limited to 'src/main/resources/views')
-rw-r--r-- | src/main/resources/views/files.rocker.html | 5 | ||||
-rw-r--r-- | src/main/resources/views/index.rocker.html | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html index acbe812..0e42891 100644 --- a/src/main/resources/views/files.rocker.html +++ b/src/main/resources/views/files.rocker.html @@ -35,6 +35,7 @@ <th data-asc="true">Name</th> <th data-asc="true">Size</th> <th data-asc="true">Last modified</th> + <th data-asc="true">Share</th> <th data-asc="true">Delete</th> </tr> <tr data-href="../"> @@ -42,6 +43,7 @@ <td></td> <td></td> <td></td> + <td></td> </tr> </thead> @@ -56,6 +58,9 @@ <td data-size="@fileArray[4]">@fileArray[1]</td> <td data-date="@fileArray[5]">@fileArray[2]</td> <td> + <button class="share"><i class="icon ion-md-share"></i></button> + </td> + <td> <button class="delete"><i class="icon ion-md-trash"></i></button> </td> </tr> 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> } |