wip: adds downloads page, makes DownloadList a widget or a full page list
This commit is contained in:
18
templates/downloads/index.html.twig
Normal file
18
templates/downloads/index.html.twig
Normal file
@@ -0,0 +1,18 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Downloads — Torsearch{% endblock %}
|
||||
{% block h2 %}Downloads{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="p-4">
|
||||
<twig:Card title="Active Downloads">
|
||||
<twig:DownloadList type="active" :isWidget="false" :perPage="5"></twig:DownloadList>
|
||||
</twig:Card>
|
||||
</div>
|
||||
|
||||
<div class="p-4">
|
||||
<twig:Card title="Recent Downloads">
|
||||
<twig:DownloadList type="complete" :isWidget="false" :perPage="10"></twig:DownloadList>
|
||||
</twig:Card>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user