euscanwww: big commit
- fix commands - import DataTables - initial category view Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
21
euscanwww/templates/euscan/categories.html
Normal file
21
euscanwww/templates/euscan/categories.html
Normal file
@ -0,0 +1,21 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user