summaryrefslogtreecommitdiff
path: root/plans/templates/_test_details.html
diff options
context:
space:
mode:
Diffstat (limited to 'plans/templates/_test_details.html')
-rw-r--r--plans/templates/_test_details.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/plans/templates/_test_details.html b/plans/templates/_test_details.html
new file mode 100644
index 0000000..ed7d41d
--- /dev/null
+++ b/plans/templates/_test_details.html
@@ -0,0 +1,22 @@
+<table class="table table-striped">
+ {% if 'filename' in test and test.filename != "" %}
+ <h4><a href="{{ test.filename }}">details</a></h4>
+ {% endif %}
+ <tbody>
+ {% for key,value in test.items() %}
+ {% if key != 'missing' and key != 'filename' %}
+ <tr>
+ <td>{{ key }}</td>
+ <td>
+ {% if value is mapping %}
+ {% for subkey,subvalue in value.items() %}
+ <strong>{{ subkey }}</strong>: {{ subvalue }}<br/>
+ {% endfor %}
+ {% else %}
+ {{ value }}
+ {% endif %}
+ </tr>
+ {% endif %}
+ {% endfor %}
+ </tbody>
+</table>