podflow 20250404.7__py3-none-any.whl → 20250404.8__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/httpfs/to_html.py +0 -21
- podflow/templates/index.html +11 -9
- {podflow-20250404.7.dist-info → podflow-20250404.8.dist-info}/METADATA +1 -1
- {podflow-20250404.7.dist-info → podflow-20250404.8.dist-info}/RECORD +7 -7
- {podflow-20250404.7.dist-info → podflow-20250404.8.dist-info}/WHEEL +0 -0
- {podflow-20250404.7.dist-info → podflow-20250404.8.dist-info}/entry_points.txt +0 -0
- {podflow-20250404.7.dist-info → podflow-20250404.8.dist-info}/top_level.txt +0 -0
podflow/httpfs/to_html.py
CHANGED
@@ -54,24 +54,3 @@ def ansi_to_html(ansi_text):
|
|
54
54
|
def qrcode_to_html(url):
|
55
55
|
text = f'<span class="qrcode-container" data-url="{url}"></span>'
|
56
56
|
gVar.index_message["podflow"].append(text)
|
57
|
-
|
58
|
-
|
59
|
-
def message_html():
|
60
|
-
# [text, Top, NoEnter]
|
61
|
-
podflow = []
|
62
|
-
messages = gVar.index_message["podflow"]
|
63
|
-
if messages:
|
64
|
-
for index, message in enumerate(messages):
|
65
|
-
if index > 1 and messages[index -1][2]:
|
66
|
-
if message[1]:
|
67
|
-
podflow[-1] = message[0]
|
68
|
-
else:
|
69
|
-
podflow[-1] += message[0]
|
70
|
-
else:
|
71
|
-
podflow.append(message[0])
|
72
|
-
message = {
|
73
|
-
"podflow": podflow,
|
74
|
-
"http": gVar.index_message["http"],
|
75
|
-
}
|
76
|
-
return message
|
77
|
-
|
podflow/templates/index.html
CHANGED
@@ -437,21 +437,23 @@
|
|
437
437
|
});
|
438
438
|
}
|
439
439
|
|
440
|
-
//
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
440
|
+
// 替换倒数第二项和倒数第三项
|
441
|
+
for (let i = 2; i <= 3; i++) {
|
442
|
+
const child = container.children[container.children.length - (i + 1)];
|
443
|
+
if (child && newMessages.length > i) {
|
444
|
+
const newMessage = newMessages[newMessages.length - (i + 1)];
|
445
|
+
const p = document.createElement('p');
|
446
|
+
p.innerHTML = newMessage;
|
447
|
+
p.className = 'message'; // 添加 CSS 类名
|
448
|
+
container.replaceChild(p, child);
|
449
|
+
}
|
448
450
|
}
|
449
451
|
|
450
452
|
// 如果用户没有主动滚动,才自动滚动到底部
|
451
453
|
if (!userScrolled) {
|
452
454
|
container.scrollTop = container.scrollHeight;
|
453
455
|
}
|
454
|
-
}
|
456
|
+
}
|
455
457
|
|
456
458
|
function startMessagePolling() {
|
457
459
|
getMessages();
|
@@ -44,7 +44,7 @@ podflow/httpfs/app_bottle.py,sha256=jHgRxvJdt3Gh0KBWlzR_pwdfgy_-vQRFNWXvbwYLObY,
|
|
44
44
|
podflow/httpfs/browser.py,sha256=BJ4Xkfiki_tDr0Sc9RqAcEfIVpkAZ3RFOwo0aMHlY3U,197
|
45
45
|
podflow/httpfs/get_channelid.py,sha256=gcwy4IVHBWNQz7qPCpjwiAklGFLRGzvM33-UZz7oFvo,2296
|
46
46
|
podflow/httpfs/port_judge.py,sha256=l_nLpsSiIhAzfJGCOWyYC-KkCCWPUW2ybe_5hdMOEzE,764
|
47
|
-
podflow/httpfs/to_html.py,sha256=
|
47
|
+
podflow/httpfs/to_html.py,sha256=q-pQWhaqSGKZqRc3nV3ZSVexIIj-EJXbfXTMGGkTB7s,1863
|
48
48
|
podflow/makeup/__init__.py,sha256=ligUtfj0stTcOHFXDF6eAN7Up2PxlB0GnGbLq7iDY3c,45
|
49
49
|
podflow/makeup/del_makeup_format_fail.py,sha256=XizQh74QYXxRg0e1uerXjd4Tiq5qChks0fTAY7n3Z1I,642
|
50
50
|
podflow/makeup/make_up_file.py,sha256=WJnKtdr6-CMEpxJAADCEhcyIwdUdisxbqXGmzo3R5KQ,2222
|
@@ -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=cb2qoU7xienWiZ02O0n_uoQOtwq0KCNML5xYGqsghmM,18014
|
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=KYl--ya6Z1u0uIcOp9l8i3DIIj9hsYUDH4dtJjI0MLM,1295
|
98
|
-
podflow-20250404.
|
99
|
-
podflow-20250404.
|
100
|
-
podflow-20250404.
|
101
|
-
podflow-20250404.
|
102
|
-
podflow-20250404.
|
98
|
+
podflow-20250404.8.dist-info/METADATA,sha256=Z0RBsVpwwdyYZk8f72jeGN-iRlgwGOL5OF1cSsrcIRQ,14165
|
99
|
+
podflow-20250404.8.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
100
|
+
podflow-20250404.8.dist-info/entry_points.txt,sha256=mn7hD_c_dmpKe3XU0KNekheBvD01LhlJ9htY-Df0j2A,131
|
101
|
+
podflow-20250404.8.dist-info/top_level.txt,sha256=fUujhhz-RrMI8aGvi-3Ey5y7FQnpOOgoFw9OWM3yLCU,8
|
102
|
+
podflow-20250404.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|