+
+
+ {t.direction === "import" ? "download" : "upload"}
+ {t.sync ? "Sync" : "Copy"}
+ {t.direction === "import" ? t.remote + " → " + name : name + " → " + t.remote}
+
+
+ {#if t.status === "running"}
+
+ {:else}
+ {#if service !== ""}
+
+ {/if}
+
+
+ {/if}
+
+
+ {#if t.stats}
+
+
+
+ Data copied
+ {formatDataVolume(t.stats.bytes, 3)} of {formatDataVolume(t.stats.totalBytes, 3)}
+
+
+ Files copied
+ {t.stats.transfers} of {t.stats.totalTransfers}
+
+
+ Files checked
+ {t.stats.checks} of {t.stats.totalChecks}
+
+
+ Transfer rate
+ {formatDataVolume(t.stats.speed, 3)}/s
+
+
+ Time left
+
+ {t.status === "running" && t.stats.eta !== null
+ ? formatDuration(t.stats.eta * 1000, t.stats.eta < 60 ? 1 : 2) : "-"}
+
+
+ {/if}
+ {#if t.error}
+
{t.error}
+ {/if}
+
+ {#if asking === t.id}
+
+ {/if}
+
+
+
+ Status
+ {t.status}
+
+
+ Started
+ {t.started ? formatDate(t.started, true, true, false) : "-"}
+
+
+ Credentials
+ {t.remember ? "Remembered" : "Not saved"}
+
+
+
+ {/each}
+