blob: 5dafe3f8b28b1d13e4e78f30a50099bc6a39fb54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{% extends "base.html.j2" %}
{% block title %}Summary{% endblock %}
{% block content %}
{{ summary('Results', "", [
{ 'title': 'Pythonsdk Tests', 'failing': (failing_steps | length), 'total': (steps | length)},
])
}}
<section class="section">
<div class="container">
<h1 class="title is-1">
{{ usecase }}
</h1>
Description: {{ details }}
<br>
Components: {{ components }}
<br>
<a href="{{ log_path }}"> Logs</a>
<!-- Pythonsdk steps table -->
<div id="helms" class="table-container">
<table class="table is-fullwidth is-striped is-hoverable">
<thead>
<tr>
<th>Name</th>
<th>Status</th>
</tr>
</thead>
<tbody>
{% for step,value in steps.items() %}
<tr {% if value == 'FAIL' %} class="has-background-danger" {% else %} class="has-background-success-light" {% endif %}>
<td>
{{ step }}
</td>
<td>
{{ value }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endblock %}
|