aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/files.rocker.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/views/files.rocker.html')
-rw-r--r--src/main/resources/views/files.rocker.html15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html
index 8e75ac2..2392928 100644
--- a/src/main/resources/views/files.rocker.html
+++ b/src/main/resources/views/files.rocker.html
@@ -17,20 +17,27 @@
@layout.template(files.size() + " Files", ctx, css, js) -> {
<div class="drop" id="drop">
- <h2 class="navigation">
- <i class="icon ion-md-home"></i>
+ <h3 class="navigation">
+ <a href="/"><i class="icon ion-md-home"></i></a>
+ <a href="/files/">Files</a>
+
+ @if (!path.isEmpty()) {
+ <i class='icon ion-ios-arrow-forward'></i>
+ }
+
@if (!isShared) {
@for (int i = 0; i < path.split("/").length - 1; i++) {
<a href='@(new String(new char[path.split("/").length - i - 1]).replace("\0", "../"))'>@path.split("/")[i]</a>
<i class='icon ion-ios-arrow-forward'></i>
}
@if (path.split("/").length > 0) {
+ <!-- TEST 2 -->
<a href="">@(path.split("/")[path.split("/").length - 1])</a>
}
- } else {
+ } else { <!-- is shared -->
<a href="">@(path.split("/")[path.split("/").length - 1])</a>
}
- </h2>
+ </h3>
<table id="table">
<colgroup>