]> OzVa Git service - ozva-cloud/commitdiff
chore: adjust ui
authorsigoden <sigoden@gmail.com>
Sun, 19 Jun 2022 14:16:43 +0000 (22:16 +0800)
committersigoden <sigoden@gmail.com>
Sun, 19 Jun 2022 14:16:43 +0000 (22:16 +0800)
assets/index.css
assets/index.html
assets/index.js

index 97cff75a6cf3b7a07a9933c58c39dfd6a95083f7..40e46c7ab375d8ce9ce3d7c2280513210d54d5f4 100644 (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 {
index 1518787f1654955540ec2801dca759211bfaff19..8cabff5ed8d49775db3446e63d15a946d113b2aa 100644 (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>
index 2159f1f288094003091dc040132c20ba145a1721..c44740718251d53253bf17eea0294cdab6f37b18 100644 (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>