use icon instead of button text
This commit is contained in:
@@ -131,11 +131,11 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="btn-group btn-group-xs pull-right" role="group">
|
<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}}
|
{{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}}
|
{{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}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</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 |
Reference in New Issue
Block a user