diff options
author | Tom Willemsen <ryuslash@gmail.com> | 2011-08-17 01:26:23 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-17 07:51:42 -0500 |
commit | 7954617a0593632d749d7e8b60beab2aae1669ba (patch) | |
tree | 73f2f77666212d206b724f431babed41b4366fdc /templates | |
parent | e3ac14389448a73d9f9b8286a25930f3978784fb (diff) |
New page ISO Overview
ISO Overview shows a simple list of all the ISOs that are available
and how many times they've been tested successfully or have failed.
Signed-off-by: Tom Willemsen <ryuslash@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/releng/iso_overview.html | 48 | ||||
-rw-r--r-- | templates/releng/results.html | 3 | ||||
-rw-r--r-- | templates/releng/thanks.html | 4 |
3 files changed, 54 insertions, 1 deletions
diff --git a/templates/releng/iso_overview.html b/templates/releng/iso_overview.html new file mode 100644 index 00000000..ee3aaed3 --- /dev/null +++ b/templates/releng/iso_overview.html @@ -0,0 +1,48 @@ +{% extends "base.html" %} + +{% block content %} +<div class="box"> + <h2>Failures and Successes for Testing ISOs</h2> + + <p><a href="{% url releng-test-overview %}">Go back to testing results</a></p> + + <table id="releng-result" class="results"> + <thead> + <tr> + <th>ISO</th> + <th>Currently Available</th> + <th># Successes</th> + <th># Failures</th> + </tr> + </thead> + <tbody> + {% for iso in isos %} + <tr> + <td> + <a href="{% url releng-results-iso iso.pk %}"> + {{ iso.name }} + </a> + </td> + <td> + {{ iso.active|yesno }} + </td> + <td> + {{ iso.successes }} + </td> + <td> + {{ iso.failures }} + </td> + </tr> + {% endfor %} + </tbody> + </table> +</div> +{% load cdn %}{% jquery %} +<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script> +<script type="text/javascript" src="/media/archweb.js"></script> +<script type="text/javascript"> +$(document).ready(function() { + $(".results:not(:has(tbody tr.empty))").tablesorter({widgets: ['zebra']}); +}); +</script> +{% endblock %} diff --git a/templates/releng/results.html b/templates/releng/results.html index c3e7d99a..4ff3c864 100644 --- a/templates/releng/results.html +++ b/templates/releng/results.html @@ -13,6 +13,9 @@ if you have tested and used any ISOs. Both successful and failed results are encouraged and welcome.</p> + <p>For a overview of which ISOs tested best, have a look at + the <a href="{% url releng-iso-overview %}">overview</a>.</p> + <p>For more information, see the <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:releng_testimages_feedback">documentation on the wiki</a>.</p> diff --git a/templates/releng/thanks.html b/templates/releng/thanks.html index b261426d..80018b03 100644 --- a/templates/releng/thanks.html +++ b/templates/releng/thanks.html @@ -8,6 +8,8 @@ <p>Thank you for taking the time to give us this information! Your results have been succesfully added to our database.</p> <p>You can now <a href="{% url releng-test-overview %}">go back to the results</a>, - or <a href="{% url releng-test-submit %}">give more feedback</a>.</p> + <a href="{% url releng-test-submit %}">give more feedback</a>, or + have a look at the <a href="{% url releng-iso-overview %}">look at + the ISO test overview</a>.</p> </div> {% endblock %} |