<table class="uploaders-table hidden">
<thead>
<tr>
- <th class="cell-name">Name</th>
+ <th class="cell-name" colspan="2">Name</th>
<th class="cell-status">Speed - Progress - Time Left</th>
</tr>
</thead>
<table class="paths-table hidden">
<thead>
<tr>
- <th class="cell-name">Name</th>
- <th class="cell-mtime">Date modify</th>
+ <th class="cell-name" colspan="2">Name</th>
+ <th class="cell-mtime">Last modified</th>
<th class="cell-size">Size</th>
<th class="cell-actions">Actions</th>
</tr>
$uploadersTable.insertAdjacentHTML("beforeend", `
<tr id="upload${idx}" class="uploader">
<td class="path cell-name">
- <div>${getSvg("File")}</div>
+ ${getSvg("File")}
<a href="${url}">${name}</a>
</td>
<td class="cell-status upload-status" id="uploadStatus${idx}"></td>
$pathsTableBody.insertAdjacentHTML("beforeend", `
<tr id="addPath${index}">
+ <td class="path cell-icon">
+ ${getSvg(file.path_type)}
+ </td>
<td class="path cell-name">
- <div>${getSvg(file.path_type)}</div>
<a href="${url}" title="${file.name}">${file.name}</a>
</td>
<td class="cell-mtime">${formatMtime(file.mtime)}</td>
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) {