From 293cd83a9c701ba3876c972dcd097bc871cbb927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Hlav=C3=A1=C4=8Dek?= Date: Mon, 21 Oct 2024 18:22:15 +0200 Subject: [PATCH] Update report.html Adding "Skipped" grey colored container for specification and requirement if no applicable element is found --- src/ifctester/ifctester/templates/report.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/ifctester/ifctester/templates/report.html b/src/ifctester/ifctester/templates/report.html index 7a3c582a02..71f89a3d08 100644 --- a/src/ifctester/ifctester/templates/report.html +++ b/src/ifctester/ifctester/templates/report.html @@ -107,10 +107,10 @@ {{/instructions}}
-
{{percent_checks_pass}}%
+
{{^total_checks}}Skipped{{/total_checks}}{{#total_checks}}{{percent_checks_pass}}%{{/total_checks}}

- {{#status}}Pass{{/status}}{{^status}}Fail{{/status}} + {{^total_checks}}Skipped{{/total_checks}}{{#total_checks}}{{#status}}Pass{{/status}}{{^status}}Fail{{/status}}{{/total_checks}} Checks passed: {{total_checks_pass}} / {{total_checks}} @@ -140,11 +140,17 @@

    {{#requirements}} -
  1. +
  2. {{description}} + {{#total_ckecks}} + + + +
    + {{/total_ckecks}} {{#total_pass}}