From b9a392f5f1db5c7de60e929fdcc0ca42885f81ca Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 13 May 2019 18:18:57 +0200 Subject: Added user based dark theme support Co-authored-by: LarsVomMars --- src/main/resources/views/files.rocker.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (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 index 43a3488..8e75ac2 100644 --- a/src/main/resources/views/files.rocker.html +++ b/src/main/resources/views/files.rocker.html @@ -1,5 +1,6 @@ @import java.util.ArrayList -@args (ArrayList files, String path, Boolean isShared) +@import io.javalin.* +@args (ArrayList files, String path, Boolean isShared, Context ctx) @css => { @@ -14,7 +15,7 @@ } -@layout.template(files.size() + " Files", css, js) -> { +@layout.template(files.size() + " Files", ctx, css, js) -> {