diff options
author | Marvin Borner | 2019-04-16 00:12:39 +0200 |
---|---|---|
committer | Marvin Borner | 2019-04-16 00:12:39 +0200 |
commit | 0177a6d90f3310d81eda66193ee4f4832b6e4bbd (patch) | |
tree | 5f24dfcb178b0c8e78b57a4533708d00575bb278 | |
parent | af4344a11b75d6db2b4bc566fdc6cef2fd0e26e5 (diff) |
Added breadcrumb directory information
-rw-r--r-- | src/main/resources/views/files.rocker.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html index fdea65f..acbe812 100644 --- a/src/main/resources/views/files.rocker.html +++ b/src/main/resources/views/files.rocker.html @@ -13,7 +13,15 @@ @layout.template(files.size() + " Files", css, js) -> { <div class="drop" id="drop"> - <h2>/@path</h2> + <h2> + <!-- TODO: Add functionality to breadcrumb navigation --> + <i class="icon ion-md-home"></i> + @for (int i = 0; i < path.split("/").length - 1; i++) { + @path.split("/")[i] <i class='icon ion-ios-arrow-forward'></i> + } + @path.split("/")[path.split("/").length - 1] + </h2> + <table id="table"> <colgroup> <col/> |