Browse Source

use icon instead of button text

pull/2888/head
chrislu 3 years ago
parent
commit
4dba102137
  1. 6
      weed/server/filer_ui/filer.html
  2. BIN
      weed/static/images/delete-16.png
  3. BIN
      weed/static/images/rename-16.png

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

BIN
weed/static/images/delete-16.png

After

Width: 16  |  Height: 16  |  Size: 275 B

BIN
weed/static/images/rename-16.png

After

Width: 16  |  Height: 16  |  Size: 320 B

Loading…
Cancel
Save