chore: adjust ui

This commit is contained in:
sigoden 2022-06-19 22:16:43 +08:00
parent b1b0fdd4db
commit 7194ebf248
3 changed files with 6 additions and 3 deletions

View file

@ -46,6 +46,7 @@ html {
.toolbox {
display: flex;
margin-right: 10px;
}
.searchbar {
@ -57,7 +58,7 @@ html {
transition: all .15s;
border: 1px #ddd solid;
border-radius: 15px;
margin: 0 0 2px 10px;
margin-bottom: 2px;
}
.searchbar #search {

View file

@ -36,7 +36,7 @@
<thead>
<tr>
<th class="cell-name" colspan="2">Name</th>
<th class="cell-status">Speed - Progress - Time Left</th>
<th class="cell-status">Progress</th>
</tr>
</thead>
</table>

View file

@ -67,8 +67,10 @@ class Uploader {
let url = getUrl(name);
$uploadersTable.insertAdjacentHTML("beforeend", `
<tr id="upload${idx}" class="uploader">
<td class="path cell-icon">
${getSvg(file.path_type)}
</td>
<td class="path cell-name">
${getSvg("File")}
<a href="${url}">${name}</a>
</td>
<td class="cell-status upload-status" id="uploadStatus${idx}"></td>