euscan-ng/euscanwww/templates/euscan/categories.html
Corentin Chary 25964491dd euscanwww: big commit
- fix commands
- import DataTables
- initial category view

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
2011-04-14 19:28:38 +02:00

22 lines
431 B
HTML

{% extends "euscan/_datatable.html" %}
{% load sub %}
{% block content %}
<h2>Categories</h2>
<table id="table">
<thead>
<th>Category</th>
<th>Ebuilds</th>
<th>Unpackaged</th>
</thead>
{% for category in categories %}
<tr>
<td>{{ category.category }}</td>
<td>{{ category.n_packaged }}</td>
<td>{{ category.n_versions|sub:category.n_packaged }}</td>
</tr>
{% endfor %}
</table>
{% endblock %}