Browse Source

adding folder icon

pull/655/head
Chris Lu 7 years ago
parent
commit
f3e07c231b
  1. 5
      weed/server/filer_ui/templates.go

5
weed/server/filer_ui/templates.go

@ -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…
Cancel
Save