From f1437ea41595ebaff3772063d3e2f1070a2aaeb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89der=20Porto?= Date: Wed, 20 Nov 2024 04:04:07 -0300 Subject: [PATCH] Generating PDF report --- metrics/templates/metrics/wmf_report.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/metrics/templates/metrics/wmf_report.html b/metrics/templates/metrics/wmf_report.html index f6a8b5f..8b6500f 100644 --- a/metrics/templates/metrics/wmf_report.html +++ b/metrics/templates/metrics/wmf_report.html @@ -15,6 +15,7 @@ body { font-weight: 200; font-size: 14px; + font-family: "Montserrat", sans-serif; } h1 { @@ -37,7 +38,7 @@

{{ project }}

- +
@@ -52,7 +53,7 @@

{{ project }}

{% for metric in metrics %} - + @@ -60,15 +61,17 @@

{{ project }}

- - - + {% if metric.refs_short %} + + + + {% endif %} {% endfor %}
Metrics
{{ metric.metric }}{{ metric.metric }} {{ metric.q1|bool_yesno }} {{ metric.q2|bool_yesno }} {{ metric.q3|bool_yesno }} {{ metric.total|bool_yesno }} {{ metric.goal|bool_yesno }}
{% if metric.refs_short %}Refs: {% for ref in metric.refs_short %}{{ ref }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %}
Refs: {% for ref in metric.refs_short %}{{ ref }}{% if not forloop.last %}, {% endif %}{% endfor %}
-

+

References

-
    +
      {% for ref in references %} {{ ref|safe }} {% endfor %}