summaryrefslogtreecommitdiffstats
path: root/templates/packages/differences.html
blob: 3075079809fc707410f135a0e897b1a6fb4e6922 (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
42
43
44
45
46
47
48
49
50
{% extends "base.html" %}
{% load static from staticfiles %}
{% load package_extras %}

{% block title %}Arch Linux - Package Differences Reports{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}

{% block content %}
<div class="box">
    <h2>Multilib Differences to Main Packages</h2>

    <table id="table_multilib_differences" class="results">
        <thead>
            <tr>
                <th>Multilib Name</th>
                <th>Multilib Version</th>
                <th>x86_64 Version</th>
                <th>x86_64 Name</th>
                <th>x864_ Repo</th>
                <th>Multilib Last Updated</th>
                <th>x86_64 Last Updated</th>
            </tr>
        </thead>
        <tbody>
            {% for pkg1, pkg2 in multilib_differences %}
            <tr class="{% cycle 'odd' 'even' %}">
                <td>{% pkg_details_link pkg1 %}</td>
                <td><span{% if pkg1.flag_date %} class="flagged"{% endif %}>{{ pkg1.full_version }}</span></td>
                <td><span{% if pkg2.flag_date %} class="flagged"{% endif %}>{{ pkg2.full_version }}</span></td>
                <td>{% pkg_details_link pkg2 %}</td>
                <td>{{ pkg2.repo }}</td>
                <td>{{ pkg1.last_update|date }}</td>
                <td>{{ pkg2.last_update|date }}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>

</div>
{% endblock %}

{% block script_block %}
{% load cdn %}{% jquery %}{% jquery_tablesorter %}
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
<script type="text/javascript">
$(document).ready(function() {
    $('#table_multilib_differences').tablesorter({widgets: ['zebra'], sortList: [[5, 0]]});
});
</script>
{% endblock %}