From 1edfdf5f3a316a36108a0a853b0a2553d116d6fc Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 9 Jul 2020 22:33:43 +0200 Subject: Rewriiiiiiiiiite! Okay, okay. I know, rewriting projects all the time is dumb. Buuut, we really don't want to work with our old and ugly code anymore. Furthermore we'll be using Deno now! --- src/main/resources/views/files.rocker.html | 147 ----------------------------- 1 file changed, 147 deletions(-) delete mode 100644 src/main/resources/views/files.rocker.html (limited to 'src/main/resources/views/files.rocker.html') diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html deleted file mode 100644 index 7e074c4..0000000 --- a/src/main/resources/views/files.rocker.html +++ /dev/null @@ -1,147 +0,0 @@ -@import java.util.ArrayList -@import io.javalin.* -@args (ArrayList files, String path, Boolean isShared, Context ctx) - -@css => { - -} - -@js => { - - - -} - -@layout.template(files.size() + " Files", ctx, css, js) -> { -
- - - - - - - - - - - - - - - - - - - - - - - - - @if (!isShared) { - - - - } else { - - - - } - - - - - - - - - - - - - - @for (String[] fileArray : files) { - @if (fileArray[3] == "true") { - - } else { - - } - - - @if (fileArray[4] == "true") { - - } else if (fileArray[3] == "false") { - - } else { - - } - - - - - - - - @if (!isShared) { - - - - - - - } else { - - - - } - - } - -
NameSizeLast modifiedShareDownloadDelete
../
- - - - - - - @fileArray[0] - - @fileArray[1] - - @fileArray[2] - - - - - - -
-
-} -- cgit v1.2.3