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