aboutsummaryrefslogtreecommitdiff
path: root/templates/fs.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/fs.html')
-rw-r--r--templates/fs.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/fs.html b/templates/fs.html
new file mode 100644
index 0000000..608289d
--- /dev/null
+++ b/templates/fs.html
@@ -0,0 +1,29 @@
+{{template "layout.html" .}}
+{{define "title"}} {{.Title}} {{end}}
+{{define "content"}}
+<div class="panel">
+ <div class="panel-block">
+ <div class="columns file-row is-gapless is-mobile">
+ <div id="path" class="container-fluid">
+ <small>{{range .Data.Page.History}}<a href="/fs?path={{.UrlEncodedPath}}" >{{.Name}}/</a>{{end}}</small>
+ </div>
+ </div>
+ </div>
+ {{range .Data.Page.Files}}
+ <div class="panel-block">
+ <div class="columns file-row is-gapless is-mobile">
+ <div class="column">
+ {{if $.Data.ShowMode}}{{.Info.Mode}}&emsp;{{end}}
+ {{if $.Data.ShowOwner}}{{.Info.Sys.Gid}}:{{.Info.Sys.Uid}}&emsp;{{end}}
+ {{if .Info.IsDir}}
+ <a href="/?path={{.UrlEncodedPath}}">{{.Info.Name}}/</a>
+ {{else}}
+ {{.Info.Name}}
+ {{end}}
+ </div>
+ <div class="column has-text-right">{{.Info.Size}} B</div>
+ </div>
+ </div>
+ {{end}}
+</div>
+{{end}}