feat(定时任务): 新增 9 个 HTML 模板,下拉补齐为 no.1~no.18(只展示)
- 从 zt-0625 加入 no.8/no.9/no.10/no.11/no.14/no.15/no.16/no.17/no.18 - 新 no.8/no.9 的 id 用 no8b/no9b(no8/no9 已被显示名 no.12/no.13 的模板占用) - 重排 TEMPLATES 使下拉按显示名升序 no.1→no.18;均 convertible=False 只展示 - 测试覆盖全部 id 存在、显示名覆盖 1~18、各模板文件可读为完整 HTML Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
38f98cdf5c
commit
a400989f64
10 files changed
+12662
No files matched your search
+65
@@ -184,6 +184,36 @@ TEMPLATES: tuple[TemplateSpec, ...] = (
|
||||
# 当前引擎只支持 const VAR= 行注入,故暂注册为只展示;接转换需扩展元素注入。
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
# 显示 no.8;id 用 no8b(no8 已被显示名 no.12 的模板占用)。
|
||||
id="no8b",
|
||||
name="no.8",
|
||||
description="",
|
||||
file="no8b/no8b.html",
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
# 显示 no.9;id 用 no9b(no9 已被显示名 no.13 的模板占用)。
|
||||
id="no9b",
|
||||
name="no.9",
|
||||
description="",
|
||||
file="no9b/no9b.html",
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
id="no10",
|
||||
name="no.10",
|
||||
description="",
|
||||
file="no10/no10.html",
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
id="no11",
|
||||
name="no.11",
|
||||
description="",
|
||||
file="no11/no11.html",
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
id="no8",
|
||||
name="no.12",
|
||||
@@ -202,6 +232,41 @@ TEMPLATES: tuple[TemplateSpec, ...] = (
|
||||
# 故暂注册为只展示;接转换需放宽行注入正则。
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
id="no14",
|
||||
name="no.14",
|
||||
description="",
|
||||
file="no14/no14.html",
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
id="no15",
|
||||
name="no.15",
|
||||
description="",
|
||||
file="no15/no15.html",
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
id="no16",
|
||||
name="no.16",
|
||||
description="",
|
||||
file="no16/no16.html",
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
id="no17",
|
||||
name="no.17",
|
||||
description="",
|
||||
file="no17/no17.html",
|
||||
convertible=False,
|
||||
),
|
||||
TemplateSpec(
|
||||
id="no18",
|
||||
name="no.18",
|
||||
description="",
|
||||
file="no18/no18.html",
|
||||
convertible=False,
|
||||
),
|
||||
)
|
||||
|
||||
_TEMPLATES_BY_ID: dict[str, TemplateSpec] = {t.id: t for t in TEMPLATES}
|
||||
|
||||
Reference in new issue
Block a user