X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=yardstick%2Fcommon%2Fhtml_template.py;h=e17c7663708877bacb0efe0fad8f2fc15b1cdb1c;hb=42d163468ec7babb54961fa5fa7ff2eb3a83fb56;hp=4b46e77a0ada7b18b56213e17e584cf597a1f268;hpb=e692c1c8fab6447bc1acfcec612a0867a4c877b5;p=yardstick.git diff --git a/yardstick/common/html_template.py b/yardstick/common/html_template.py index 4b46e77a0..e17c76637 100644 --- a/yardstick/common/html_template.py +++ b/yardstick/common/html_template.py @@ -131,3 +131,63 @@ $(function() { """ + +report_template = """ + + + Yardstick Report + + +
+

Yardstick Report

+
+
+ +
Task ID : {{result.task_id}}
+
Criteria : + {{result.criteria}} +
+
+ + Information + + + + + + + + {% for key, value in result.info.items() %} + + + + + + {% endfor %} + +
#keyvalue
{{ loop.index }}{{key}}{{value}}
+
+ + Test Cases + + + + + + + + {% for key, value in result.testcases.items() %} + + + + + + {% endfor %} + +
#keyvalue
{{ loop.index }}{{key}}{{value.criteria}}
+ +
+
+ +"""