summaryrefslogtreecommitdiff
path: root/templates/releng/iso_overview.html
blob: 76479c5281808b3084b8249045713ca12edb4d89 (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
37
38
39
40
41
{% extends "base.html" %}
{% load url from future %}

{% 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="{{ iso.get_absolute_url }}">{{ iso.name }}</a>
                </td>
                <td>{{ iso.active|yesno|capfirst }}</td>
                <td>{{ iso.successes }}</td>
                <td>{{ iso.failures }}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
</div>
{% load cdn %}{% jquery %}
<script type="text/javascript" src="{{ STATIC_URL }}jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    $(".results:not(:has(tbody tr.empty))").tablesorter({widgets: ['zebra']});
});
</script>
{% endblock %}