summaryrefslogtreecommitdiff
path: root/templates/browse-results.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/browse-results.html')
-rw-r--r--templates/browse-results.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/templates/browse-results.html b/templates/browse-results.html
new file mode 100644
index 0000000..7fc194a
--- /dev/null
+++ b/templates/browse-results.html
@@ -0,0 +1,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}}">&#9851;</a>
+ {% endif %}
+ </td>
+ </tr>
+ {% endfor %}
+
+ </table>
+{% endblock %}