diff options
Diffstat (limited to 'src/main/resources/views/files.rocker.html')
-rw-r--r-- | src/main/resources/views/files.rocker.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html index 56cfc88..eef3bb4 100644 --- a/src/main/resources/views/files.rocker.html +++ b/src/main/resources/views/files.rocker.html @@ -1,12 +1,15 @@ @import java.util.ArrayList -@args (ArrayList files, String path) +@args (ArrayList files, String path, Boolean isShared) @css => { <link href="/css/files.css" rel="stylesheet"> } @js => { -<script>const path = "@path";</script> +<script> + const path = "@path"; + const isShared = "@isShared"; +</script> <script src="/js/imagePreview.js"></script> <script src="/js/files.js"></script> } |