Browse Source

filer UI touch up

pull/2886/head
chrislu 3 years ago
parent
commit
abe3cc6df2
  1. 15
      weed/server/filer_ui/filer.html
  2. BIN
      weed/static/images/folder.gif

15
weed/server/filer_ui/filer.html

@ -26,7 +26,12 @@
border-radius: 2px; border-radius: 2px;
border: 1px solid #ccc; border: 1px solid #ccc;
float: right; float: right;
margin-left: 5px;
margin-left: 2px;
margin-bottom: 0;
}
label {
font-weight: normal;
} }
.button:hover { .button:hover {
@ -37,6 +42,10 @@
display: none; display: none;
} }
td, th {
vertical-align: bottom;
}
.danger { .danger {
color: red; color: red;
background: #fff; background: #fff;
@ -103,13 +112,13 @@
<form class="upload-form"> <form class="upload-form">
<input type="file" id="fileElem" multiple onchange="handleFiles(this.files)"> <input type="file" id="fileElem" multiple onchange="handleFiles(this.files)">
<table width="86%">
<table width="100%">
{{$path := .Path }} {{$path := .Path }}
{{ range $entry_index, $entry := .Entries }} {{ range $entry_index, $entry := .Entries }}
<tr> <tr>
<td> <td>
{{if $entry.IsDirectory}} {{if $entry.IsDirectory}}
<img src="/seaweedfsstatic/images/folder.gif" width="20" height="23">
<img src="/seaweedfsstatic/images/folder.gif" width="20" height="16">
<a href="{{ printpath $path "/" $entry.Name "/"}}" > <a href="{{ printpath $path "/" $entry.Name "/"}}" >
{{ $entry.Name }} {{ $entry.Name }}
</a> </a>

BIN
weed/static/images/folder.gif

Before

Width: 20  |  Height: 23  |  Size: 80 B

After

Width: 20  |  Height: 16  |  Size: 77 B

Loading…
Cancel
Save