podflow 20250330.1__py3-none-any.whl → 20250330.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- podflow/templates/index.html +16 -14
- {podflow-20250330.1.dist-info → podflow-20250330.3.dist-info}/METADATA +1 -1
- {podflow-20250330.1.dist-info → podflow-20250330.3.dist-info}/RECORD +6 -6
- {podflow-20250330.1.dist-info → podflow-20250330.3.dist-info}/WHEEL +0 -0
- {podflow-20250330.1.dist-info → podflow-20250330.3.dist-info}/entry_points.txt +0 -0
- {podflow-20250330.1.dist-info → podflow-20250330.3.dist-info}/top_level.txt +0 -0
podflow/templates/index.html
CHANGED
@@ -175,7 +175,11 @@
|
|
175
175
|
color: var(--secondary-text);
|
176
176
|
margin-top: 10px;
|
177
177
|
}
|
178
|
-
|
178
|
+
.message {
|
179
|
+
padding: 0px;
|
180
|
+
margin: 0;
|
181
|
+
white-space: nowrap;
|
182
|
+
}
|
179
183
|
/* 菜单切换按钮 */
|
180
184
|
#toggleMenu {
|
181
185
|
width: 35px;
|
@@ -343,29 +347,27 @@
|
|
343
347
|
const lastNewMessage = newMessages[newMessages.length - 1];
|
344
348
|
const lastOldMessage = oldMessages[oldMessages.length - 1];
|
345
349
|
if (lastNewMessage !== lastOldMessage) {
|
346
|
-
const
|
347
|
-
|
350
|
+
const p = document.createElement('p');
|
351
|
+
p.innerHTML = lastNewMessage;
|
352
|
+
p.className = 'message'; // 添加 CSS 类名
|
348
353
|
|
349
354
|
// 获取容器的最后一个子元素
|
350
355
|
const lastChild = container.lastElementChild;
|
351
|
-
|
352
|
-
// 如果容器有子元素,则替换最后一个(这里逻辑可能需要调整,因为你不再替换 <p>)
|
356
|
+
// 如果容器有子元素,则替换最后一个
|
353
357
|
if (lastChild) {
|
354
|
-
container.
|
355
|
-
container.appendChild(textNode); // 添加新的文本节点
|
356
|
-
container.appendChild(br); // 添加换行符
|
358
|
+
container.replaceChild(p, lastChild);
|
357
359
|
} else {
|
358
|
-
|
359
|
-
container.appendChild(
|
360
|
+
// 如果容器为空,则直接添加
|
361
|
+
container.appendChild(p);
|
360
362
|
}
|
361
363
|
}
|
362
364
|
} else {
|
363
365
|
// 如果 newMessages 和 oldMessages 元素数量不一致,则执行原来的添加逻辑
|
364
366
|
newMessages.slice(oldMessages.length).forEach(msg => {
|
365
|
-
const
|
366
|
-
|
367
|
-
|
368
|
-
container.appendChild(
|
367
|
+
const p = document.createElement('p');
|
368
|
+
p.innerHTML = msg;
|
369
|
+
p.className = 'message'; // 添加 CSS 类名
|
370
|
+
container.appendChild(p);
|
369
371
|
});
|
370
372
|
}
|
371
373
|
|
@@ -80,7 +80,7 @@ podflow/remove/remove_dir.py,sha256=xQIhrnqnYjMzXjoSWaTvm7JwPYOFTN1muuTPdaLDXpQ,
|
|
80
80
|
podflow/remove/remove_file.py,sha256=8wAJQehs-XBqvu0vPlEme2_tt0FZxc5ELwGMxXA_558,982
|
81
81
|
podflow/repair/__init__.py,sha256=Gpc1i6xiSLodKjjmzH66c_Y1z0HQ9E9CS3p95FRnVFM,45
|
82
82
|
podflow/repair/reverse_log.py,sha256=Wc_vAH0WB-z1fNdWx7FYaVH4caRPtot7tDwDwFhmpz4,1106
|
83
|
-
podflow/templates/index.html,sha256=
|
83
|
+
podflow/templates/index.html,sha256=scjBanAQR5WBnn0KRFTznf4t6Wwr_2t-G1N_zS_cNSg,15409
|
84
84
|
podflow/upload/__init__.py,sha256=AtOSXDrE5EjUe3z-iBd1NTDaH8n_X9qA5WXdBLkONjA,45
|
85
85
|
podflow/upload/add_upload.py,sha256=_2-V0z75Lwu-PUCfMD9HOSxZTB102yZlZW5hSdlHcsc,1432
|
86
86
|
podflow/upload/build_hash.py,sha256=9opa3xLd7nJbGGX5xa3uuKPS6dxlbkAb87ZdEiUxmxI,473
|
@@ -95,8 +95,8 @@ podflow/youtube/__init__.py,sha256=pgXod8gq0IijZxIkPSwgAOcb9JI5rd1mqMomoR7bcJ4,4
|
|
95
95
|
podflow/youtube/build.py,sha256=3LYk_ICVXj9XkE9jZ8jEVI8596xxS_QZkcoIwcBE3Ys,12006
|
96
96
|
podflow/youtube/get.py,sha256=Of7PRgUknhpyW70nvyVAUYVb5KyFViKiBTfH3Y6Mke8,16970
|
97
97
|
podflow/youtube/login.py,sha256=3nLj0KLdsc-kQmXxG5FyZfR-kiDzbQy2J0KhPXMxJGc,1380
|
98
|
-
podflow-20250330.
|
99
|
-
podflow-20250330.
|
100
|
-
podflow-20250330.
|
101
|
-
podflow-20250330.
|
102
|
-
podflow-20250330.
|
98
|
+
podflow-20250330.3.dist-info/METADATA,sha256=ir55C3Lb2hj9RsgO0qw-zLDW4uQsosSKswyAbs9UlEg,14165
|
99
|
+
podflow-20250330.3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
100
|
+
podflow-20250330.3.dist-info/entry_points.txt,sha256=mn7hD_c_dmpKe3XU0KNekheBvD01LhlJ9htY-Df0j2A,131
|
101
|
+
podflow-20250330.3.dist-info/top_level.txt,sha256=fUujhhz-RrMI8aGvi-3Ey5y7FQnpOOgoFw9OWM3yLCU,8
|
102
|
+
podflow-20250330.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|