1 {%- extends
"base.html" %}
4 {% import
"bootstrap/utils.html" as utils %}
5 {% from
"bootstrap/pagination.html" import render_pagination %}
7 <div class=
"container">
8 <table class=
"table table-striped">
10 <th scope=
"col">ID
</th>
11 <th scope=
"col">Status
</th>
12 <th scope=
"col">Device
</th>
13 <th scope=
"col">Version
</th>
14 <th scope=
"col">Type
</th>
15 <th scope=
"col">Date
</th>
16 <th scope=
"col">Duration
</th>
17 <th scope=
"col">Runner
</th>
19 {% for build in builds.items %}
20 {% if build.build_status ==
"success" %}
21 {% set color =
"default" %}
22 {% elif build.build_status ==
"pending" %}
23 {% set color =
"info" %}
24 {% elif build.build_status ==
"failed" %}
25 {% set color =
"danger" %}
27 {% set color =
"warning" %}
29 <tr class=
"{{color}}">
30 <th scope=
"row"><a href=
"https://gitlab.com/stricted-build/android_build/pipelines/{{build.build_id}}">{{build.build_id}}
</a></th>
31 <td>{{build.build_status}}
</td>
32 <td>{{build.build_device}}
</td>
33 <td>{{build.build_version}}
</td>
34 <td>{{build.build_type}}
</td>
35 <td>{{build.build_date}}
</td>
36 <td>{% if build.build_duration %}{{(build.build_duration /
60) | round(
2)}} min{% endif %}
</td>
37 <td><a href=
"/runners/{{build.build_runner.runner_name}}">{{build.build_runner.runner_name}}
</a></td>
41 {{render_pagination(builds)}}
43 {% include
"footer.html" %}