From 2a44cbc300ee83b56362b12ca29e29dadd0a5e00 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Wed, 2 Oct 2024 11:12:36 +0200 Subject: pkg/cover: keep all 3 div blocks in one line --- pkg/cover/templates/heatmap.html | 66 +++++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 32 deletions(-) diff --git a/pkg/cover/templates/heatmap.html b/pkg/cover/templates/heatmap.html index fd03eb6cd..2a14a0fb6 100644 --- a/pkg/cover/templates/heatmap.html +++ b/pkg/cover/templates/heatmap.html @@ -125,38 +125,40 @@ {{ end }} {{ define "body" }} -
- -
-
-
-
+
+
+
    +
  • +
    + date +
    + {{ range $period := .Periods }} +
    + {{ $period }} +
    + {{ end }} +
  • +
  • +
    + total covered +
    + {{ range $cov := .Root.Coverage }} +
    + {{ $cov }}% +
    + {{ end }} +
    + of {{ approxInstr .Root.LastDayInstrumented }} blocks +
    +
  • +
    + {{template "dir" .Root}} +
+
+
+
+
+
{{ end }} -- cgit mrf-deployment