diff --git a/assets/index.css b/assets/index.css
index 65aa42e..97cff75 100644
--- a/assets/index.css
+++ b/assets/index.css
@@ -4,10 +4,6 @@ html {
color: #24292e;
}
-body {
- width: 700px;
-}
-
.hidden {
display: none;
}
@@ -151,10 +147,10 @@ body {
height: 100%;
fill: rgba(3,47,98,0.5);
padding-right: 0.5em;
+ vertical-align: text-top;
}
.path {
- display: flex;
list-style: none;
}
@@ -165,6 +161,8 @@ body {
overflow: hidden;
display: block;
text-decoration: none;
+ max-width: calc(100vw - 375px);
+ min-width: 400px;
}
.path a:hover {
@@ -202,7 +200,7 @@ body {
svg,
.path svg {
- fill: #d0e6ff;
+ fill: #fff;
}
.searchbar {
diff --git a/assets/index.html b/assets/index.html
index edadb84..1518787 100644
--- a/assets/index.html
+++ b/assets/index.html
@@ -35,7 +35,7 @@
- Name |
+ Name |
Speed - Progress - Time Left |
@@ -43,8 +43,8 @@
- Name |
- Date modify |
+ Name |
+ Last modified |
Size |
Actions |
diff --git a/assets/index.js b/assets/index.js
index e812d35..2159f1f 100644
--- a/assets/index.js
+++ b/assets/index.js
@@ -68,7 +68,7 @@ class Uploader {
$uploadersTable.insertAdjacentHTML("beforeend", `
- ${getSvg("File")}
+ ${getSvg("File")}
${name}
|
|
@@ -188,8 +188,10 @@ function addPath(file, index) {
$pathsTableBody.insertAdjacentHTML("beforeend", `
+
+ ${getSvg(file.path_type)}
+ |
- ${getSvg(file.path_type)}
${file.name}
|
${formatMtime(file.mtime)} |
@@ -295,7 +297,7 @@ function formatMtime(mtime) {
const day = padZero(date.getDate(), 2);
const hours = padZero(date.getHours(), 2);
const minutes = padZero(date.getMinutes(), 2);
- return `${year}/${month}/${day} ${hours}:${minutes}`;
+ return `${year}-${month}-${day} ${hours}:${minutes}`;
}
function padZero(value, size) {