Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

use icon instead of button text

chrislu4dba10213792
diff --git a/weed/server/filer_ui/filer.html b/weed/server/filer_ui/filer.html
index 9befef10fe..a472416e9c 100644
--- a/weed/server/filer_ui/filer.html
+++ b/weed/server/filer_ui/filer.html
@@ -131,11 +131,11 @@
</td>
<td>
<div class="btn-group btn-group-xs pull-right" role="group">
- <label class="btn btn-default" onclick="handleRename('{{ $entry.Name }}', '{{ printpath $path "/" }}')">Rename</label>
+ <label class="btn" onclick="handleRename('{{ $entry.Name }}', '{{ printpath $path "/" }}')"><img src="/seaweedfsstatic/images/rename-16.png" width="16" height="16"></label>
{{if $entry.IsDirectory}}
- <label class="btn btn-danger" onclick="handleDelete('{{ printpath $path "/" $entry.Name "/" }}')">Delete</label>
+ <label class="btn" onclick="handleDelete('{{ printpath $path "/" $entry.Name "/" }}')"><img src="/seaweedfsstatic/images/delete-16.png" width="16" height="16"></label>
{{else}}
- <label class="btn btn-danger" onclick="handleDelete('{{ printpath $path "/" $entry.Name }}')">Delete</label>
+ <label class="btn" onclick="handleDelete('{{ printpath $path "/" $entry.Name }}')"><img src="/seaweedfsstatic/images/delete-16.png" width="16" height="16"></label>
{{end}}
</div>
</td>
diff --git a/weed/static/images/delete-16.png b/weed/static/images/delete-16.png
new file mode 100644
index 0000000000..635a117e0c
Binary files /dev/null and b/weed/static/images/delete-16.png differ
diff --git a/weed/static/images/rename-16.png b/weed/static/images/rename-16.png
new file mode 100644
index 0000000000..3f8f4e0d6b
Binary files /dev/null and b/weed/static/images/rename-16.png differ