mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix filer UI
This commit is contained in:
parent
fffb14bc87
commit
7f49514f6f
|
@ -28,15 +28,17 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html>
|
||||||
{{$path := .Path }}
|
{{$path := .Path }}
|
||||||
{{ range $dirs_index, $dir := .Directories }}
|
{{ range $dirs_index, $dir := .Directories }}
|
||||||
<li>
|
<li>
|
||||||
<a href= {{ print $path $dir.Name "/"}} >
|
<a href={{ print $path $dir "/"}} >
|
||||||
{{ $dir.Name }}
|
{{ $dir }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range $file_index, $file := .Files }}
|
{{ range $file_index, $file := .Files }}
|
||||||
<li>
|
<li>
|
||||||
|
<a href={{ print $path $file.Name}} >
|
||||||
{{ $file.Name }}
|
{{ $file.Name }}
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue