From 0267e6e57831ff2840b1ece555636425b44fda9e Mon Sep 17 00:00:00 2001 From: schreifuchs Date: Fri, 22 Aug 2025 16:34:08 +0200 Subject: [PATCH] feat(template): add ch-cross --- report/assets/ch-cross.svg | 88 +++++++++++++++++++++++++++++++ report/{ => assets}/style.css | 16 +++++- report/{ => assets}/template.html | 8 ++- report/template.go | 11 +++- 4 files changed, 117 insertions(+), 6 deletions(-) create mode 100644 report/assets/ch-cross.svg rename report/{ => assets}/style.css (84%) rename report/{ => assets}/template.html (95%) diff --git a/report/assets/ch-cross.svg b/report/assets/ch-cross.svg new file mode 100644 index 0000000..e6cbfe7 --- /dev/null +++ b/report/assets/ch-cross.svg @@ -0,0 +1,88 @@ + + + +image/svg+xml + + + + + + diff --git a/report/style.css b/report/assets/style.css similarity index 84% rename from report/style.css rename to report/assets/style.css index b116261..4f3b35f 100644 --- a/report/style.css +++ b/report/assets/style.css @@ -103,11 +103,23 @@ footer { flex-direction: column; justify-content: space-between; - img { + .qr-section-img { + position: relative; width: 100%; + img { + width: 100%; + } + svg { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + z-index: 1; + width: 40px; + } } - div { + .qr-section-info { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; diff --git a/report/template.html b/report/assets/template.html similarity index 95% rename from report/template.html rename to report/assets/template.html index 4842f1d..2e8a1d1 100644 --- a/report/template.html +++ b/report/assets/template.html @@ -78,8 +78,12 @@
- -
+
+ + {{ .ChCross }} +
+ +