aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/fileview.rocker.html
diff options
context:
space:
mode:
authorMarvin Borner2019-05-15 21:14:35 +0200
committerMarvin Borner2019-05-15 21:14:35 +0200
commit418cd1964eb67a95c70c0d2a6a264d8774e3ec38 (patch)
treed78ab1ed2953b5b7f919a016982260e154a3aa2a /src/main/resources/views/fileview.rocker.html
parentdec3ba58281b9d929b23b8d6da3af373f31e8fd1 (diff)
Improved breadcrumb navigation
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/main/resources/views/fileview.rocker.html')
-rw-r--r--src/main/resources/views/fileview.rocker.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/resources/views/fileview.rocker.html b/src/main/resources/views/fileview.rocker.html
index 30e0caf..62ae1b5 100644
--- a/src/main/resources/views/fileview.rocker.html
+++ b/src/main/resources/views/fileview.rocker.html
@@ -22,6 +22,14 @@
}
@layout.template("File " + filename, ctx, css, js) -> {
+<div class="navigation">
+ <h3>
+ <a href="/"><i class="icon ion-md-home"></i></a>
+ <a href="../">Files</a>
+ <i class='icon ion-ios-arrow-forward'></i>
+ <a href="">@filename</a>
+ </h3>
+</div>
<button class="switch" id="raw">Show preview</button>
<span class="settings" id="settings">
<label for="code">Linecount</label><input id="code" type="checkbox">