simplify dashboard license input

This commit is contained in:
Your Name committed 2026-06-19 20:14:01 +08:00
1 parent 48b0a32e24
commit d4931b6820
1 file changed
+1 -2
+1 -2
View File
@@ -166,8 +166,7 @@ def build_license(parent: tk.Misc, data: DashboardData, ctx: PageContext) -> Non
section(parent, "授权", "输入卡密后自动联网验证")
box = card(parent, "卡密验证")
box.pack(fill="x")
pack_fields(box, ctx, [("授权状态", "", "本地检测"), ("本机机器码", "", ""), ("授权文件", "", "license.dat"), ("输入卡密", "服务器发放的 DG- 卡密", "")], columns=2)
pack_fields(box, ctx, [("输入卡密", "license_key_var", "")], columns=1)
row = tk.Frame(box, bg=theme.SURFACE)
row.pack(fill="x", padx=20, pady=(0, 16))
button(row, "验证卡密", None, kind="primary").pack(side="left", padx=(0, 8))
button(row, "刷新状态", None).pack(side="left")