From a8499b80b86b4b189fd1ab555300bf20a714b5d9 Mon Sep 17 00:00:00 2001 From: WildSoft Date: Sun, 11 Oct 2026 12:27:30 +0300 Subject: [PATCH] Update public source --- reports/static/report.css | 11 +++++++++++ reports/template.py | 20 +++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/reports/static/report.css b/reports/static/report.css index eaf9c2e..65e89e7 100644 --- a/reports/static/report.css +++ b/reports/static/report.css @@ -255,6 +255,17 @@ a:hover { padding: 30px; } +.page-section { + margin-bottom: 8px; + + color: var(--muted); + + font-size: 14px; + font-weight: 600; + + letter-spacing: 0.8px; + text-transform: uppercase; +} .page-title { margin-top: 0; diff --git a/reports/template.py b/reports/template.py index c7f5c20..c3385cc 100644 --- a/reports/template.py +++ b/reports/template.py @@ -349,6 +349,8 @@ def page_begin( context=None, + section_title="", + ): if context is None: @@ -369,10 +371,26 @@ def page_begin( context, ) - html += f""" + html += """
+""" + + if section_title: + + html += f""" + +
+ +{section_title} + +
+ +""" + + html += f""" +

{title}