diff --git a/resources/report/header_macros.jinja b/resources/report/header_macros.jinja index 94952f915..a6c9905df 100644 --- a/resources/report/header_macros.jinja +++ b/resources/report/header_macros.jinja @@ -14,10 +14,10 @@

{{ title }}

-

+

{{ device['manufacturer'] }} {{ device['model']}} -

+

{% else %}
@@ -33,10 +33,10 @@

{{ title }}

-

+

{{ device['manufacturer'] }} {{ device['model']}} -

+

{% endif %} Testrun
diff --git a/resources/report/test_report_styles.css b/resources/report/test_report_styles.css index 53a4cec0a..30709330a 100644 --- a/resources/report/test_report_styles.css +++ b/resources/report/test_report_styles.css @@ -130,6 +130,20 @@ letter-spacing: 1px; } + .header-info-device { + margin-top: 0; + max-width: 700px; + margin-bottom: 24px; + font-size: 24px; + font-weight: bold; + } + + .first-page .header-info-device { + margin: 0; + font-size: 48px; + font-weight: 700; + } + h1 { margin: 0 0 8px 0; font-size: 20px; @@ -211,9 +225,13 @@ vertical-align: top; } + .steps-to-resolve-row.content { + margin-left: 70px; + } + .steps-to-resolve-test-name { display: inline-block; - margin-left: 60px; + margin-left: 70px; margin-right: 10px; margin-bottom: 20px; width: 250px; @@ -235,6 +253,7 @@ .steps-to-resolve-index { font-size: 40px; position: absolute; + margin-left: 10px; } .callout-container.info { @@ -371,7 +390,7 @@ .page-heading { padding-left: 0.2in; margin: 0.2in 0; - font-size: 32px; + font-size: 30px; font-weight: normal; } @@ -414,24 +433,20 @@ .result-test-result-error { background-color: #FCE8E6; color: #C5221F; - left: 7.3in; } .result-test-result-feature-not-detected { background-color: #e3e3e3; - left: 6.85in; } .result-test-result-informational { background-color: #E0F7FA; color: #006064; - left: 7.08in; } .result-test-result-non-compliant { background-color: #FCE8E6; color: #C5221F; - left: 7.01in; } .result-test-result { @@ -442,18 +457,17 @@ margin-top: 8px; padding: 4px 4px 7px 5px; border-radius: 2px; + left: 6.85in; } .result-test-result-compliant { background-color: #E6F4EA; color: #137333; - left: 7.16in; } .result-test-result-skipped { background-color: #e3e3e3; color: #393939; - left: 7.24in; } /* CSS for the footer */ @@ -511,10 +525,11 @@ overflow: hidden; } - .module-page-content h1 { + .module-page-content h1, + .module-page-content h2 { padding-left: 0.2in; margin: 0.2in 0; - font-size: 32px; + font-size: 30px; font-weight: normal; } diff --git a/resources/report/test_report_template.html b/resources/report/test_report_template.html index d02dfd54d..0ea566e33 100644 --- a/resources/report/test_report_template.html +++ b/resources/report/test_report_template.html @@ -76,7 +76,7 @@

Results List ({{ successful_tests }}/{{ total_tests }})

Name
Description
-
Result
+
Result
{% for i in range(results_from, results_to) %}
@@ -111,7 +111,7 @@

Results List ({{ successful_tests }}/{{ total_tests }})

{% set page_index.value = page_index.value+1 %}
{{ header_macros.header(False, "Testrun report", json_data, device, logo, icon_qualification, icon_pilot)}} -

Steps to Resolve

+

Non-complaint tests and suggested steps to resolve

{% for step in steps_to_resolve %}
@@ -123,7 +123,7 @@

Steps to Resolve

Description
{{ step["description"] }}
-
+
Steps to resolve {% for recommedtation in step['recommendations'] %}
{{ loop.index }}. {{ recommedtation }} @@ -155,7 +155,8 @@

Steps to Resolve

{# Device profile #} {% set page_index.value = page_index.value+1 %}
- {{ header_macros.header(False, "Device profile", json_data, device, logo, icon_qualification, icon_pilot)}} + {{ header_macros.header(False, "Testrun report", json_data, device, logo, icon_qualification, icon_pilot)}} +

Device profile

Question
@@ -190,6 +191,7 @@

Steps to Resolve

{% set page_index.value = page_index.value + 1 %}
{{ header_macros.header(False, "Testrun report", json_data, device, logo, icon_qualification, icon_pilot)}} +

Recommendations for Device Qualification

Attention

@@ -214,7 +216,7 @@

Steps to Resolve

{{ step["description"] }}
-
+
Steps to resolve {% for recommedtation in step['optional_recommendations'] %}