mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
use icon instead of button text
This commit is contained in:
parent
bbc95dac47
commit
4dba102137
|
@ -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
Normal file
BIN
weed/static/images/delete-16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 275 B |
BIN
weed/static/images/rename-16.png
Normal file
BIN
weed/static/images/rename-16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 320 B |
Loading…
Reference in a new issue