Add a /collections endpoint

This commit is contained in:
Mike Colagrosso 2023-02-15 08:00:43 -07:00 committed by Alex Cabal
parent 3a231d7cee
commit e2dd256edc
7 changed files with 60 additions and 7 deletions

View file

@ -0,0 +1,14 @@
<table class="download-list">
<thead>
<tr class="mid-header">
<th scope="col">Collection</th>
</tr>
</thead>
<tbody>
<? foreach($collections as $collection){ ?>
<tr>
<td class="row-header"><a href="<?= $collection->Url ?>"><?= Formatter::ToPlainText($collection->Name) ?></a></td>
</tr>
<? } ?>
</tbody>
</table>