summaryrefslogtreecommitdiffstats
path: root/templates/packages/groups.html
blob: a472e7b268d8a610ffd114001403273b8043875e (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
{% extends "base.html" %}
{% block title %}Arch Linux - Package Groups{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}

{% block content %}
<div class="box">
    <h2>Package Groups Overview</h2>
    <table class="results">
        <thead>
            <tr>
                <th>Arch</th>
                <th>Group Name</th>
                <th>Package Count</th>
                <th>Last Updated</th>
            </tr>
        </thead>
        <tbody>
            {% for grp in groups %}
            <tr class="{% cycle 'odd' 'even' %}">
                <td>{{ grp.arch }}</td>
                <td><a href="/groups/{{ grp.arch }}/{{ grp.name }}/"
                        title="Group details for {{ grp.name }}">{{ grp.name }}</a></td>
                <td>{{ grp.count }}</td>
                <td>{{ grp.last_update|date:"Y-m-d" }}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
</div>
{% load cdn %}{% jquery %}
<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0], [0,0]]});
});
</script>
{% endblock %}