diff options
Diffstat (limited to 'src/main/resources/views/files.rocker.html')
-rw-r--r-- | src/main/resources/views/files.rocker.html | 5 |
1 files changed, 3 insertions, 2 deletions
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 => { <link href="/css/files.css" rel="stylesheet"> @@ -14,7 +15,7 @@ <script src="/js/files.js"></script> } -@layout.template(files.size() + " Files", css, js) -> { +@layout.template(files.size() + " Files", ctx, css, js) -> { <div class="drop" id="drop"> <h2 class="navigation"> <i class="icon ion-md-home"></i> |