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 }} {{$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…
Cancel
Save