adding folder icon

This commit is contained in:
Chris Lu 2018-05-05 14:41:40 -07:00
parent 4d5e1e5947
commit f3e07c231b

View file

@ -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>