summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Siemsen <ralph.siemsen@linaro.org>2021-08-05 08:31:25 -0400
committerRalph Siemsen <ralph.siemsen@linaro.org>2021-08-05 08:49:53 -0400
commit6f1052db5ff34ca74fa78209e1fd6512ac952b91 (patch)
treeedc1347c169224ed0c675a0db9c43ec17cbaa423
parentbc0d2b7908a1e45f231667436eedd210832a4d47 (diff)
Fix some HTML warningslinaro-2020.09-dunfell.2
-rw-r--r--examples/build_report_template.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/build_report_template.html b/examples/build_report_template.html
index 8308d76..e59d0b7 100644
--- a/examples/build_report_template.html
+++ b/examples/build_report_template.html
@@ -1,5 +1,6 @@
{% set base_url = [server, '%s/%s/' % (group.slug, project.slug)]|join %}
{% set project_slug = ['%s' % (project.slug)]|join %}
+<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
@@ -67,6 +68,7 @@
<table class="table">
{% for key, value in build.metadata.__dict__.items() %}
{% if value is iterable and value is not string %}
+ <tr>
<th rowspan="{{ value|length + 1}}" scope="row">{{key}}</th>
<td>
{% for v in value %}
@@ -81,6 +83,7 @@
</tr>
{% endfor %}
</td>
+ </tr>
{% else %}
<tr>
<th scope="row">{{key}}</th>
@@ -161,7 +164,7 @@
{% set __class = '' %}
{% endif %}
{# the line below is likely to repeat thousands of times, we're saving some precious bytes of storage #}
-<td class="col-5 u" onclick="{{ func }}({{test.test_run|getid}}, '{{suite_name}}', this)">{{ test.short_name }}</td><td class="{{ __class }}">{{ test.status if test.status else test.result}}</td></tr>
+<tr><td class="col-5 u" onclick="{{ func }}({{test.test_run|getid}}, '{{suite_name}}', this)">{{ test.short_name }}</td><td class="{{ __class }}">{{ test.status if test.status else test.result}}</td></tr>
{% endfor %}
{% endfor %}
{% endfor %}