From 3452f8a6e8bc54d0ee68256ecc04b5b1edd699d6 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 22 Jan 2023 20:06:16 +0100 Subject: import templates from autopkgtest-cloud Signed-off-by: Olivier Gayot --- templates/browse-statistics.html | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 templates/browse-statistics.html (limited to 'templates/browse-statistics.html') diff --git a/templates/browse-statistics.html b/templates/browse-statistics.html new file mode 100644 index 0000000..fddcaa6 --- /dev/null +++ b/templates/browse-statistics.html @@ -0,0 +1,55 @@ +{% extends "browse-layout.html" %} +{% block content %} +

Statistics

+ + {% for r in release_arches %} + + + + + + {% for arch in release_arches[r]|sort %} {% endfor %} + + + + + {% for arch in release_arches[r]|sort %} + + {% endfor %} + + + + + {% for arch in release_arches[r]|sort %} + + {% endfor %} + + + + + {% for arch in release_arches[r]|sort %} + + {% endfor %} + + + + + + {% for arch in release_arches[r]|sort %} + + {% endfor %} + + + + + {% for arch in release_arches[r]|sort %} + + {% endfor %} + +
architecture{{arch}}
#packages with tests{{data[r][arch]['numpkgs']}}
#packages with passing tests {% if data[r][arch]['numpkgspass'] %}{{data[r][arch]['numpkgspass']}}{% endif %}
pass rate{% if data[r][arch]['numpkgs'] %} + {{'%.1f' % (data[r][arch]['numpkgspass'] * 100 / data[r][arch]['numpkgs'])}}% + {% endif %}
#passed test runs{{data[r][arch]['passruns']}}
#failed test runs{{data[r][arch]['failruns']}}
+ + {% endfor %} + +{% endblock %} -- cgit v1.2.3