diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
commit | 63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch) | |
tree | 555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/devices/diagnostic_results.html | |
download | Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2 Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip |
Initial commit
First public commit
Diffstat (limited to 'servo/templates/devices/diagnostic_results.html')
-rwxr-xr-x | servo/templates/devices/diagnostic_results.html | 22 |
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> |