euscan: add basic overlay support
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
@ -31,6 +31,7 @@
|
||||
<li><a href="{% url euscan.views.categories %}">Categories</a></li>
|
||||
<li><a href="{% url euscan.views.herds %}">Herds</a></li>
|
||||
<li><a href="{% url euscan.views.maintainers %}">Maintainers</a></li>
|
||||
<li><a href="{% url euscan.views.overlays %}">Overlays</a></li>
|
||||
<li><a href="{% url euscan.views.world %}">Scan World</a></li>
|
||||
<li><a href="{% url euscan.views.statistics %}">Statistics</a></li>
|
||||
<!--
|
||||
|
12
euscanwww/templates/euscan/overlay.html
Normal file
12
euscanwww/templates/euscan/overlay.html
Normal file
@ -0,0 +1,12 @@
|
||||
{% extends "euscan/_datatable.html" %}
|
||||
|
||||
{% load packages %}
|
||||
|
||||
{% block title %}
|
||||
{{ block.super }} - Overlay: {{ overlay }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Overlay: {{ overlay }}</h2>
|
||||
{% packages packages %}
|
||||
{% endblock %}
|
26
euscanwww/templates/euscan/overlays.html
Normal file
26
euscanwww/templates/euscan/overlays.html
Normal file
@ -0,0 +1,26 @@
|
||||
{% extends "euscan/_datatable.html" %}
|
||||
|
||||
{% load packages %}
|
||||
|
||||
{% block title %}
|
||||
{{ block.super }} - overlays
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Overlays</h2>
|
||||
|
||||
<table id="table" class="display">
|
||||
<thead>
|
||||
<th>Overlay</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for overlay in overlays %}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{% url euscan.views.overlay overlay.version__overlay %}">{{ overlay.version__overlay }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user