diff --git a/modules/test/dns/resources/report_template.jinja2 b/modules/test/dns/resources/report_template.jinja2 index 2d4dd99b2..8e701a8e3 100644 --- a/modules/test/dns/resources/report_template.jinja2 +++ b/modules/test/dns/resources/report_template.jinja2 @@ -1,7 +1,7 @@ {% extends base_template %} {% block content %} {% if module_data %} - +
{% for header in module_data_headers %} @@ -12,13 +12,13 @@ {% for row in module_data %} - - - - - - - + + + + + + + {% endfor %}
{{ row['src'] }}{{ row['dst'] }}{{ row['res_ip'] }}{{ row['typ'] }}{{ row['dat'] }}{{ row['count'] }}
{{ row['src'] }}
{{ row['dst'] }}
{{ row['res_ip'] }}
{{ row['typ'] }}
{{ row['dat'] }}
{{ row['count'] }}
diff --git a/resources/report/test_report_styles.css b/resources/report/test_report_styles.css index b1ed9d33c..3971bd2eb 100644 --- a/resources/report/test_report_styles.css +++ b/resources/report/test_report_styles.css @@ -222,6 +222,24 @@ word-break: break-word; } + .module-data.dns-module thead tr th, + .module-data.dns-module tbody tr td { + padding: 12px 16px; + } + + .module-data.dns-module tbody tr td { + max-width: 1px; + } + + .module-data.dns-module tbody tr td.count-row { + width: 1px; + } + + .module-data.dns-module tbody tr td div { + word-wrap: break-word; + overflow-wrap: break-word; + } + div.steps-to-resolve { background-color: #F8F9FA; margin-bottom: 30px;