Browse Source

chore: adjust ui

pull/59/head
sigoden 3 years ago
parent
commit
7194ebf248
  1. 3
      assets/index.css
  2. 2
      assets/index.html
  3. 4
      assets/index.js

3
assets/index.css

@ -46,6 +46,7 @@ html { @@ -46,6 +46,7 @@ html {
.toolbox {
display: flex;
margin-right: 10px;
}
.searchbar {
@ -57,7 +58,7 @@ html { @@ -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 {

2
assets/index.html

@ -36,7 +36,7 @@ @@ -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>

4
assets/index.js

@ -67,8 +67,10 @@ class Uploader { @@ -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>

Loading…
Cancel
Save