diff options
author | Marvin Borner | 2019-04-07 15:49:26 +0200 |
---|---|---|
committer | Marvin Borner | 2019-04-07 15:49:26 +0200 |
commit | 4e2024432ee680f98d91d07b050ac60151ebec4c (patch) | |
tree | 8f388c3349d9081625846d00770e5b44ef38bf3c /src/main/resources/views/files.rocker.html | |
parent | 92807cfb7249eff1d96b70aa33a46c9eb6c0e733 (diff) |
Added prettifying and previews of html/markdown
Diffstat (limited to 'src/main/resources/views/files.rocker.html')
-rw-r--r-- | src/main/resources/views/files.rocker.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html index 097918a..7a2d432 100644 --- a/src/main/resources/views/files.rocker.html +++ b/src/main/resources/views/files.rocker.html @@ -1,7 +1,13 @@ @import java.util.ArrayList @args (ArrayList files) -@layout.template(files.size() + " Files") -> { + +@css => { +<link href="/css/files.css" rel="stylesheet"> +} + +@layout.template(files.size() + " Files", css, RockerContent.NONE) -> { @for (String file : files) { -<a href="@file">@file</a><br> +<a class="filename" href="@file">@file</a><br> +<hr> } } |