aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/devices/diagnostic_results.html
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/devices/diagnostic_results.html')
-rwxr-xr-xservo/templates/devices/diagnostic_results.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/servo/templates/devices/diagnostic_results.html b/servo/templates/devices/diagnostic_results.html
new file mode 100755
index 0000000..85b9748
--- /dev/null
+++ b/servo/templates/devices/diagnostic_results.html
@@ -0,0 +1,22 @@
+{% load i18n %}
+<dl class="dl-horizontal">
+{% with diagnostics.eventHeader as header %}
+ <dt>{% trans "Result" %}</dt>
+ <dd>{{ header.diagnosticEventEndResult|default:"-" }}</dd>
+ <dt>{% trans "Tool" %}</dt>
+ <dd>{{ header.toolID|default:"-" }} ({{ header.toolVersion|default:"-" }})</dd>
+ <dt>{% trans "Passed modules" %}</dt>
+ <dd>{{ header.modulePassCount|default:"-" }}</dd>
+{% endwith %}
+</dl>
+
+<table class="table">
+{% for i in diagnostics.eventItems %}
+ <tr>
+ <td>{{ i.moduleName }}</td>
+ <td>{{ i.moduleLocation }}</td>
+ <td>{{ i.moduleTestName }}</td>
+ <td>{{ i.moduleTestResult }}</td>
+ </tr>
+{% endfor %}
+</table>