mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adding folder icon
This commit is contained in:
parent
4d5e1e5947
commit
f3e07c231b
|
@ -28,6 +28,7 @@ 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>
|
||||||
|
<img src="https://www.w3.org/TR/WWWicn/folder.gif" width="20" height="23">
|
||||||
<a href={{ print $path $dir "/"}} >
|
<a href={{ print $path $dir "/"}} >
|
||||||
{{ $dir }}
|
{{ $dir }}
|
||||||
</a>
|
</a>
|
||||||
|
@ -44,9 +45,9 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{if .ShouldDisplayLoadMore}}
|
{{if .ShouldDisplayLoadMore}}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<a href= {{ print .Path "?limit=" .Limit "&lastFileName=" .LastFileName}} >
|
<a href={{ print .Path "?limit=" .Limit "&lastFileName=" .LastFileName}} >
|
||||||
Load more
|
Load more
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue