podflow 20250413__py3-none-any.whl → 20250413.2__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 +42 -18
- {podflow-20250413.dist-info → podflow-20250413.2.dist-info}/METADATA +1 -1
- {podflow-20250413.dist-info → podflow-20250413.2.dist-info}/RECORD +6 -6
- {podflow-20250413.dist-info → podflow-20250413.2.dist-info}/WHEEL +0 -0
- {podflow-20250413.dist-info → podflow-20250413.2.dist-info}/entry_points.txt +0 -0
- {podflow-20250413.dist-info → podflow-20250413.2.dist-info}/top_level.txt +0 -0
podflow/templates/index.html
CHANGED
@@ -20,8 +20,8 @@
|
|
20
20
|
--menu-text: #333333;
|
21
21
|
--menu-width: 170px;
|
22
22
|
--menu-selected-bg: #cccccc;
|
23
|
-
/*
|
24
|
-
--progress-bar-color: #
|
23
|
+
/* 将进度条颜色变量修改为蓝色 */
|
24
|
+
--progress-bar-color: #0d6efd; /* 标准蓝色 */
|
25
25
|
}
|
26
26
|
|
27
27
|
/* 深色模式变量 */
|
@@ -39,8 +39,8 @@
|
|
39
39
|
--menu-bg: #333333;
|
40
40
|
--menu-text: #e0e0e0;
|
41
41
|
--menu-selected-bg: #555555;
|
42
|
-
/*
|
43
|
-
--progress-bar-color: #
|
42
|
+
/* 将深色模式下的进度条颜色修改为较亮的蓝色 */
|
43
|
+
--progress-bar-color: #4dabf7; /* 较亮的蓝色,适合深色背景 */
|
44
44
|
}
|
45
45
|
}
|
46
46
|
|
@@ -49,6 +49,7 @@
|
|
49
49
|
text-decoration: underline;
|
50
50
|
}
|
51
51
|
|
52
|
+
/* ... (其余的 ANSI 颜色、基本样式、表单样式、按钮样式、提示样式、菜单切换按钮、手机端优化、消息和二维码样式保持不变) ... */
|
52
53
|
.ansi-30m { color: #000000; }
|
53
54
|
.ansi-31m { color: #bb271b; }
|
54
55
|
.ansi-32m { color: #61992e; }
|
@@ -249,21 +250,44 @@
|
|
249
250
|
/* 主进度条样式 */
|
250
251
|
.progress-bar {
|
251
252
|
width: 100%;
|
252
|
-
height: 22px;
|
253
|
-
background-color: #e0e0e0;
|
254
|
-
border-radius: 12px;
|
253
|
+
height: 22px;
|
254
|
+
background-color: #e0e0e0; /* 考虑使用变量 */
|
255
|
+
border-radius: 12px;
|
255
256
|
overflow: hidden;
|
256
257
|
position: relative;
|
257
|
-
border: 1px solid
|
258
|
+
border: 1px solid var(--input-border);
|
258
259
|
}
|
259
260
|
.progress-bar .progress {
|
260
261
|
height: 100%;
|
261
|
-
background-color: var(--progress-bar-color);
|
262
|
-
/*
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
262
|
+
background-color: var(--progress-bar-color);
|
263
|
+
width: 0%; /* 根据实际进度更新 */
|
264
|
+
transition: width 0.3s ease-in-out;
|
265
|
+
border-radius: 12px;
|
266
|
+
/* 多背景 */
|
267
|
+
background-image:
|
268
|
+
linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
|
269
|
+
linear-gradient(to right, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%);
|
270
|
+
background-size: 200% 100%, 100% 100%;
|
271
|
+
background-repeat: no-repeat, no-repeat;
|
272
|
+
/* 初始背景位置 */
|
273
|
+
background-position: 100% 0, 0 0; /* 脉冲初始在左侧 */
|
274
|
+
}
|
275
|
+
/* 脉冲动画效果 */
|
276
|
+
.progress-bar .progress.animated {
|
277
|
+
/* 动画:名称 时长 缓动函数 延迟 次数 方向 填充模式 播放状态 */
|
278
|
+
animation: pulse-lr 4s linear infinite alternate; /* 添加 alternate */
|
279
|
+
/* 注意:你也可以调整时长,例如 2s 让单程更快 */
|
280
|
+
}
|
281
|
+
/* 关键帧动画 (保持 L-to-R 定义) */
|
282
|
+
@keyframes pulse-lr {
|
283
|
+
0% {
|
284
|
+
/* 脉冲背景的右边缘对齐容器右边缘 (高亮在左边缘) */
|
285
|
+
background-position: 100% 0, 0 0;
|
286
|
+
}
|
287
|
+
100% {
|
288
|
+
/* 脉冲背景的左边缘对齐容器左边缘 (高亮在右边缘) */
|
289
|
+
background-position: 0% 0, 0 0;
|
290
|
+
}
|
267
291
|
}
|
268
292
|
.progress-bar .status-text {
|
269
293
|
position: absolute;
|
@@ -321,15 +345,15 @@
|
|
321
345
|
<h2>Podflow 运行情况</h2>
|
322
346
|
</div>
|
323
347
|
<form>
|
324
|
-
<label
|
348
|
+
<label>主进度条:</label>
|
325
349
|
<div class="progress-bar">
|
326
|
-
<div class="progress" id="mainProgress"></div>
|
350
|
+
<div class="progress animated" id="mainProgress"></div>
|
327
351
|
<div class="status-text" id="progressStatus">准备中</div>
|
328
352
|
<div class="percentage-text" id="progressPercentage">0.00%</div>
|
329
353
|
</div>
|
330
354
|
<label>构建服务:</label><br>
|
331
355
|
<div class="common-area" id="messageArea"></div>
|
332
|
-
<label
|
356
|
+
<label>收发服务:</label><br>
|
333
357
|
<div class="common-area" id="messageHttp"></div>
|
334
358
|
</form>
|
335
359
|
</section>
|
@@ -436,7 +460,7 @@
|
|
436
460
|
})
|
437
461
|
.catch(error => console.error('获取消息失败:', error));
|
438
462
|
}
|
439
|
-
|
463
|
+
|
440
464
|
// 更新进度条并显示状态和百分比
|
441
465
|
function updateProgress(scheduleData) {
|
442
466
|
// 检查 schedule 数据是否存在且长度为 2
|
@@ -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=HWNE4uqnPwnGmo4Ypv9VWgeTXZZN_dfkp0IrUlSr2mI,22673
|
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-20250413.dist-info/METADATA,sha256=
|
99
|
-
podflow-20250413.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
100
|
-
podflow-20250413.dist-info/entry_points.txt,sha256=mn7hD_c_dmpKe3XU0KNekheBvD01LhlJ9htY-Df0j2A,131
|
101
|
-
podflow-20250413.dist-info/top_level.txt,sha256=fUujhhz-RrMI8aGvi-3Ey5y7FQnpOOgoFw9OWM3yLCU,8
|
102
|
-
podflow-20250413.dist-info/RECORD,,
|
98
|
+
podflow-20250413.2.dist-info/METADATA,sha256=vEgVZT8sohnfgKvVER1CPcjlFwhP2oNIl97B80B6kY8,14165
|
99
|
+
podflow-20250413.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
100
|
+
podflow-20250413.2.dist-info/entry_points.txt,sha256=mn7hD_c_dmpKe3XU0KNekheBvD01LhlJ9htY-Df0j2A,131
|
101
|
+
podflow-20250413.2.dist-info/top_level.txt,sha256=fUujhhz-RrMI8aGvi-3Ey5y7FQnpOOgoFw9OWM3yLCU,8
|
102
|
+
podflow-20250413.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|