improve dashboard nav scroll and reservation details
This commit is contained in:
1 parent
0f1baac92f
commit
4891f3b019
5 files changed
+53
-11
No files matched your search
@@ -183,10 +183,13 @@ def build_reservation_queue(parent: tk.Misc, data: DashboardData, ctx: PageConte
|
||||
toolbar(parent, [("刷新", ctx.action("refresh"), "soft")])
|
||||
rows = reservation_rows(data)
|
||||
for row in rows:
|
||||
row["time"] = fmt_ts(row["time"])
|
||||
row["target_time"] = fmt_ts(row["target_time"])
|
||||
row["created_time"] = fmt_ts(row["created_time"])
|
||||
table_panel(parent, "预约队列", (
|
||||
("idx", "#", 40), ("title", "直播间", 190), ("content", "内容", 250),
|
||||
("value", "价值", 80), ("status", "状态", 90), ("time", "时间", 170),
|
||||
("idx", "#", 40), ("pos", "位置", 70), ("title", "直播间", 220), ("raw_title", "原始标题", 240),
|
||||
("content", "内容", 220), ("value", "价值", 80), ("countdown", "倒计时/开奖", 120),
|
||||
("participants", "人数", 74), ("copies", "份数", 70), ("task_count", "任务数", 74),
|
||||
("status", "状态", 90), ("target_time", "开奖时间", 160), ("created_time", "记录时间", 160),
|
||||
), rows, height=18).pack(fill="both", expand=True)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user