2011-04-14 19:28:38 +02:00
|
|
|
{% extends "euscan/_datatable.html" %}
|
|
|
|
|
2011-04-25 22:27:32 +02:00
|
|
|
{% load packages %}
|
2011-04-15 00:24:45 +02:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ block.super }} - categories
|
|
|
|
{% endblock %}
|
2011-04-14 19:28:38 +02:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h2>Categories</h2>
|
2011-04-25 22:27:32 +02:00
|
|
|
|
2011-04-15 00:24:45 +02:00
|
|
|
<table id="table" class="display">
|
2011-04-14 19:28:38 +02:00
|
|
|
<thead>
|
|
|
|
<th>Category</th>
|
2011-04-25 22:27:32 +02:00
|
|
|
<th>Gentoo</th>
|
|
|
|
<th>Overlays</th>
|
2011-04-14 19:28:38 +02:00
|
|
|
<th>Unpackaged</th>
|
|
|
|
</thead>
|
2011-04-15 00:24:45 +02:00
|
|
|
<tbody>
|
2011-04-14 19:28:38 +02:00
|
|
|
{% for category in categories %}
|
2011-04-25 22:27:32 +02:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<a href="{% url euscan.views.category category.category %}">{{ category.category }}</a>
|
|
|
|
{% package_bar category %}
|
|
|
|
</td>
|
|
|
|
{% package_cols category %}
|
2011-04-14 19:28:38 +02:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
2011-04-15 00:24:45 +02:00
|
|
|
</tbody>
|
2011-04-14 19:28:38 +02:00
|
|
|
</table>
|
|
|
|
{% endblock %}
|