summaryrefslogtreecommitdiff
path: root/templates/browse-results.html
blob: f55501cb8187664b8b1c09e5651ef020a04c886a (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
{% extends "browse-layout.html" %}
{% block content %}
  <h2><a href="{{base_url}}packages/{{package}}">{{package}}</a> <small>[{{release}}/{{arch}}]</small></h2>

  <table class="table">
    <tr>
      <td><b>Version</b></td>
      <td><b>Triggers</b></td>
      <td><b>Date</b></td>
      <td><b>Duration</b></td>
      <td><b>Requester</b></td>
      <td><b>Result</b></td>
      <td></td>
    </tr>

  {% for row in package_results %}
    <tr>
      <td>{{row[0]}}</td>
      <td>{{row[1]}}</td>
      <td>{{row[2]}}</td>
      <td>{{row[3]}}</td>
      <td>{{row[4]}}</td>
      <td class="{{row[5]}}">{{row[5]}}</td>
      <td class="nowrap">
        <a href="{{row[6]}}/log.gz">log</a> &emsp;
        <a href="{{row[6]}}/artifacts.tar.gz">artifacts</a> &emsp;
        {% if row[7] %}
          {% set ts = row[1].split()|map('urlencode')|join("&trigger=")|safe %}
          <a href="{{base_url}}request.cgi?release={{release}}&arch={{arch}}&package={{package|urlencode}}&trigger={{ts}}&ppa={{ppa|urlencode}}">&#9851;</a>
        {% endif %}
      </td>
    </tr>
  {% endfor %}

  </table>
{% endblock %}