use icon instead of button text

This commit is contained in:
chrislu 2022-04-07 11:15:01 -07:00
parent bbc95dac47
commit 4dba102137
3 changed files with 3 additions and 3 deletions

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B