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: 1px solid #ccc;
float: right;
margin-left: 5px;
margin-left: 2px;
margin-bottom: 0;
}
label {
font-weight: normal;
}
.button:hover {
@ -37,6 +42,10 @@
display: none;
}
td, th {
vertical-align: bottom;
}
.danger {
color: red;
background: #fff;
@ -103,13 +112,13 @@
<form class="upload-form">
<input type="file" id="fileElem" multiple onchange="handleFiles(this.files)">
<table width="86%">
<table width="100%">
{{$path := .Path }}
{{ range $entry_index, $entry := .Entries }}
<tr>
<td>
{{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 "/"}}" >
{{ $entry.Name }}
</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