summaryrefslogtreecommitdiff
path: root/templates/browse-package.html
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2023-01-22 20:06:16 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2023-01-22 20:06:16 +0100
commit3452f8a6e8bc54d0ee68256ecc04b5b1edd699d6 (patch)
treee2773b953f8464ef82fda998b74715096e244ad8 /templates/browse-package.html
parentc1e0c1353c5efaccf3ed4628f22589ab6a133100 (diff)
import templates from autopkgtest-cloud
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'templates/browse-package.html')
-rw-r--r--templates/browse-package.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/browse-package.html b/templates/browse-package.html
new file mode 100644
index 0000000..3ac81c3
--- /dev/null
+++ b/templates/browse-package.html
@@ -0,0 +1,20 @@
+{% extends "browse-layout.html" %}
+{% block content %}
+ <h2>{{package}}</h2>
+
+ <table class="table" style='width: auto'>
+ <tr>
+ <th />
+ {% for r in releases %}<th>{{r}}</th> {% endfor %}
+ </tr>
+
+ {% for a in arches %}
+ <tr>
+ <th>{{a}}</th>
+ {% for r in releases %}
+ <td class="{{ results[r][a] }}"><a href="{{package}}/{{r}}/{{a}}">{{ results[r][a] }}</a></td>
+ {% endfor %}
+ </tr>
+ {% endfor %}
+ </table>
+{% endblock %}