26d500fa27e777192f62c82f6969b79906f197c3
[GitLab/stricted-build/lineage_builder.git] / ui / templates / builds.html
1 {%- extends "base.html" %}
2
3
4 {% import "bootstrap/utils.html" as utils %}
5 {% from "bootstrap/pagination.html" import render_pagination %}
6 {% block content %}
7 <div class="container">
8 <table class="table table-striped">
9 <tr>
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>
18 </tr>
19 {% for build in builds.items %}
20 <tr>
21 <th scope="row"><a href="https://gitlab.com/LineageOS/builder/android/pipelines/{{build.build_id}}">{{build.build_id}}</a></td>
22 <td>{{build.build_status}}</td>
23 <td>{{build.build_device}}</td>
24 <td>{{build.build_version}}</td>
25 <td>{{build.build_type}}</td>
26 <td>{{build.build_date}}</td>
27 <td>{% if build.build_duration %}{{build.build_duration / 60}} min{% endif %}</td>
28 <td><a href="/runners/{{build.build_runner.runner_name}}">{{build.build_runner.runner_name}}</a></td>
29 </tr>
30 {% endfor %}
31 </table>
32 {{render_pagination(builds)}}
33 </div>
34 {% endblock %}