aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-05-05 14:41:40 -0700
committerChris Lu <chris.lu@gmail.com>2018-05-05 14:41:40 -0700
commitf3e07c231b6d3e7bc51dbe85d70477c1df5e53b2 (patch)
tree06a47bb6b2ea2e8aae628e10edeff9c23a2f15e2
parent4d5e1e5947e3a515cb4a6010f7ac49e3a6ab52dc (diff)
downloadseaweedfs-f3e07c231b6d3e7bc51dbe85d70477c1df5e53b2.tar.xz
seaweedfs-f3e07c231b6d3e7bc51dbe85d70477c1df5e53b2.zip
adding folder icon
-rw-r--r--weed/server/filer_ui/templates.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/server/filer_ui/templates.go b/weed/server/filer_ui/templates.go
index b6a8a1878..508a4d9aa 100644
--- a/weed/server/filer_ui/templates.go
+++ b/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>