25964491dd
- fix commands - import DataTables - initial category view Signed-off-by: Corentin Chary <corentincj@iksaif.net>
22 lines
431 B
HTML
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 %}
|