mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 14:53:44 +08:00
1 parent
a665d5c11b
commit
fe77e8fa37
2 files changed
+9
-1
No files matched your search
@@ -845,6 +845,11 @@ button:not(:disabled):hover {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.convert-table td[data-status] {
|
||||
white-space: pre;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.convert-table th:nth-child(2),
|
||||
.convert-table th:nth-child(3),
|
||||
.convert-table th:nth-child(4) {
|
||||
@@ -1107,6 +1112,9 @@ button:not(:disabled):hover {
|
||||
color: var(--text-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
.convert-table td[data-status] {
|
||||
grid-template-rows: auto minmax(var(--control-height), auto);
|
||||
}
|
||||
.convert-table input,
|
||||
.convert-format,
|
||||
.convert-format select { width: 100%; }
|
||||
|
||||
@@ -8276,7 +8276,7 @@ function updateBatchProgress() {
|
||||
if (item.status !== "running" || !item.progress) continue;
|
||||
const progress = item.progress.progress;
|
||||
const stage = progress.phase?.includes("compress") ? "压缩" : progress.phase?.startsWith("write") ? "写入" : { open: "读取", pages: "解析", convert: "转换", prepare: "准备", fonts: "字体", export: "导出" }[progress.phase] || "处理";
|
||||
batchStatus(item, "running", `${stage}${progress.total > 0 ? ` ${progress.completed}/${progress.total}` : ""}`);
|
||||
batchStatus(item, "running", `${stage}${progress.total > 0 ? `\n${progress.completed}/${progress.total}` : ""}`);
|
||||
}
|
||||
if (!batch.progress) {
|
||||
const completed = batch.jobs.filter(item => ["done", "ready", "unchanged", "failed", "canceled"].includes(item.status)).length;
|
||||
|
||||
Reference in new issue
Block a user