Files
fnx_web/res/template/filesystem.html

41 lines
909 B
HTML
Raw Normal View History

2020-11-04 20:51:39 +01:00
{{ define "filesystem" }}<!DOCTYPE html>
<html lang="en">
<head>
{{template "meta_tags" .Title}}
{{template "user_style" .}}
<style>{{template "file_manager.css" .}}</style>
<script>var apiEndpoint = '{{.APIEndpoint}}';</script>
</head>
<body>
{{template "page_top" .}}
<h1>{{ .Title}}</h1>
<div class="page_content">
<div class="limit_width">
<h2>
<a href="/fs">Buckets</a>
{{ range $node := .Other.Path }}
/ <a href="{{ $node.HREF }}">{{ $node.Name }}</a>
{{ end }}
{{ if ne .Other.Base.Name "" }}
/ {{ .Other.Base.Name }}
{{ end }}
2020-11-04 20:51:39 +01:00
</h2>
{{ range $node := .Other.Children }}
<a class="node" href="{{ $node.HREF }}"><div>
<img src="{{ $node.Icon }}"/>
<span>{{ $node.Name }}</span>
</div></a>
{{ end }}
</div>
</div>
{{template "page_bottom" .}}
{{template "analytics"}}
</body>
</html>
{{ end }}