add footer, include version
[GitLab/stricted-build/lineage_builder.git] / ui / templates / runner.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 Builds on {{runner.runner_name}}
9 {%- if runner.runner_sponsor and runner.runner_sponsor_url %}
10 (provided by <a href="{{runner.sponsor_url}}">{{runner.runner_sponsor}}</a>)
11 {%- elif runner.runner_sponsor %}
12 (provided by {{runner.runner_sponsor}})
13 {% endif %}
14 <table class="table table-striped">
15 <tr>
16 <th scope="col">ID</th>
17 <th scope="col">Status</th>
18 <th scope="col">Device</th>
19 <th scope="col">Version</th>
20 <th scope="col">Type</th>
21 <th scope="col">Date</th>
22 <th scope="col">Duration</th>
23 </tr>
24 {% for build in builds.items %}
25 <tr>
26 <th scope="row"><a href="https://gitlab.com/LineageOS/builder/android/pipelines/{{build.build_id}}">{{build.build_id}}</a></td>
27 <td>{{build.build_status}}</td>
28 <td>{{build.build_device}}</td>
29 <td>{{build.build_version}}</td>
30 <td>{{build.build_type}}</td>
31 <td>{{build.build_date}}</td>
32 <td>{% if build.build_duration %}{{(build.build_duration / 60) | round(2)}} min{% endif %}</td>
33 </tr>
34 {% endfor %}
35 </table>
36 {{render_pagination(builds)}}
37 </div>
38 {% include "footer.html" %}
39 {% endblock %}