2011-04-15 19:28:37 +02:00
|
|
|
{% extends "euscan/_datatable.html" %}
|
|
|
|
|
2011-04-25 22:27:32 +02:00
|
|
|
{% load packages %}
|
2011-04-15 19:28:37 +02:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ block.super }} - herds
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h2>Herds</h2>
|
|
|
|
<table id="table" class="display">
|
|
|
|
<thead>
|
|
|
|
<th>Herd</th>
|
2011-04-25 22:27:32 +02:00
|
|
|
<th>Gentoo</th>
|
|
|
|
<th>Overlays</th>
|
2011-04-15 19:28:37 +02:00
|
|
|
<th>Unpackaged</th>
|
2012-03-02 18:01:46 +01:00
|
|
|
<th>Freshness</th>
|
2012-02-14 14:53:33 +01:00
|
|
|
{% if request.GET.extras %}
|
|
|
|
<th>Graphs</th>
|
|
|
|
{% endif %}
|
2011-04-15 19:28:37 +02:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for herd in herds %}
|
2011-04-25 22:27:32 +02:00
|
|
|
<tr>
|
2011-04-15 19:28:37 +02:00
|
|
|
<td>
|
|
|
|
<a href="{% url euscan.views.herd herd.herds__herd %}">
|
|
|
|
{{ herd.herds__herd }}
|
|
|
|
</a>
|
2011-04-25 22:27:32 +02:00
|
|
|
{% package_bar herd %}
|
2011-04-15 19:28:37 +02:00
|
|
|
</td>
|
2011-04-25 22:27:32 +02:00
|
|
|
{% package_cols herd %}
|
2012-02-14 14:53:33 +01:00
|
|
|
{% if request.GET.extras %}
|
|
|
|
<td>
|
|
|
|
<img src="{% url euscan.views.chart_herd herd.herds__herd 'packages-monthly-small' %}" />
|
|
|
|
<img src="{% url euscan.views.chart_herd herd.herds__herd 'versions-monthly-small' %}" />
|
|
|
|
</td>
|
|
|
|
{% endif %}
|
2011-04-15 19:28:37 +02:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|