diff options
| author | chrislu <chris.lu@gmail.com> | 2022-04-07 11:15:01 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-04-07 11:15:01 -0700 |
| commit | 4dba102137921767e31d8aecda96656930c50b7d (patch) | |
| tree | 3323534841ec0707b1a486f2461bfd12fe3dcd95 | |
| parent | bbc95dac47278b3daad1038aee22bf011004bf20 (diff) | |
| download | seaweedfs-4dba102137921767e31d8aecda96656930c50b7d.tar.xz seaweedfs-4dba102137921767e31d8aecda96656930c50b7d.zip | |
use icon instead of button text
| -rw-r--r-- | weed/server/filer_ui/filer.html | 6 | ||||
| -rw-r--r-- | weed/static/images/delete-16.png | bin | 0 -> 275 bytes | |||
| -rw-r--r-- | weed/static/images/rename-16.png | bin | 0 -> 320 bytes |
3 files changed, 3 insertions, 3 deletions
diff --git a/weed/server/filer_ui/filer.html b/weed/server/filer_ui/filer.html index 9befef10f..a472416e9 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 Binary files differnew file mode 100644 index 000000000..635a117e0 --- /dev/null +++ b/weed/static/images/delete-16.png diff --git a/weed/static/images/rename-16.png b/weed/static/images/rename-16.png Binary files differnew file mode 100644 index 000000000..3f8f4e0d6 --- /dev/null +++ b/weed/static/images/rename-16.png |
