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 }}
|
||||
{{ range $dirs_index, $dir := .Directories }}
|
||||
<li>
|
||||
<img src="https://www.w3.org/TR/WWWicn/folder.gif" width="20" height="23">
|
||||
<a href={{ print $path $dir "/"}} >
|
||||
{{ $dir }}
|
||||
</a>
|
||||
|
@ -44,9 +45,9 @@ var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html>
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
{{if .ShouldDisplayLoadMore}}
|
||||
{{if .ShouldDisplayLoadMore}}
|
||||
<div class="row">
|
||||
<a href= {{ print .Path "?limit=" .Limit "&lastFileName=" .LastFileName}} >
|
||||
<a href={{ print .Path "?limit=" .Limit "&lastFileName=" .LastFileName}} >
|
||||
Load more
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue